OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: troubles with majordomo and local .forward files
From: Wietse Venema (wietseporcupine.org)
Date: Fri Feb 18 2000 - 12:08:30 CST


I repeat: your machine is running out of file descriptors. Try
reducing the Postfix process limits.

        Wietse

Pawel Kolodziejczyk:
> On Fri, 18 Feb 2000, Wietse Venema wrote:
>
> > Try sending mail to just the user with the .forward file and
> > you will find that the file works fine.
>
> yes, for single user it works fine....
>
> but problem was, when single person from list has .forward with
> redirection to the same account (for example:
> local_box,outside_box) and person is on huge (i found this problem on
> lists about 500 users) local list
>
> in log file goes this way:
>
> Feb 18 01:10:07 omicron postfix/qmgr[20986]: B88C023A42:
> from=<owner-hugelistcomarch.pl>, size=1441 (queue active)
>
> Feb 18 01:10:07 omicron postfix/local[22944]: B88C023A42:
> to=<a-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
> Feb 18 01:10:07 omicron postfix/local[22944]: B88C023A42:
> to=<b-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
> Feb 18 01:10:07 omicron postfix/local[22944]: B88C023A42:
> to=<c-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
>
> until:
>
> Feb 18 01:11:10 omicron postfix/local[22944]: B88C023A42:
> to=<p-usercomarch.pl>, relay=local, delay=22678, status=sent
> ("|/usr/bin/procmail")
> Feb 18 01:11:12 omicron postfix/local[22944]: warning: cannot open file
> /home/r-user/.forward: Too many open files
> Feb 18 01:11:12 omicron postfix/local[22944]: fatal: pipe_comand: pipe:
> Too many open files
>
> after this excident, the mail in queue - B88C023A42 - is sended
> once again to a-user,b-user.... until r-user (with .forward file)
> breakes - and we loose information about sending this mail to this
> users..... so the same mail goes to them again and again...
>
> Feb 18 02:33:27 omicron postfix/qmgr[20986]: B88C023A42:
> from=<owner-hugelistcomarch.pl>, size=1441 (queue active)
>
> Feb 18 02:33:27 omicron postfix/local[22944]: B88C023A42:
> to=<a-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
> Feb 18 02:33:27 omicron postfix/local[22944]: B88C023A42:
> to=<b-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
> Feb 18 02:33:27 omicron postfix/local[22944]: B88C023A42:
> to=<c-usercomarch.pl>, relay=local, delay=22615, status=sent
> ("|/usr/bin/procmail")
>
> and of course ends with the same results....
>
> there is no problem, when i put .procmailrc file with similar rule
>
> :0c
> ! user_outside_account
>
> with dotforward files it looks like some loop with opening files... (by
> "local" ?)
>
> the only solution for this problem is disabling .forward files -
> because one user can stop/broke delivery of mail in system - by putting
> .forward file.
>
> > Try reducing the numbers of processes. Your machine seems to
> > run out of steam while delivering mail.
>
> i can't find any problem with hardware (hmm.. except my SCSI disk -
> is burning in the middle of day:)), processor has 70% idle, memory is
> full, swap not used, limits for kernel are higher (more open files,
> more processes) - system has between 200-300 processes ...
>
> maybe there are some specific things in postfix to deal with majordomo?
> i've just changed MTA, without any change in majordomo configuration.
>
> > Wietse
>
> regards,
>
> Paul
>
> ps. i found this bug in time of postfix instalation - i've fixed
> .forward files in system - and some user reminded me, by putting
> some .forward file :(
>
> --
> Pawe_ Ko_odziejczyk ComArch S.A. - Dzia_ Obs_ugi Wewn_trznej
>
>
>
>