OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix not listening on Amavis port

From: Norman Zhang (norman.zhangrd.arkonnetworks.com)
Date: Fri Apr 01 2005 - 16:16:36 CST


Owen Marshall wrote:
> My maillog indicates nothing out of the ordinary. As a matter of fact,
> it doesn't really tell me that much _at_all_. I am trying to follow
> through the verbose output.
>
> [rootsmtp3 postfix]# netstat -nlp | grep 10025

Make sure you have the following values in /etc/amavisd/amavisd.conf

$inet_socket_port = 10025;
$notify_method = 'smtp:[127.0.0.1]:10026';
$forward_method = 'smtp:[127.0.0.1]:10026';

>>I get a strange message in my maillogs:
>>Mar 30 19:22:50 smtp3 postfix/smtp[17960]: 74AA015B526: to=<valid
>>email address>, relay=127.0.0.1[127.0.0.1], delay=7574,
>>status=deferred (host 127.0.0.1[127.0.0.1] said: 450 4.4.1 Can't
>>connect to 127.0.0.1 port 10025, Bad file descriptor at
>>/usr/sbin/amavisd line 3805, <GEN5> line 4744., id=17897-07 (in reply
>>to end of DATA command))
>>
>>content_filter=smtp-amavis:127.0.0.1:10025
>>smtp-amavis_destination_concurrency_limit = 2
>>
>>smtp-amavis unix - - y - 6 smtp

You should change 6 to 2 to match the settings for
smtp-amavis_destination_concurrency_limit = 2

HTH,
Norman Zhang