[Fwd: Re: postfix and amavis not happy]

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: plug-discuss
CC: EAN
Subject: [Fwd: Re: postfix and amavis not happy]
This obviously is of more importance to the list (Jim) and not me...

Thanks Ed - hope you start to feel better

-----Forwarded Message-----
> From: EAN <>
> To:
> Subject: Re: postfix and amavis not happy
> Date: Tue, 20 Jul 2004 21:21:28 -0700
>
> Craig - pardon the off list responce - I'm not at my office - this is my
> understanding of how Postfix and Amavisd-new work together - could be a
> bit fuzzy as I'm running a fever.
>
> Craig White wrote:
>
> > On Tue, 2004-07-20 at 16:28, wrote:
> >
> >>I have been getting this in my logs on my mail system and when it
> >>happens mail just stops (no fun)
> >>
> >>
> >>"Jul 20 11:59:09 mail postfix/qmgr[5764]: 25AE16F8DF:
> >>to=<>, relay=none, delay=7586, status=deferred (delivery
> >>temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused)
> >>
> I would expect a port number - Amavisd sits on localhost:10024 and 10025
> >>How can I stop amavis from doing this, and how can I setup a method to
> >>be alerted when this happens?
> >
> In master.cf allow for more Amavisd processes - I thin 2 is the default
> and 10 is recommended for a busy server - if really busy you can put
> Amavisd on its own machine - yahoo!
> > ----
> > This is the kind of test where you earn your stripes as an IT manager.
> >
> > How many processes (child processes) is postfix limited to? Does it need
> > to be increased?
> I have a mostly basic install with the max-processes(as set out in
> master.cf) for the various Postfix programs eith set to 1 or 0(which I
> assume is no limit/as needed
> >
> > How many processes (child processes) is amavis limited to? Does it need
> > to be increased?
> >
> basic setup is 2 busy is 10 - in master.cf
> > Does the mail spool stay tied up in postfix while amavis is scanning the
> > file?
> >
> Yes - this is an important aspect of Amavisd-new, the pre-scanned object
> isn't removed from the Postfix spool untill the post-scanned object is
> in the spool - only then is the pre-scanned object released. If the box
> crashes there is no loss of e-mail.
> > Can you increased logging levels of postfix/amavis to give you a clue as
> > to where it is getting hung?
> >
> in main.cf set debug_peer_level and debug_peer_list....I think, they are
> near the bottom of main.cf
> > As for alerts...that's a toughie. I use webmin and it has the ability to
> > monitor postfix and could probably be configured to look at things like
> > ps output or others to monitor amavis but I would normally have it send
> > an email out to my 'pager/text messaging' but if postfix dies, good
> > luck. If you have a modem on this system, you could write a shell script
> > to call in to another system or use your imagination to get it to log
> > onto another system to send you a page.
> >
> google php and postfix - I think there is a newer web interface to
> Postix - also if you are worried about Postfix staying up, you could
> always set up DJB's server monitoring thingy (there goes those IT
> stripes </grin>)and put the Amavisd/Postfix startup script in it. my
> experience has been that Postfix does not stop.
>
> have fun - Ed
> > Craig
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss