OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: 421 Service not available (Amavis)

From: mouss (moussnetoyen.net)
Date: Sat Apr 26 2008 - 19:36:26 CDT


El Neofito wrote:
> mouss wrote:
>
>
>>> I don't see anything obvious except the timeouts issue. try telnet to
>>> ports 10024 and 10025 and see which one drops the connection. you can
>>> also run amavisd in debug mode to see more logs.
>>>
>
> Amavis debug did not output anything. However amavis.log did output something as below:
>
> Apr 27 03:03:29 xxmail.dyndns.org /usr/sbin/amavisd[10525]: (10243-01) run_command: child process [10525]: Can't close main::stdin: Bad file descriptor at /usr/sbin/amavisd line 1619.\n
>

There is a problem here. What version of amavisd-new and of Net::Server
are you running?

> [snip]
>
> Telnet to 10024 (amavis) and 10025 (postfix) was entirely successful. Any clues?
>

did you do what I suggested? (configure filtering according to amavisd
README.postfix)?