forward_method error

Stephen Davies sdavies at
Tue Oct 21 08:18:48 CEST 2014

I am in the process of migrating an existing amavisd + amavisd_milter 
installation from Mandriva (amavisd-new-2.7.0 (20110701)) to Centos 7 
(amavisd-new-2.9.1 (20140627)) and have run into an error.

Error in processing, id=43445-01, delivery-notification FAILED: temporarily 
unable to send DSN to <scldad at>: 451 4.5.0 From MTA() during 
fwd-connect (All attempts (1) failed connecting to smtp:[]:10025): 
id=43445-01 at /usr/sbin/amavisd line 14280

At line 927:929 amavisd has:

$forward_method = $have_inet6 && !$have_inet4 ? 'smtp:[::1]:10025'
                                                 : 'smtp:[]:10025';
   $notify_method = $forward_method;

I believe that this should be over-ridden by the local amavisd.conf entries:

$notify_method  = 'smtp:[]:587';
# $forward_method = 'smtp:[]:10025';  # set to undef with milter!
$forward_method = undef;

However, the error messages suggests otherwise.

The old installation does not have the issue.

What am I missing?

Cheers and thanks,
Stephen Davies Consulting P/L                             Phone: 08-8177 1595
Adelaide, South Australia.                                Mobile:040 304 0583
Records & Collections Management.

More information about the amavis-users mailing list