RE: Masquerading

2000-11-24 Thread Daniel POGAC

You must add your domain name to file "defaulthost" and must be placed in
"/var/qmail/control" directory.

I hope that this help you...


Daniel POGA
Tech. Support
TatraSoft Group s.r.o
Sibrska 4
83102 Bratislava
tel: +421-7-55574033
fax: +421-7-55566385
[EMAIL PROTECTED]

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 23, 2000 12:26 PM
To: [EMAIL PROTECTED]
Subject: Masquerading

Hello,
 I have a question about how to send all outgoing users email as
username@abc.com, regardless of what they enter into their email client. I
have entered abc.com in ~control/defaultdomain and ~control/defaulthost. It
doesn't seem to rewrite the smtp headers, however.

 After this is accomplished, the requirement is that I implement a server
based method of allowing certain people to send mail with whatever address
they
want and it's not changed.

 This is the only obstacle in the way of a mass migration to qmail, and I
would
appreciate all replies.

Please reply to the list and via personal email.

Thank You,
Mike




something strange ...

2000-11-24 Thread Visar Emini

Hi ... I use qmail  vpopmail and I was trying to setup a dot-qmail to
forward emails to another account , at the same time retain a copy of
message on maildir, but  I did not succeed. Here is the content of my .qmail
file.
__
[EMAIL PROTECTED]
/var/vpopmail/domains/ipko.org/test/   -  "(I've tried to add ./Maildir/ as
well)"


When I send mail to [EMAIL PROTECTED] , I get an error reply from MAILER-DAEMON
that "[EMAIL PROTECTED]" is not listed in
control/locals ... bla bla bla ...
As you see the second line in my .qmail containing my path to Maildir is
treated as E-mail address and not as a local path. I have read the "man
dot-qmail" manual , and tried everything , but the problem remains the same.

If anybody can help me on that , I would appreciate it.
Thanks in advance,

Visar





RE: Masquerading

2000-11-24 Thread Mike Jackson

On Fri, 24 Nov 2000, you wrote:
 You must add your domain name to file "defaulthost" and must be placed in
 "/var/qmail/control" directory.


 Hello,
  I have a question about how to send all outgoing users email as
 username@abc.com, regardless of what they enter into their email client. I
 have entered abc.com in ~control/defaultdomain and ~control/defaulthost. It
 doesn't seem to rewrite the smtp headers, however.

Daniel,
 You just told me to do what I told that I had already done. So, no, it didn't
help me. The question isn't so much how to rewrite the outgoing headers, as it
is how to rewrite outgoing headers with the exception of one or two people. The
solution must be server based, also.

Mike 



Re: SMTP and PoP 3 problems

2000-11-24 Thread Michael Maier

Andrew Buenaventura wrote:

 My problems are:

 1. Why is it that when I telnet to the SMTP port, I get a connection closed
 by foreign host error message?

There can be several Reasons.
1) check /etc/hosts.deny
2) check /etc/inetd.conf
3) there is something going wrong with your smtp daemon and it died
It could be no Firewall Problem because that would block completely...

 2. When I telnet to port 110, only my account (not root) is able to retrieve
 mails.  The others are able to logon but unable to retrieve their mails.
 Also, all accounts I created after putting the Maildir to /etc/skel gets an
 -ERR authorization failed error message.

in qmail root is not able to check mail for security reasons!
solve:
# echo youraccountname  /var/qmail/alias/.qmail-root
there is the same with .qmail-postmaster and .qmail-mailer-daemon

for me eg. works:
# echo mmaier  /var/qmail/alias/.qmail-root
# echo mmaier  /var/qmail/alias/.qmail-postmaster
# ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon

 I removed sendmail before installing the qmail RPMs.

Good! =)
--^..^--
  michael maier  -  system  development administrator
  flatfox ag, hanauer landstrasse 196a
  d-60314 frankfurt am main
  fon+49.(0)69.50 95 98-308
  fax+49.(0)69.50 95 98-101
  email  [EMAIL PROTECTED]
  urlhttp://www.flatfox.com -  m a k e  m y  d a y






Something strange with dot-qmail !

2000-11-24 Thread Visar Emini

Hi ... I use qmail  vpopmail and I was trying to setup a dot-qmail to
forward emails to another account , at the same time retain a copy of
message on maildir, but  I did not succeed. Here is the content of my .qmail
file.
__
[EMAIL PROTECTED]
/var/vpopmail/domains/ipko.org/test/   -  "(I've tried to add ./Maildir/ as
well)"


When I send mail to [EMAIL PROTECTED] , I get an error reply from MAILER-DAEMON
that "[EMAIL PROTECTED]" is not listed in
control/locals ... bla bla bla ...
As you see the second line in my .qmail containing my path to Maildir is
treated as E-mail address and not as a local path. I have read the "man
dot-qmail" manual , and tried everything , but the problem remains the same.

If anybody can help me on that , I would appreciate it.
Thanks in advance,

Visar




qmail Digest 24 Nov 2000 11:00:01 -0000 Issue 1193

2000-11-24 Thread qmail-digest-help


qmail Digest 24 Nov 2000 11:00:01 - Issue 1193

Topics (messages 52749 through 52790):

No mail in "SENT" dir in Qmail IMAP Maildir
52749 by: Dennis

Masquerading
52750 by: Mike Jackson
52753 by: pape.innominate.com
52782 by: Daniel POGAC
52784 by: Mike Jackson
52789 by: Daniel POGAC

Re: secrets and lies
52751 by: Felix von Leitner
52768 by: Greg Hudson
52769 by: David Dyer-Bennet

Re: Starting qmail: problem with svscan]
52752 by: Joao Costa

Re: Help! Emergency
52754 by: Panagiotis Kotsiopoulos

Information
52755 by: Cleiton Luiz Siqueira
52761 by: Gustavo Vieira Goncalves Coelho Rios

Server side filtering in virtual user environment
52756 by: Mike Jackson

Re: mail.info file size
52757 by: Jose AP Celestino

Re: SMTP
52758 by: Jose AP Celestino

Re: some strange logs.
52759 by: Michael T. Babcock

Re: Help Emergency!
52760 by: James Moore

Re: Postgres
52762 by: Daniel Augusto Fernandes

Uh-oh, your RBL block is not working!
52763 by: Ould
52774 by: Robin S. Socha

smtp is on vacation
52764 by: Mitch Pirtle
52765 by: Charles Cazabon
52766 by: Sean Truman

POP Mail
52767 by: Isianto Istiadi
52770 by: Michael Maier

Re: Announce: Automatic mail archiving
52771 by: Sean Reifschneider
52772 by: Peter Green

Re: Starting qmail: problem with svscan
52773 by: Robin S. Socha

Re: Sqwebmail password problems
52775 by: Robin S. Socha

Re: Proper way to start qmail-pop3d
52776 by: Robin S. Socha

Some dope is harvesting addresses from message IDs
52777 by: Chris Johnson

PLEASE HELPS !!
52778 by: Ould

unsubscried
52779 by: boris

qmail unsubscried
52780 by: boris

SMTP and PoP 3 problems
52781 by: Andrew Buenaventura
52785 by: Michael Maier
52787 by: Andrew Buenaventura
52788 by: Michael Maier

something strange ...
52783 by: Visar Emini

Something strange with dot-qmail !
52786 by: Visar Emini

Last message!
52790 by: Fernando Barreto

Administrivia:

To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]

To subscribe to the digest, e-mail:
[EMAIL PROTECTED]

To bug my human owner, e-mail:
[EMAIL PROTECTED]

To post to the list, e-mail:
[EMAIL PROTECTED]


--



Hi all...

Anyonbe have any idea why a copy of the sent email is not placed in the SENT
mail folder with QMail and Courier-imap ??

Dennis





Hello,
 I have a question about how to send all outgoing users email as
username@abc.com, regardless of what they enter into their email client. I
have entered abc.com in ~control/defaultdomain and ~control/defaulthost. It
doesn't seem to rewrite the smtp headers, however. 

 After this is accomplished, the requirement is that I implement a server
based method of allowing certain people to send mail with whatever address they
want and it's not changed.

 This is the only obstacle in the way of a mass migration to qmail, and I would
appreciate all replies.

Please reply to the list and via personal email.

Thank You,
Mike




On Thu, Nov 23, 2000 at 02:26:18PM +0200, Mike Jackson wrote:
 Hello,
  I have a question about how to send all outgoing users email as
 username@abc.com, regardless of what they enter into their email client. I

Take a look at http://cr.yp.to/mess822.html - ofmipd

Gerrit.

-- 
[EMAIL PROTECTED]
innominate AG
 the linux architects
tel: +49.30.308806-0  fax: -77  http://www.innominate.com




You must add your domain name to file "defaulthost" and must be placed in
"/var/qmail/control" directory.

I hope that this help you...


Daniel POGA
Tech. Support
TatraSoft Group s.r.o
Sibrska 4
83102 Bratislava
tel: +421-7-55574033
fax: +421-7-55566385
[EMAIL PROTECTED]

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 23, 2000 12:26 PM
To: [EMAIL PROTECTED]
Subject: Masquerading

Hello,
 I have a question about how to send all outgoing users email as
username@abc.com, regardless of what they enter into their email client. I
have entered abc.com in ~control/defaultdomain and ~control/defaulthost. It
doesn't seem to rewrite the smtp headers, however.

 After this is accomplished, the requirement is that I implement a server
based method of allowing certain people to send mail with whatever address
they
want and it's not changed.

 This is the only obstacle in the way of a mass migration to qmail, and I
would
appreciate all replies.

Please reply to the list and via personal email.

Thank You,
Mike





On Fri, 24 Nov 2000, you wrote:
 You must add your domain name to file "defaulthost" and must be 

RE: SMTP and PoP 3 problems

2000-11-24 Thread Andrew Buenaventura

re SMTP, this happens even if I am telneting from the linux box's loopback
address (127.0.0.1)

re pop my problem is not the aliasing.  my problem is that all the other
users can't access their mail.  i think qmail divided my users 3 different
groups:

1. all users created when sendmail is still installed are able to retrieve
their mails using qmail
2. users created after sendmail was removed can logon but can't see their
messages (i.e. i sent them a test message but nothing is reflected in their
Maildir)
3. users created after i put Maildir under /etc/skel gets an authorization
failure error message when they log on to the pop server

-Original Message-
From: Michael Maier [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 24, 2000 4:55 PM
To: Andrew Buenaventura
Cc: [EMAIL PROTECTED]
Subject: Re: SMTP and PoP 3 problems


Andrew Buenaventura wrote:

 My problems are:

 1. Why is it that when I telnet to the SMTP port, I get a connection
closed
 by foreign host error message?

There can be several Reasons.
1) check /etc/hosts.deny
2) check /etc/inetd.conf
3) there is something going wrong with your smtp daemon and it died
It could be no Firewall Problem because that would block completely...

 2. When I telnet to port 110, only my account (not root) is able to
retrieve
 mails.  The others are able to logon but unable to retrieve their mails.
 Also, all accounts I created after putting the Maildir to /etc/skel gets
an
 -ERR authorization failed error message.

in qmail root is not able to check mail for security reasons!
solve:
# echo youraccountname  /var/qmail/alias/.qmail-root
there is the same with .qmail-postmaster and .qmail-mailer-daemon

for me eg. works:
# echo mmaier  /var/qmail/alias/.qmail-root
# echo mmaier  /var/qmail/alias/.qmail-postmaster
# ln -s .qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon

 I removed sendmail before installing the qmail RPMs.

Good! =)
--^..^--
  michael maier  -  system  development administrator
  flatfox ag, hanauer landstrasse 196a
  d-60314 frankfurt am main
  fon+49.(0)69.50 95 98-308
  fax+49.(0)69.50 95 98-101
  email  [EMAIL PROTECTED]
  urlhttp://www.flatfox.com -  m a k e  m y  d a y





Re: SMTP and PoP 3 problems

2000-11-24 Thread Michael Maier

Andrew Buenaventura wrote:

 re SMTP, this happens even if I am telneting from the linux box's loopback
 address (127.0.0.1)

 re pop my problem is not the aliasing.  my problem is that all the other
 users can't access their mail.  i think qmail divided my users 3 different
 groups:

 1. all users created when sendmail is still installed are able to retrieve
 their mails using qmail
 2. users created after sendmail was removed can logon but can't see their
 messages (i.e. i sent them a test message but nothing is reflected in their
 Maildir)
 3. users created after i put Maildir under /etc/skel gets an authorization
 failure error message when they log on to the pop server

Got the same Problem because sendmail used /var/spool/mail/username
What I did was running qmail with Mailbox Format and then doing a symlink...
from /home/username/Mailbox to /var/spool/mail/username
for eg.
# ln -s /home/mmaier/Mailbox /var/spool/mail/mmaier
It's not the best Solution but worked for me very good with System Accounts.
--^..^--
  michael maier  -  system  development administrator
  flatfox ag, hanauer landstrasse 196a
  d-60314 frankfurt am main
  fon+49.(0)69.50 95 98-308
  fax+49.(0)69.50 95 98-101
  email  [EMAIL PROTECTED]
  urlhttp://www.flatfox.com -  m a k e  m y  d a y






RE: Masquerading

2000-11-24 Thread Daniel POGAC

I'm sorry... Now i now what you need. The reason of you problem is in FAQ in
instal package of QMAIL section 1.1
I think that this is what you need...


Daniel POGA
Tech. Support
TatraSoft Group s.r.o
Sibrska 4
83102 Bratislava
tel: +421-7-55574033
fax: +421-7-55566385
[EMAIL PROTECTED]

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 24, 2000 8:55 AM
To: Daniel POGAC
Cc: [EMAIL PROTECTED]
Subject: RE: Masquerading

On Fri, 24 Nov 2000, you wrote:
 You must add your domain name to file "defaulthost" and must be placed in
 "/var/qmail/control" directory.


 Hello,
  I have a question about how to send all outgoing users email as
 username@abc.com, regardless of what they enter into their email
client. I
 have entered abc.com in ~control/defaultdomain and ~control/defaulthost.
It
 doesn't seem to rewrite the smtp headers, however.

Daniel,
 You just told me to do what I told that I had already done. So, no, it
didn't
help me. The question isn't so much how to rewrite the outgoing headers, as
it
is how to rewrite outgoing headers with the exception of one or two people.
The
solution must be server based, also.

Mike




Last message!

2000-11-24 Thread Fernando Barreto

Hi...
I don't write english very well so, I'm sorry about any
mistakes...

THIS IS MY LAST MESSAGE TO LIST, NOBODY ANSWERS... I can't use the
qmail... i had already installed the qmail in Linux and I did'nt have any
problems, but in AIX I don't know what happens below...
 
I'm having a problem here to compile de qmail on Aix 4.3... when I
 did "make setup check", it generate this error after do some compilation:

 
 ./compile dns.c
dns.c:11: parse error before `int'
make: 1254-004 The error code from the last command is 1.
 
 
Stop.
 
 
This line is a "extern int h_errno;" 
What's the problem?? Anybody knowns?

I have already created the users like in INSTALL.ids...
 
Please... somebody can help me
Bye...




Re: Problems starting qmail

2000-11-24 Thread Phil_Hedley

Dave,

The platform is Redhat 6.2
Something I was not sure of during the install procedures was the tesing of
svscan at http://cr.yp.to/daemontools/install.html.
This instructed me to setup a /service directory and add  the the end of
etc/inittab the following:-
SV:123456:respawn:env - PATH=/usr/local/bin:/usr/sbin:/usr/bin:/bin svscan
/service /dev/null /dev/console 2/dev/console

Is this actually required by qmail ?

Output of ls -lR /var/qmail/supervise

   /var/qmail/supervise:
   total 8
   drwxr-xr-t4 root root 4096 Nov 22 13:23 qmail-send
   drwxr-xr-t4 root root 4096 Nov 22 13:23 qmail-smtpd

   /var/qmail/supervise/qmail-send:
   total 12
   drwxr-xr-x3 root root 4096 Nov 22 13:23 log
   -rwxr-xr-x1 root root   28 Nov 22 12:38 run
   drwx--2 root root 4096 Nov 24 10:40 supervise

   /var/qmail/supervise/qmail-send/log:
   total 8
   -rwxr-xr-x1 root root   88 Nov 22 12:40 run
   drwx--2 root root 4096 Nov 24 10:40 supervise

   /var/qmail/supervise/qmail-send/log/supervise:
   total 4
   prw---1 root root0 Nov 24 09:55 control
   -rw---1 root root0 Nov 22 13:23 lock
   prw---1 root root0 Nov 22 13:23 ok
   -rw-r--r--1 root root   18 Nov 24 10:40 status

   /var/qmail/supervise/qmail-send/supervise:
   total 4
   prw---1 root root0 Nov 24 09:55 control
   -rw---1 root root0 Nov 22 13:23 lock
   prw---1 root root0 Nov 22 13:23 ok
   -rw-r--r--1 root root   18 Nov 24 10:40 status

   /var/qmail/supervise/qmail-smtpd:
   total 12
   drwxr-xr-x3 root root 4096 Nov 22 13:23 log
   -rwxr-xr-x1 hedleyp  hedleyp   313 Nov 22 12:45 run
   drwx--2 root root 4096 Nov 24 10:41 supervise

   /var/qmail/supervise/qmail-smtpd/log:
   total 8
   -rwxr-xr-x1 root root   94 Nov 22 12:51 run
   drwx--2 root root 4096 Nov 24 10:40 supervise

   /var/qmail/supervise/qmail-smtpd/log/supervise:
   total 4
   prw---1 root root0 Nov 24 09:55 control
   -rw---1 root root0 Nov 22 13:23 lock
   prw---1 root root0 Nov 22 13:23 ok
   -rw-r--r--1 root root   18 Nov 24 10:40 status

   /var/qmail/supervise/qmail-smtpd/supervise:
   total 4
   prw---1 root root0 Nov 24 09:55 control
   -rw---1 root root0 Nov 22 13:23 lock
   prw---1 root root0 Nov 22 13:23 ok
   -rw-r--r--1 root root   18 Nov 24 10:41 status




Dave Sill [EMAIL PROTECTED] on 22/11/2000 18:24:21

To:   [EMAIL PROTECTED]
cc:(bcc: Phil Hedley/Cal/Mitel)

Subject:  Re: Problems starting qmail



[EMAIL PROTECTED] wrote:

I've just re-installed qmail following the procedures in 'Life with qmail'.
When I use the command /usr/local/sbin/qmail start I get :-

Starting qmail: svscan.
:No such file or directory
:No such file or directory
:No such file or directory
:No such file or directory
...recursively

What platform is this?

What is the output of this:

  ls -lR /var/qmail/supervise

Do I need to use maildirmake for each user ? or is this done
automatically if a mail is recieved for a valid username ?

You need to do the maildirmake for each existing user *as that
user*. For new users, you might be able to do a maildirmake in the
skeleton (template) directory used by your system's adduser/useradd
utility, q.v.

-Dave








Re: Last message!

2000-11-24 Thread roger

On Fri, Nov 24, 2000 at 08:54:58AM -0300, Fernando Barreto wrote:
   Hi...
 I don't write english very well so, I'm sorry about any
 mistakes...
   
   THIS IS MY LAST MESSAGE TO LIST, NOBODY ANSWERS... I can't use the
 qmail... i had already installed the qmail in Linux and I did'nt have any
 problems, but in AIX I don't know what happens below...
  
 I'm having a problem here to compile de qmail on Aix 4.3... when I
  did "make setup check", it generate this error after do some compilation:
 
  
  ./compile dns.c
 dns.c:11: parse error before `int'
 make: 1254-004 The error code from the last command is 1.
  
  
 Stop.

It appears that the C compiler on AIX is broken (shock).  Try using gcc.



Re: Last message!

2000-11-24 Thread Uwe Ohse

On Fri, Nov 24, 2000 at 08:54:58AM -0300, Fernando Barreto wrote:
  ./compile dns.c
 dns.c:11: parse error before `int'
 make: 1254-004 The error code from the last command is 1.
  
delete that line or fix your systems include libraries.

Regards, Uwe



QMAIL Newbie: Simple Question

2000-11-24 Thread Jeff Wood



I did check the FAQ before sending 
this

The setup I am administrator of is using QMAIL 1.03 
 vpopmail. There are a number of domains and the mail is broken up 
for users under the domains.

I need to forward a copy of ALL inbound messages 
for one domain to a specific address [EMAIL PROTECTED]. I suspect that I shouldn't 
make this specific address part of the domain I want to copy because that would 
probably put me off in an endless loop.

I suspect that I need to add a .qmail file into the 
home directory for the domain, and that should get parsed for each user ( 
Correct? ). 

Anyone that could help me, I'd really appreciate 
it.



Re: Last message!

2000-11-24 Thread Fernando Barreto


On Fri, 24 Nov 2000 [EMAIL PROTECTED] wrote:

 On Fri, Nov 24, 2000 at 08:54:58AM -0300, Fernando Barreto wrote:
  Hi...
  I don't write english very well so, I'm sorry about any
  mistakes...
  
  THIS IS MY LAST MESSAGE TO LIST, NOBODY ANSWERS... I can't use the
  qmail... i had already installed the qmail in Linux and I did'nt have any
  problems, but in AIX I don't know what happens below...
   
  I'm having a problem here to compile de qmail on Aix 4.3... when I
   did "make setup check", it generate this error after do some compilation:
  
   
   ./compile dns.c
  dns.c:11: parse error before `int'
  make: 1254-004 The error code from the last command is 1.
   
   
  Stop.
 
 It appears that the C compiler on AIX is broken (shock).  Try using gcc.
 


I already had installed the freeware.gnu-gcc of the frec-bull...






tinydns configuration

2000-11-24 Thread gmo

Hello,

i've follows problem, i use a tinydns and dnscache on the same machine,
guess my domain is "power.de" and the ip address range 192.168.100.0
255.255.255.0.
So, this works fine, now i want use more hosts with other ip addresses,
193.214.4.4 and 198.65.44.3 under the same domain name "power.de"

in the data file are follows:
.power.de:192.168.100.1:a:259200
.100.168.192.in-addr.arpa:192.168.100.1:a:259200
# this works fine
=host1.power.de:192.168.100.2:86400
# doesn't work
=host2.power.de:193.214.4.4:86400

dnsq A host1.power.de 127.0.0.1
1 host1.power.de:
86 bytes, 1+1+1+1 records, response, authoritative, noerror
query: 1 host1.power.de
answer: host1.power.de 86400 A 192.168.100.2
authority: power.de 259200 NS a.ns.power.de
additional: a.ns.power.de 259200 A 192.168.100.1

dnsq A host2.power.de 127.0.0.1
1 host2.power.de:
90 bytes, 1+0+1+0 records, response, authoritative, nxdomain
query: 1 host2.power.de
authority: power.de 2560 SOA a.ns.power.de hostmaster.power.de 975060536
16384 2048 1048576 2560

What kind of entry are missing?

Thank for the help

best regards
gmo

-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: tinydns configuration

2000-11-24 Thread gmo

Anyway: here is the qmail list - tinydns questions should go to the djbdns

mailinglist [EMAIL PROTECTED]

Regards, Frank 

sorry, but there isn't a mailinglist [EMAIL PROTECTED]

ezmlm-reject: fatal: I need a nonempty Subject line in every message.
If you are trying to subscribe or unsubscribe, WRONG ADDRESS!
Do not send administrative requests to the mailing list.
Send an empty message to ...-help@... for automated assistance.



-- 
Sent through GMX FreeMail - http://www.gmx.net




Re: tinydns configuration

2000-11-24 Thread Daniel Augusto Fernandes

[EMAIL PROTECTED] wrote:
 
 Anyway: here is the qmail list - tinydns questions should go to the djbdns
 
 mailinglist [EMAIL PROTECTED]
 
 Regards, Frank
 
 sorry, but there isn't a mailinglist [EMAIL PROTECTED]
 
 ezmlm-reject: fatal: I need a nonempty Subject line in every message.
 If you are trying to subscribe or unsubscribe, WRONG ADDRESS!
 Do not send administrative requests to the mailing list.
 Send an empty message to ...-help@... for automated assistance.
 

Well, you should read all the message!

You have to subscribe the list first to send messages to it.

http://cr.yp.to/lists.html#dns


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Logs encheram o disco

2000-11-24 Thread Rodrigo



Eu estou tendo problemas com os logs, quando fui 
mandar mensagens do qmail para os usuarios, o disco ficou cheio, apaguei alguns 
logs e executei o queuefix, mas acho que nao ficou muito bom, o que aconteceu.. 
como faço pra resolver...
Eu estou entrando no mundo linux agora, espero sua 
compreensão e se possível sua ajuda.

Obrigado

rmiranda


Re: Logs encheram o disco

2000-11-24 Thread Gustavo Vieira Goncalves Coelho Rios

 Rodrigo wrote:
 
 Eu estou tendo problemas com os logs, quando fui mandar mensagens do
 qmail para os usuarios, o disco ficou cheio, apaguei alguns logs e
 executei o queuefix, mas acho que nao ficou muito bom, o que
 aconteceu.. como faço pra resolver...
 Eu estou entrando no mundo linux agora, espero sua compreensão e se
 possível sua ajuda.
 
 Obrigado
 
 rmiranda

Hi rodrigo, I suppose you should post in english only, better yest: u
can post in any language but chances are you won't get much help if u
don't do it in english!



Many local messages being generated ??

2000-11-24 Thread Lou Hevly

I'm running qmail v. 1.03 and vpopmail 4.96 on Linux RedHat 6.2. All domains are 
virtually subhosted. Everything is working fine. My init script is:

csh -cf '/var/qmail/rc '

/usr/local/bin/tcpserver -H -R -x /etc/tcp.smtp.cdb -u 506 -g 505 0 smtp 
/var/qmail/bin/qmail-smtpd 
/usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup mail.inloc.com 
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


The problem is I'm getting hundreds of local messages in my qmail maillog, repeated 
about 500-600 times a day. They are mostly like the following:

Nov 23 14:14:53 inloc qmail: 975006893.795559 starting delivery 5791: msg 50247 to 
local [EMAIL PROTECTED]
Nov 23 14:14:53 inloc qmail: 975006893.795692 status: local 1/10 remote 0/20
Nov 23 14:14:53 inloc qmail: 975006893.813645 delivery 5791: deferral: 
POP_user_does_not_exist,[EMAIL PROTECTED]/Can't_create_tempfile_(#4.3.8)/
Nov 23 14:14:53 inloc qmail: 975006893.813782 status: local 0/10 remote 0/20

The /home/vpopmail/inloc.com/.qmail-default file points to [EMAIL PROTECTED] and works 
correctly.

This also happens, though less often, for other virtual domains.

There is nothing in the crontab or cron log concerning this. 

Any ideas would be most welcome.

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com



Re: Last message!

2000-11-24 Thread Peter Green

* Fernando Barreto [EMAIL PROTECTED] [001124 07:09]:
 On Fri, 24 Nov 2000 [EMAIL PROTECTED] wrote:
./compile dns.c
   dns.c:11: parse error before `int'
   make: 1254-004 The error code from the last command is 1.

   Stop.
  It appears that the C compiler on AIX is broken (shock).  Try using gcc.
 I already had installed the freeware.gnu-gcc of the frec-bull...

Is that the compiler that qmail is trying to use? Check the file ``conf-cc''
in the qmail build directory to see what it has found.

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
 In Perl How do I print the 22343.87 like this $22,232.87
First you subtract 111 from the number you'd like to print, then you
check perlfaq5 for "commify".




Re: Last message!

2000-11-24 Thread Fernando Barreto


   It appears that the C compiler on AIX is broken (shock).  Try using gcc.
  I already had installed the freeware.gnu-gcc of the frec-bull...
 
 Is that the compiler that qmail is trying to use? Check the file ``conf-cc''
 in the qmail build directory to see what it has found.
 

Yeah.. I had already check it before compile... it's gcc in that
archive...
I remove that line in dns.c and then it compile without any
problem...
I had already installed the qmail and ucspi-tcp-0.88...

I'M HAVING PROBLEM NOW with daemontools-0.70, it generate this
error now:

./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a
cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: 1254-004 The error code from the last command is 1.


I checked the include file sys/time.h and I didn't the structure
that tai64nlocal.c calls. 
What can I do now




Re: Logs encheram o disco

2000-11-24 Thread Daniel Augusto Fernandes

Gustavo Vieira Goncalves Coelho Rios wrote:
 
  Rodrigo wrote:
 
  Eu estou tendo problemas com os logs, quando fui mandar mensagens do
  qmail para os usuarios, o disco ficou cheio, apaguei alguns logs e
  executei o queuefix, mas acho que nao ficou muito bom, o que
  aconteceu.. como faço pra resolver...
  Eu estou entrando no mundo linux agora, espero sua compreensão e se
  possível sua ajuda.
 
  Obrigado
 
  rmiranda
 
 Hi rodrigo, I suppose you should post in english only, better yest: u
 can post in any language but chances are you won't get much help if u
 don't do it in english!

I agree with Gustavo.
Anyway, you'll surely need free space to receive your users' messages.
What does your logs say? (tm) when you start qmail now? What kind of
error are you getting?


Daniel Augusto Fernandes (DAF tm)   [EMAIL PROTECTED]
GCSNethttp://www.gcsnet.com.br/

 Se você não encontra
 o sentido das coisas
 é porque este não
 se encontra, se cria.
   Antoine Saint-Exupéry



Re: Problems starting qmail

2000-11-24 Thread Phil_Hedley



From:  Phil Hedley@MITEL on 11/24/2000 04:42 PM GMT
Just found that qmail seems to run OK when  /etc/rc.d/init.d/qmail is executed
after reboot.
However I still get the same erorr when I use /usr/local/sbin/qmail from the
command line.
I'm just carrying on for the moment to get qmail-pop3d working.

Thanks,
Phil Hedley




Dave Sill [EMAIL PROTECTED] on 22/11/2000 18:24:21

To:   [EMAIL PROTECTED]
cc:(bcc: Phil Hedley/Cal/Mitel)

Subject:  Re: Problems starting qmail



[EMAIL PROTECTED] wrote:

I've just re-installed qmail following the procedures in 'Life with qmail'.
When I use the command /usr/local/sbin/qmail start I get :-

Starting qmail: svscan.
:No such file or directory
:No such file or directory
:No such file or directory
:No such file or directory
...recursively

What platform is this?

What is the output of this:

  ls -lR /var/qmail/supervise

Do I need to use maildirmake for each user ? or is this done
automatically if a mail is recieved for a valid username ?

You need to do the maildirmake for each existing user *as that
user*. For new users, you might be able to do a maildirmake in the
skeleton (template) directory used by your system's adduser/useradd
utility, q.v.

-Dave







slow POP3 response

2000-11-24 Thread Wisnu Wijayanta

I'm a newbie, and maintaining single qmail server, supports 3000 user with
10 email domain. Authentication handled by vpopmail.

Machine is AlphaServer-DS20E, memory 1 GB, Digital Unix 4.0F patched. And
recently we suffer a slow (very) POP response. For this, i have detailed
data which i gained from sniffing. And it shows how much time needed just to
connect to POP application.

This is our tcpserver configuration,

/usr/local/bin/tcpserver -c 128 0 110 /var/qmail/bin/qmail-popup My-Hostname
\
/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

What wrong with this? Please help me. Any help very appreciated.

Wisnu.





Re: slow POP3 response

2000-11-24 Thread Chris Johnson

On Fri, Nov 24, 2000 at 11:49:19PM +0700, Wisnu Wijayanta wrote:
 I'm a newbie, and maintaining single qmail server, supports 3000 user with
 10 email domain. Authentication handled by vpopmail.
 
 Machine is AlphaServer-DS20E, memory 1 GB, Digital Unix 4.0F patched. And
 recently we suffer a slow (very) POP response. For this, i have detailed
 data which i gained from sniffing. And it shows how much time needed just to
 connect to POP application.
 
 This is our tcpserver configuration,
 
 /usr/local/bin/tcpserver -c 128 0 110 /var/qmail/bin/qmail-popup My-Hostname
 \
 /vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 

This question comes up on this list about every forty seconds. It's almost
certainly a DNS problem. Try using the -H, -R, and possibly -l0 (that's el
zero) options to tcpserver.

Chris



Hardware Requirements

2000-11-24 Thread Federico Edelman Anaya

What's hardware requirements I need to run a server with Qmail and Ezmlm
and.

- 2.000.000 subscribers
- 100 newsletters
- 2.000.000 deliverys for day

?


Please, if anybody have idea or experience about it reply me! :)


..thanks!

Federico Edelman




Re: Hardware Requirements

2000-11-24 Thread Brian Reichert

On Fri, Nov 24, 2000 at 03:55:33PM -0300, Federico Edelman Anaya wrote:
 Brian:
 Hi!, the total of subscriber of all my list is 2.000.000, now, i am running a
 list-server:
 - Qmail 1.03 (with big-concurrency.patch  and big-todo.patch)
 -  daemontools
 - ezmlm-0.53 + ezmlm-idx-0.40
 
 Hardware and SO:
 - Linux Debian (Dual Petium II) RAM 256 MB
 - Kernel 2.2.17 with reiserfs
 - HD 8 GB
 - And a roundrobin DNS (with 4 relay host)
 
 The delivery is very slowly and the kernel not support fine a
 big-concurrency.patch (and NR_TASKS modifcations)
 
 Well, I am thinking to change de Hardware. Linux? Solaris (Sun)? how many
 space i need for 100 lists and 2.000.000 subscribers (total)?
 
 The messages's size: 50 KB

If you're using ezmlm to manage these mailing lists, then I presume
that the answer to this question, which you didn't answer:

  For any one newletter, will all of it's recipents get the same
  newsletter? if not, then that means each newletter will have to
  have 2 million copies if itself in the mail queue.

is 'yes', in that all recipients get the same newsletter.

That means that you only have 100 copies of the 50k newsletter in
your message queue.  That's only about 5M of diskspace.  No problem
there.

I don't have a quick handle on how much diskspace any one instance
of a mailing list takes, though, WRT the list of subscribers.  I
have one fairly tiny list I run (~100 people); based on what it
takes up,  I'm going to odd-handedly guess that 2 million subscribers
(over all lists) will cost you maybe 40M of diskspace.

Are you maintaining indexes of these lists?  (The ezmlm-idx patch
implies that).  That will open-endedly eat diskspace forever.  Each
list's mailing will cause another 50k message to be saved.  How
long are you going to keep messages?

How long are you going to keep mail logs for deliveries?  They can
possibly eat your diskspace if kept forever.  You'll want to keep
some, so you can periodically analyze how well the machine can
deliver mail.

I'd hazard, roughly, that this 8G hard drive will have the capacity
to hold you down for many months.

But, in my mail to you, I mentioned network I/O, and disk I/O (not
capacity).

Network I/O:

  You want 2 million deliveries of a 50K file a day.  That's 100G a day;
  that's 1.1M a _second_ of network activity, sustained 24x7.

  And that's _just_ the newsletters.  That does not take into account:

  - DNS traffic with all of the timeouts and that that implies

  - SMTP traffic.  Assume 300 bytes per delivery: that's 600M _a
day_ just talking SMTP.

  - managing bounces

  So - what's your ISP hookup like?

Disk I/O:

  Qmail is notoriously disk-heavy.  I have no experience with the
  ReiserFS, so I don't know how much of a gain you'll get.

  A 'classic' trick with qmail is to run several instances of qmail
  with separate queues, preferably on separate spindles.   That
  way, one sluggish mailing list won't bog down the others.  That
  implies multiple hard drives.

You mention 'a roundrobin DNS (with 4 relay host)'.  I'm not certain
I understand how you have those set up...

Again, people have been discussing such stuff on the qmail/ezmlm
lists for some time, feel free to puruse the mailing list archives...

-- 
Brian 'you Bastard' Reichert[EMAIL PROTECTED]
37 Crystal Ave. #303Daytime number: (603) 434-6842
Derry NH 03038-1713 USA Intel architecture: the left-hand path



Re: Something strange with dot-qmail !

2000-11-24 Thread Romeyn Prescott

At 10:35 PM +0100 11/24/00, Robin S. Socha wrote:
* Visar Emini [EMAIL PROTECTED] writes:

  my .qmail file. 
  [EMAIL PROTECTED]

[EMAIL PROTECTED]
--
Robin S. Socha http://socha.net/

I'm a bit of a qmail newbie, but from what I've read that means any 
mail delivered to your account is forwarded to [EMAIL PROTECTED]

Hoping you got THIS,  ;-)
...ROMeyn
-- 


signat-url: http://www2.potsdam.edu/dctm/prescor/signat-url.htm
cubiclecam: http://digirom.potsdam.edu/~prescor/cubiclecam.html
^^^ --- New and improved!



Re: SMTP

2000-11-24 Thread Jose AP Celestino

At 01:26 PM 11/24/00 -0200, you wrote:
On Thu, 23 Nov 2000, Jose AP Celestino wrote:

  Have tried rm the control/rcpthosts file?

Bem, funciona perfeitamente.
Mas nao vou estar transformando o qmail num servidor com relay liberado?

In English Ederson :)

Yes, you will be opening on the rcpt side. Anyway you can close on the 
sender side; use tcpmakectl to 'do' a tcp.smtp.cdb (for instance) with the 
rules defining which hosts will be allowed to use your smtp server to send 
mail.

Append that cdb to your tcpserver: tcpserver OPTIONS -x /etc/tcp.smtp.cdb 
MORE_OPTIONS.

Why should you allow someone at spammer.org to send mail (!?) through your box?

Valeu,
Ederson

Jose AP Celestino   [EMAIL PROTECTED]
Systems Administration
SAPO - PT Multimedia





SMTP Woes

2000-11-24 Thread Andrew Buenaventura

Everytime I telnet to my SMTP port (wether using the loopback IP or the
public IP), I get the "connection closed by foreign host" error message.
when I check my maillog, the following is displayed:

Nov 25 10:46:13 localhost smtpd: 975120373.062916 tcpserver: status: 1/20
Nov 25 10:46:13 localhost smtpd: 975120373.063413 tcpserver: pid 17710 from
CLIENT's_IP
Nov 25 10:46:13 localhost smtpd: 975120373.096366 tcpserver: ok 17710
:SERVER's_IP:25 :CLIENT's_IP::1672
Nov 25 10:46:13 localhost smtpd: 975120373.388277 tcpserver: end 17710
status 256
Nov 25 10:46:13 localhost smtpd: 975120373.388740 tcpserver: status: 0/20

if you will notice, the server accepts the connection and drops it right
away.

I've also been receiving a lot of bounce mails.  It says that "there's no
mailbox  by that name".  I am sure that I created those mailboxes so I
assumed it gives out that error because my SMTP port drops connection.
Bounce mails originate from test mail I send to mailboxes in my server using
the "echo to: mailbox_name |  /qmail/path/qmail-inject" command. 

ps -auxww |grep qmail yields:

qmaild   17283  0.0  0.3  1136   468  ?  S   10:56   0:00 tcpserver -u 102
-g 234 -c 20 -v -x /etc/tcpcontrol/smtp.cdb 0 smtp /usr/bin/rblsmtpd -t 60
-r rbl.maps.vix.com qmail-pipe fixcr -- qmail-smtpd
qmaill 484  0.0  0.1  1096   192  ?  S  Nov 12   0:00 splogger qmail
qmailq 487  0.0  0.0  108092  ?  S  Nov 12   0:00 qmail-clean
qmailr 486  0.0  0.0  1088 0  ?  SW Nov 12   0:00 (qmail-rspawn)
qmails 481  0.0  0.1  1124   148  ?  S  Nov 12   0:00 qmail-send
root   458  0.0  0.0  109660  ?  S  Nov 12   0:00 tcpserver 0 110
/var/qmail/bin/qmail-popup my.server.com /bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir
root   479  0.0  0.0  107664  ?  S  Nov 12   0:00 supervise
/var/lock/svc/qmail qmail-start |dot-forward .forward\012|preline procmail
splogger qmail
root   485  0.0  0.0  109280  ?  S  Nov 12   0:00 qmail-lspawn
|dot-forward .forward\012|preline procmail
root 17281  0.0  0.2  1076   336  ?  S   10:56   0:00 supervise
/var/lock/svc/smtpd tcpserver -u 102 -g 234 -c 20 -v -x
/etc/tcpcontrol/smtp.cdb 0 smtp /usr/bin/rblsmtpd -t 60 -r rbl.maps.vix.com
qmail-pipe fixcr -- qmail-smtpd | splog
root 17750  0.0  0.3  1240   492  ?  S   02:54   0:00 grep qmail

any thoughts will be highly appreciated




Re: SMTP Woes

2000-11-24 Thread Alex Pennace

On Sat, Nov 25, 2000 at 10:57:20AM +0800, Andrew Buenaventura wrote:
 Everytime I telnet to my SMTP port (wether using the loopback IP or the
 public IP), I get the "connection closed by foreign host" error message.
 when I check my maillog, the following is displayed:
 
 Nov 25 10:46:13 localhost smtpd: 975120373.062916 tcpserver: status: 1/20
 Nov 25 10:46:13 localhost smtpd: 975120373.063413 tcpserver: pid 17710 from
 CLIENT's_IP
 Nov 25 10:46:13 localhost smtpd: 975120373.096366 tcpserver: ok 17710
 :SERVER's_IP:25 :CLIENT's_IP::1672
 Nov 25 10:46:13 localhost smtpd: 975120373.388277 tcpserver: end 17710
 status 256
 Nov 25 10:46:13 localhost smtpd: 975120373.388740 tcpserver: status: 0/20
 
 if you will notice, the server accepts the connection and drops it right
 away.

How are you calling the qmail-smtpd tcpserver?

 PGP signature


I don't quite understand.

2000-11-24 Thread Jeff Wood



Earlier today I asked a question in here, and I 
haven't even gotten 1 response. Other people post what appear to me to be 
much more difficult situations but they get 2, 3, 4 or more responsed within 
like 10 minutes.

Is there a reason that no one is responding ? 
Can someone at least acknowledge that me email made it out to the list 
?

jeff.

Copy of original message:
===

I did check the FAQ before sending 
this

The setup I am administrator of is using qmail 1.03 
 vpopmail. There are a number of domains and the mail is broken up 
for users under the domains.

I need to forward a copy of ALLINBOUND 
messages for one of the domains on this email server to a specific address [EMAIL PROTECTED]. I suspect that I shouldn't 
make this specific address part of the domain I want to copy because that would 
probably put me off in an endless loop.

I suspect that I need to add a .qmail file into the 
home directory for the domain, and that should get parsed for each user ( 
Correct? ). 

Anyone that could help me, I'd really appreciate 
it.


Re: I don't quite understand.

2000-11-24 Thread Chris Johnson

On Fri, Nov 24, 2000 at 07:52:41PM -0800, Jeff Wood wrote:
 Earlier today I asked a question in here, and I haven't even gotten 1
 response.  Other people post what appear to me to be much more difficult
 situations but they get 2, 3, 4 or more responsed within like 10 minutes.

Perhaps your support payment check has not yet been received at the qmail
central office yet.

The message made it to the list. Maybe the reason that you haven't gotten a
response is that the answer depends on familiarity with vpopmail; this isn't a
vpopmail list, and I'd venture to say that most people here don't use it. I
believe there is a vpopmail list, and you might have better luck there.

Chris



Re: I don't quite understand.

2000-11-24 Thread Peter Green

* Jeff Wood [EMAIL PROTECTED] [001124 22:52]:
 I need to forward a copy of ALL INBOUND messages for one of the domains on
 this email server to a specific address [EMAIL PROTECTED]  I suspect that I
 shouldn't make this specific address part of the domain I want to copy
 because that would probably put me off in an endless loop.

Alter the .qmail-default file for the particular domain. Insert a line that
reads:

  [EMAIL PROTECTED]

at the beginning of the file. (IOW, leave the ``vdelivermail'' line in there
and *add* the line above to the beginning of the file.)

/pg
-- 
Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED]
---
What about WRITING it first and rationalizing it afterwards? :-)
--- Larry Wall in [EMAIL PROTECTED]




Re: secrets and lies

2000-11-24 Thread Greg White

Paul Jarc wrote:
 
SNIP
 
 Dan's software isn't open source. 

Oh, really? By whose definition? I have the source, and I have the
actual
program. I suppose if you're some ESR/RMS fanatic, this does not comply
with
your vision of "open source". The source is available, and by Dan's own
words
you can do what you like with it. As far as I am concerned, this meets
anyone's
definition of "open source" except a fanatic.

 I imagine he might value peer
 review, but I'm not aware of his having stated so - certainly not in
 regard to motivation for his distribution terms.  Also, making source
 available does not give everyone the ability to audit the software.
 It gives them permission.  But most people won't be any better able to
 do a quality audit for having the source.  Only the "select few" will
 be able to audit it well, regardless of the license, and they can
 afford to charge a hefty fee, regardless of the license.

So, what is your point here? When was the last time a serious security 
fanatic went through:

a. Linux kernel source code.
b. BSD kernel source code.
c. Solaris kernel source code.
d. etc., etc., etc.

Joe average is not capable of auditing this source code: therefore: it
is 
insecure. ;)


 
 paul

GW



Re: Last message!

2000-11-24 Thread Uwe Ohse

On Fri, Nov 24, 2000 at 01:14:51PM -0300, Fernando Barreto wrote:

 tai64nlocal.c:60: dereferencing pointer to incomplete type
 make: 1254-004 The error code from the last command is 1.
 
 
   I checked the include file sys/time.h and I didn't the structure
 that tai64nlocal.c calls. 

try including time.h (you might need to put it before or after
the sys/time.h line, or to delete the sys/time.h line - i don't
know about AIX).

Regards, Uwe