/usr/local/etc/rc.d/amavisd: WARNING: failed to start amavisd

Len Conrad LConrad at Go2France.com
Tue Sep 4 13:14:25 CEST 2012

fbsd 9.0

amavis 2.8.0

postfix 2.10-20120801

amavis was starting and logging to the postfix maillog, but I was getting

Sep  4 05:53:11 mx1 amavis[6117]: (!)DENIED ACCESS from IP xx.xx.xx.91, policy bank ''

Sep  4 05:53:11 mx1 postfix/smtp[6144]: 759AE189250: to=<lconrad at go2france.com>, relay=[]:10024, delay=495, delays=495/0.01/0.02/0, dsn=4.4.2, status=deferred (lost connection with[] while receiving the initial server greeting)

so I changed a couple items in amavisd.conf, and now amavis won't start and isn't logging any error to maillog

mx1# /usr/local/etc/rc.d/amavisd start
Starting amavisd.
/usr/local/etc/rc.d/amavisd: WARNING: failed to start amavisd

amavisd logging is:

$log_level = 5;              # verbosity 0..5, -d
$log_recip_templ = undef;    # disable by-recipient level-0 log entries
$do_syslog = 1;              # log via syslogd (preferred)
$syslog_facility = 'mail';   # Syslog facility as a string

I scrogged amavisd.conf, but without any error in maillog or syslog,  I'm flying blind.



found the missing ";"  in amavisd.conf with:

/usr/local/sbin/amavisd -d 5

but still postfix is connecting to :10024 amavis then losing the connection.  

More information about the amavis-users mailing list