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: Owen Marshall (irixmangmail.com)
Date: Fri Apr 01 2005 - 15:51:40 CST


Thanks to Norman and mouss for your help! Norman: I made those config
file changes you suggested.

I am, sadly, still having problems with this.

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
[rootsmtp3 postfix]#

Grr, so it still isn't listening for some reason. Amavisd starts up
fine, and runs in debug mode. I just don't understand why Postfix
doesn't make that connection.

Thanks again,
Owen

On Mar 30, 2005 7:39 PM, Norman Zhang <norman.zhangrd.arkonnetworks.com> wrote:
> Owen Marshall wrote:
> > 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))
> >
> > The strangest thing is that I can't telnet into port 10025 -- postfix
> > isn't even listening to that port!
>
> Add the following entry to main.cf
>
> content_filter=smtp-amavis:127.0.0.1:10025
> smtp-amavis_destination_concurrency_limit = 2
>
> > This is my master.cf entry:
> > smtp-amavis unix - - y - 6 smtp
> > -o smtp_data_done_timeout=1200
> > -o disable_dns_lookups=yes
> >
> > 127.0.0.1:10025 inet n - y - - smtpd
>
> You should have 10026 here, as you want to reinject mail back to Postfix.
>
> HTH,
> Norman Zhang
>

--
01101001 01110010 01101001 01111000 01101101 01100001 01101110

--
01101001 01110010 01101001 01111000 01101101 01100001 01101110