qmail Digest 20 Mar 2000 11:00:01 -0000 Issue 946

Topics (messages 38780 through 38800):

maildrop: Time out
        38780 by: Subba Rao
        38784 by: Christophe Lesur
        38787 by: Subba Rao

Re: FreeBSD 4 and alternate MTAs
        38781 by: petervd.vuurwerk.nl
        38792 by: D. J. Bernstein

Re: QMAIL Spam and queue handling
        38782 by: petervd.vuurwerk.nl
        38783 by: Christophe Lesur

Qmail-users question
        38785 by: John P. Looney
        38786 by: John P. Looney
        38790 by: John P. Looney

Checking From email in .qmail
        38788 by: Allan Thr�n
        38789 by: Magnus Bodin

Re: Why fstat() in qmail-send.c:markdone()?
        38791 by: D. J. Bernstein

oMail-Webmail 0.91 - Mailing lists now running
        38793 by: Olivier M.

blocking a user
        38794 by: rkacker.mbhs.edu
        38795 by: Chris Johnson
        38800 by: clesur.lair.dyndns.org

Re: ezmlm warning
        38796 by: Marc-Adrian Napoli
        38797 by: Chris Johnson

tcpserver is not performed.
        38798 by: Hong Taeki
        38799 by: Eric Lalonde

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,

I get the following error, when I run fetchmail to get large sized mail.

----------------------
Mar 19 05:53:07 myhost fetchmail[4638]: SIGPIPE thrown from an MDA or a stream socket
 error
Mar 19 05:53:38 myhost last message repeated 162985 times
----------------------

Fetchmail times out, with a message something to the effect,
"maildrop: Time out quota exceeded".

If anyone got this error and got this resolved, please let me know how you did it.

Thank you in advace.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com





Subba Rao wrote:
> 
> Fetchmail times out, with a message something to the effect,
> "maildrop: Time out quota exceeded".
> 

Do you have a quota fs enable? Are you using quota? Are the FS full?
I have no problem with fetchmail and qmail, this should be a FS problem.

Regards, Chris.




On  0, Christophe Lesur <[EMAIL PROTECTED]> wrote:
> Subba Rao wrote:
> > 
> > Fetchmail times out, with a message something to the effect,
> > "maildrop: Time out quota exceeded".
> > 
> 
> Do you have a quota fs enable? Are you using quota? Are the FS full?
> I have no problem with fetchmail and qmail, this should be a FS problem.
> 

What do you mean by FS? If you mean, File System, there are no quota limits for any 
user.
What MDA are you using? maildrop or procmail?

Most of my fetchmail/maildrop operations work fine. It is only with the large mail
that I get this error.

Subba Rao
[EMAIL PROTECTED]
http://pws.prserv.net/truemax/

 => Time is relative. Here is a new way to look at time. <=
http://www.smcinnovations.com




On Sat, Mar 18, 2000 at 04:43:26PM -0500, Chris Johnson wrote:
> FreeBSD 4 is starting to play nice with alternate MTAs. Maybe other systems
> have had this feature for hundreds of years, but FreeBSD has a new thing that
> lets you define your MTA and related programs in /etc/mail/mailer.conf; it no
> longer assumes that everyone uses sendmail. /usr/sbin/sendmail, /usr/bin/mailq,
> et al are all symlinks to /usr/bin/mailwrapper, which runs the programs you
> define in /etc/mail/mailer.conf. It's very nice, and does away with the ugly
> symlinks.

I thnk I saw something similar in OpenBSD, and yes, I think this rocks. I
about to set up a cluster of FreeBSD 4-qmail boxes so this saves me some
trouble...

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




Chris Johnson writes:
> It's very nice, and does away with the ugly symlinks.

It does away with symlinks by inventing its own pointless file-based
symlink format. It then needs an extra program to interpret that file.

That program is, as it turns out, unreliable at high loads. If the
kernel is low on file descriptors at the wrong moment then the program
runs sendmail! What a disaster. Metzger should be ashamed of himself.

See http://cr.yp.to/etc-mta.html for a simpler, faster, _correct_
configuration mechanism that doesn't try to reinvent the filesystem.
Please encourage your OS vendor to support /etc/mta, not mailer.conf.

---Dan




On Sun, Mar 19, 2000 at 11:08:25AM +0100, Christophe Lesur wrote:
> 
> Hi !
> 
> This last week, my qmail server was in trouble :
> 
> One of my user have misconfigured a computer, so that the computer's
> security scanner mail it a report every second... :(((
> 
> All was fine because qmail is solid rock software but, the rcpt domain's
> relayed by my qmail was unable to handle the 79077 mails in 3 days and
> crash with no warning (it's a TFS SMTP 4 on NT server... Beurk).
> 
> So qmail start to store all domain's mail (valid and scanner's report).
> 
> When the TFS restart, the qmail's queue stored about 7000 mails.
> 
> So this is my questions :
> 
> HOW TO SELECTIVELY DELETE A LOT OF MESSAGE IN THE QUEUE?

Ok, one that might work:
Route the domain to 127.0.0.1 in smtproutes
create a virtualdomain for it to deliver to nowhere (just a '#' in the
.qmail file)

No guarantees! :)

Note that this will destroy _all_ mail for that domain, including the valid
mail for that domain.

Greetz, Peter.
-- 
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder 
|  
| 'C makes it easy to shoot yourself in the foot;
|  C++ makes it harder, but when you do it blows your whole leg off.'
|                             Bjarne Stroustrup, Inventor of C++




[EMAIL PROTECTED] wrote:

> >
> > HOW TO SELECTIVELY DELETE A LOT OF MESSAGE IN THE QUEUE?
> 
> Ok, one that might work:
> Route the domain to 127.0.0.1 in smtproutes
> create a virtualdomain for it to deliver to nowhere (just a '#' in the
> .qmail file)
> 
> No guarantees! :)

My problem is that i MUST keep valid mail. So it's not possible (and
it's why i restart the TFS gateway each hour... :'( ).

BUT ! 

What if : 
I) i create a virtualdomain equal to my routed domain.
II) i create a user equal to my RCPT TO user for bad mail
III)  i route all other mail to the right gateway.

I know how to do I) and II)... BUT 
Does anyone know how to III) ?

My other question is again : are they any tool to handle QMAIL queue
(like kill a lot of mail from a user...) ? 

BTW, i can code this tool, but HOW TO DESTROY CLEANLY MAIL FROM THE
QUEUE?




 I've hacked qmail-getpw to make a mail directory, if it doesn't exist,
but there is a valid user (recently added to an oracle database). There is
also a qmail users/assign file that has all the older users, and gets
refreshed from the database every five minutes.

 Delivery to any users that are in the assign file works fine. However, I
don't think that qmail-getpw is being called, if the user isn't in the
assign file (or the cdb file). I've added a syslog call to the qmail-getpw
program, to log when it's called. This doesn't come up, when the
qmail-inject is done, below:

root@mail1:/home/jplooney# jobs
[1]-  Running                 tail -f /var/log/syslog/auth &
[2]+  Running                 tail -f /var/log/qmail/send/* &
root@mail1:/home/jplooney# vim /var/qmail/users/assign 
    [ verified that the entry for john_looney is gone ]
root@mail1:/home/jplooney# qmail-newu
root@mail1:/home/jplooney# qmail-inject john_looney < /dev/null 
root@mail1:/home/jplooney# 

953474883.170644 new msg 4105
953474883.170770 info msg 4105: bytes 224 from <[EMAIL PROTECTED]> qp 32116 uid 0
953474883.174970 starting delivery 48: msg 4105 to local [EMAIL PROTECTED]
953474883.174993 status: local 1/100 remote 0/200
953474883.178621 delivery 48: failure: 
Sorry,_no_mailbox_here_by_that_name./Check_the_address_spelling_and_try_again._(#5.1.1)/
953474883.178859 status: local 0/100 remote 0/200
953474883.183538 bounce msg 4105 qp 32118
953474883.183588 end msg 4105

root@mail1:/# qmail-getpw john_looney ; echo
jplooney143143/mail/0000/00/7c
root@mail1:/# 
Mar 19 14:08:10 mail1 qmail-getpw: Calling syslog on john_looney 

 Anyone know why qmail-getpw wouldn't get called, if the username isn't in
the assign file ?

Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"                -- Zen Master Greg

PGP signature





On Sun, Mar 19, 2000 at 02:15:00PM +0000, John P. Looney mentioned:
> root@mail1:/# qmail-getpw john_looney ; echo
> jplooney143143/mail/0000/00/7c
> root@mail1:/# 
> Mar 19 14:08:10 mail1 qmail-getpw: Calling syslog on john_looney 

 Minor type in copying/pasting the mail. This does actually print:

root@mail1:/# qmail-getpw john_looney ; echo
john_looney143143/mail/0000/00/7c
root@mail1:/# 
Mar 19 14:08:10 mail1 qmail-getpw: Calling syslog on john_looney 


Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"                -- Zen Master Greg

PGP signature





On Sun, Mar 19, 2000 at 02:15:00PM +0000, John P. Looney mentioned:
>  Anyone know why qmail-getpw wouldn't get called, if the username isn't in
> the assign file ?

 And the answer;

    If "alias" is in the users/assign file, it won't call qmail-getpw.

Kate

-- 
"The fool must be beaten with a stick, for an intelligent person 
the merest hint is sufficient"                -- Zen Master Greg

PGP signature





Does anybody know how to make to make a .qmail-sos mailinglistfile only forward mails which has been sent from a certain emailadress ?




On Sun, Mar 19, 2000 at 06:20:50PM +0100, Allan Thr�n wrote:
> Does anybody know how to make to make a .qmail-sos mailinglistfile only
> forward mails which has been sent from a certain emailadress ?

| if SENDER="[EMAIL PROTECTED]"; then forward "[EMAIL PROTECTED]"; exit 99; fi 

But as you said "mailinglist"-file, you probably want to install some sort
of mailinglist handler that checks whether sender is moderator or part of
the list.

Take a look at http://cr.yp.to/ezmlm.html

/magnus

-- 
http://x42.com/




Fred Lindberg writes:
> It's obviously important or it wouldn't be there.

It's a variable that was used with the original qmail queue structure.
It's unused now, and can be removed safely.

---Dan




Hello again!

oMail-webmail 0.91 is ready to be downloaded : changes includes
more security, better folders and addressbook support, as well
as a lots of little fixes. You will find more infos about this
software on  http://webmail.omnis.ch/omail.pl?action=about 

Todo: 
- add vmailmgrd passwd.cdb authentication support 
- add vpopmail authentication support
- add other languages
- try if it works fine with mod_perl
- improve session management with md5

If you are interested to help, fell free to get the files on the 
anonymous CVS, and you are welcome on the devel mailing list.

There are currently 2 mailing lists :

  - omail-news : read-only announce mailing list (for new 
    release announces)

 >>> http://lists.sourceforge.net/mailman/listinfo/omail-news <<<

  - omail-devel : public mailing list about developpment.

 >>> http://lists.sourceforge.net/mailman/listinfo/omail-devel <<<

Thanks a lot for all the people who sent me emails and comments 
this week-end!

Have a nice week,
Olivier





Hello.


I need to block a user from sending internal e-mail.  Ive tried using tcprules to deny 
them but it dosent seem to be working....is there any way i could do this through 
qmail-queue or anythign else.


Thanks,
Ravi





On Sun, Mar 19, 2000 at 05:38:18PM -0500, [EMAIL PROTECTED] wrote:
> I need to block a user from sending internal e-mail.  Ive tried using
> tcprules to deny them but it dosent seem to be working....is there any way i
> could do this through qmail-queue or anythign else.

This is a particularly good example of how to ask a question that's guaranteed
not to generate an answer.

You're going to need to define exactly what problem you're trying to solve,
exactly what you did to try to make it happen, and in exactly what way it
failed.

Chris




> I need to block a user from sending internal e-mail.  Ive tried using
> tcprules to deny them but it dosent seem to be working....is there any way i
> could do this through qmail-queue or anythign else.

It's simple : put it in /var/qmail/control/badmailfrom file...

man qmail-control

ex: [EMAIL PROTECTED] to be blocked

Create a /var/qmail/control/badmailfrom file with [EMAIL PROTECTED]

Regards, Chris.




Hi all,

Has anyone received a message like this recently?

muncher.math.uic.edu has nothing to do with us and is definitly not listed
as an MX for us!

Regards,

Marc-Adrian Napoli
Connect Infobahn Australia
+61 2 92811750


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 19, 2000 3:02 PM
Subject: ezmlm warning


> Hi! This is the ezmlm program. I'm managing the
> [EMAIL PROTECTED] mailing list.
>
>
> Messages to you seem to have been bouncing. I've attached a copy of
> the first bounce message I received.
>
> If this message bounces too, I will send you a probe. If the probe
bounces,
> I will remove your address from the mailing list, without further notice.
>
>
> I've kept a list of which messages bounced from your address. Copies of
> these messages may be in the archive. To get message 12345 from the
> archive, send an empty note to [EMAIL PROTECTED]
>
> Here are the message numbers:
>
>    43407
>
> --- Below this line is a copy of the bounce message I received.
>
> Return-Path: <>
> Received: (qmail 11739 invoked for bounce); 7 Mar 2000 13:42:02 -0000
> Date: 7 Mar 2000 13:42:02 -0000
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: failure notice
>
> Hi. This is the qmail-send program at muncher.math.uic.edu.
> I'm afraid I wasn't able to deliver your message to the following
addresses.
> This is a permanent error; I've given up. Sorry it didn't work out.
>
> <[EMAIL PROTECTED]>:
> 203.17.36.17 does not like recipient.
> Remote host said: 553 sorry, that domain isn't in my list of allowed
rcpthosts (#5.7.1)
> Giving up on 203.17.36.17.
>
>





On Mon, Mar 20, 2000 at 10:41:12AM +1100, Marc-Adrian Napoli wrote:
> Has anyone received a message like this recently?
> 
> muncher.math.uic.edu has nothing to do with us and is definitly not listed
> as an MX for us!

[EMAIL PROTECTED] is a subscriber to the qmail mailing list. When
muncher.math.uic.edu (which is where the qmail list lives) tried to send him a
list message, the message was rejected because the MX for cia.com.au wasn't
configured to receive mail for cia.com.au (cia.com.au wasn't in
control/rcpthosts). 

ezmlm received this bounce message, stored it, and eventually sent out a
warning to see if the address was still bouncing mail. By this time the
administrator of cia.com.au had fixed his configuration and the warning got
through. The sending of warnings and probes is ezmlm's way of weeding out
defunct addresses from mailing lists.

Chris

> 
> Regards,
> 
> Marc-Adrian Napoli
> Connect Infobahn Australia
> +61 2 92811750
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, March 19, 2000 3:02 PM
> Subject: ezmlm warning
> 
> 
> > Hi! This is the ezmlm program. I'm managing the
> > [EMAIL PROTECTED] mailing list.
> >
> >
> > Messages to you seem to have been bouncing. I've attached a copy of
> > the first bounce message I received.
> >
> > If this message bounces too, I will send you a probe. If the probe
> bounces,
> > I will remove your address from the mailing list, without further notice.
> >
> >
> > I've kept a list of which messages bounced from your address. Copies of
> > these messages may be in the archive. To get message 12345 from the
> > archive, send an empty note to [EMAIL PROTECTED]
> >
> > Here are the message numbers:
> >
> >    43407
> >
> > --- Below this line is a copy of the bounce message I received.
> >
> > Return-Path: <>
> > Received: (qmail 11739 invoked for bounce); 7 Mar 2000 13:42:02 -0000
> > Date: 7 Mar 2000 13:42:02 -0000
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: failure notice
> >
> > Hi. This is the qmail-send program at muncher.math.uic.edu.
> > I'm afraid I wasn't able to deliver your message to the following
> addresses.
> > This is a permanent error; I've given up. Sorry it didn't work out.
> >
> > <[EMAIL PROTECTED]>:
> > 203.17.36.17 does not like recipient.
> > Remote host said: 553 sorry, that domain isn't in my list of allowed
> rcpthosts (#5.7.1)
> > Giving up on 203.17.36.17.
> >
> >
> 




I installed qmail, fastforward, dot-forward, ucspi-tcp, checkpassword (with this order).
 
But tcpserver is not performed.
 
This is the end of my rc.local
 
---------------------------------------------------------------
# to run qmail
csh -cf '/var/qmail/rc &'
 
# to run smtp under tcpserver
tcpserver -v -u 504 -g 503 0 smtp /var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
# to run pop3 under tcpserver and Maildir
tcpserver 0 110 /var/qmail/bin/qmail-popup selab5.sogang.ac.kr \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
-----------------------------------------------------------------
 
The first line - csh -cf '/var/qmail/rc &' - is performed, but the other two commands are
 
not performed. With the command (ps -ef), they are not found.
 
So if I copy and perform them in the command line, they(tcpserver commands) work well.
 
What is problem?
 
Help me...




Try including the full path to tcpserver. try /usr/local/bin/tcpserver
 
Hope this helps
 
Eric
----- Original Message -----
From: Hong Taeki
Sent: Sunday, March 19, 2000 10:40 PM
Subject: tcpserver is not performed.

I installed qmail, fastforward, dot-forward, ucspi-tcp, checkpassword (with this order).
 
But tcpserver is not performed.
 
This is the end of my rc.local
 
---------------------------------------------------------------
# to run qmail
csh -cf '/var/qmail/rc &'
 
# to run smtp under tcpserver
tcpserver -v -u 504 -g 503 0 smtp /var/qmail/bin/qmail-smtpd \
2>&1 | /var/qmail/bin/splogger smtpd 3 &
 
# to run pop3 under tcpserver and Maildir
tcpserver 0 110 /var/qmail/bin/qmail-popup selab5.sogang.ac.kr \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
-----------------------------------------------------------------
 
The first line - csh -cf '/var/qmail/rc &' - is performed, but the other two commands are
 
not performed. With the command (ps -ef), they are not found.
 
So if I copy and perform them in the command line, they(tcpserver commands) work well.
 
What is problem?
 
Help me...


Reply via email to