Unable to forward emails to custom content filter from amavisd-new

Sharma, Ashish ashish.sharma3 at hp.com
Fri Jul 25 08:43:27 CEST 2014


Hi,

I have a Postfix (2.6.6) setup that forwards mail to my amavisd-new (2.6.6 (20110518)) , now I have modified my amavisd.conf as follows:

$forward_method = 'smtp:[127.0.0.1]:10030';  # set to undef with milter!

So that amavisd-new can forward the mails to a content-filter listening on port 10030 on the same machine, but I am getting the following errors in the logs and my emails are not getting forwarded,

Jul 25 11:29:01 psr-cpis-build156 amavis[2197]: (02197-02-2) (!)FWD via SMTP: <eprint.050 at gmail.com> -> <ashish at psr-cpis-build156.ind.hp.com>, 450 4.4.1 Can't connect to INET4 socket 127.0.0.1: Permission denied, MTA([127.0.0.1]:10030), id=02197-02-2
Jul 25 11:29:01 psr-cpis-build156 amavis[2197]: (02197-02-2) Blocked MTA-BLOCKED, [16.167.28.200] [16.167.28.200] <eprint.050 at gmail.com> -> <ashish at psr-cpis-build156.ind.hp.com>, Message-ID: <CAJnCofTHHMEbAgenzRQwa4_Agaf4UCTCntqNEa8JrGZGZhr6+A at mail.gmail.com>, mail_id: frLqp9MRCG9h, Hits: 3.663, size: 2034, 3913 ms
Jul 25 11:29:01 psr-cpis-build156 postfix/lmtp[2352]: 51CC19BB553: to=<ashish at psr-cpis-build156.ind.hp.com>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=2, delay=5.5, delays=0.76/0.84/0/3.9, dsn=4.4.1, status=deferred (host 127.0.0.1[127.0.0.1] said: 450 4.4.1 id=02197-02-2 - Temporary MTA failure on relaying, Can't connect to INET4 socket 127.0.0.1: Permission denied, MTA([127.0.0.1]:10030), id=02197-02-2 (in reply to end of DATA command))

Can someone suggest me what's the issue here?, I am unable to understand . Please help.

Thanks in advance
Ashish


More information about the amavis-users mailing list