Things were running well until last night.
Happened to be at the office at that time, so it wasn't
such a crisis (for the owners)
Antispam stopped, Antivirus stopped...
this information was found in an individual message that was stuck in the "deferred queue"
Content filter: smtp-amavis:[127.0.0.1]10024
Size: 7144
Reason: connect to 127.0.0.1[127.0.0.1]:10024:connection refused
I googled that phrase, and found a post from 2005 on this forum, from the
user andreycheck
Connection refused (port 10024)
"I discovered this can happen if Amavis doesn't understand one's FQDN. I solved it by setting the $myhostname var in /opt/zimbra/conf/amavisd.conf and /opt/zimbra/conf/amavisd.conf.in, as well as myhostname in /opt/zimbra/postfix/conf/main.cf.
-Eric"
here are the variables from the three listed configuration files that
andreycheck mentioned above
Code:
/var/opt/zimbra/conf/amavisd.conf
$myhostname = 'mail.mydomainname.com'; # must be a fully-qualified domain name!
/var/opt/zimbra/conf/amavisd.conf.in
$myhostname = '@@zimbra_server_hostname@@'; # must be a fully-qualified domain name!
/opt/zimbra/postfix/conf/main.cf
non_smtpd_milters =
setgid_group = postdrop
alias_maps = hash:/etc/aliases
mydestination = localhost
myhostname = mail.mydomainname.com
message_size_limit = 10240000
recipient_delimiter =
in_flow_delay = 1s
Q: in the above config line
$myhostname = '@@zimbra_server_hostname@@';
it's not "mail.mydomainname.com"
should I change it to reflect that?
(i should remove both the leading and trailing "@" symbols in this file, correct?)
Q: that's the "default", I have never edited that file before...
this service seems to run for several days at a time, but
suddenly seems to stop, at which time all mail is held in deferred queue
(seems to be both send and receive)
why does it seem to function for a whie, and then suddenly stop?
if anyone can point me to where I can check for this, it would be greatly
most appreciated.
I have grepped "amavis" and "amavisd" and "amavis*" in the
/opt/zimbra/log/mailbox.log.(date of error) file, and it returns no results.
grepping "WARN" doesn't return any results regarding amavisd or anti-spam or anti-virus...
any assistance greatly appreciated...
thank you
Bill