[Maia-users] could not read from amavisd socket /var/amavis/amavisd.sock: Success ?
Robert LeBlanc
rjl at renaissoft.com
Thu Sep 21 14:11:16 PDT 2006
Andi Voss wrote:
> Now I installed a dual-sendmail setup.
> When I start amavisd-maia everything is fine. Log-level is set to 5 and shows
> no errors, but I get a "stat=Deffered":
> Sep 21 11:01:54 Homer sm-mta-rx[5161]: k8L8xdWs004894:
> to=<andi at andis.mine.nu>, delay=00:02:14, xdelay=00:00:01, mailer=esmtp,
> pri=10290634, relay=[127.0.0.1] [127.0.0.1], dsn=4.4.2, stat=Deferred
>
> sm-mta-rx tries every second, and every time amavisd-maia checks the mail, but
> then is "dsn=4.4.2, stat=Deferred" - a loop is built.
>
> What's wrong?
>
> What I did:
> killall amavisd
> rm /usr/local/sbin/amavisd
> rm /etc/amavisd.conf
> cp maia-1.0.1/amavisd-maia /usr/local/sbin/
> ln -s /usr/local/sbin/amavisd-maia /usr/local/sbin/amavisd
> cp maia-1.0.1/amavisd.conf.dist /etc/amavisd.conf
> #edit /etc/amavisd.conf#
> amavisd-maia
If you installed amavisd-new with a package manager (e.g. from an
RPM/DEB/etc.), be sure to also remove it from the package manager's
database, otherwise it will be auto-updated and may overwrite your
amavisd-maia link.
> When I use the amavisd-new amavisd with its amavisd.conf (without sql for
> lookup and storage) then the transport sm-mta-rx -> amavis -> sm-mta-tx is
> working correct. The mail is beeing scanned (SPAM and VIRUS) and delivered to
> a local account.
There's nothing apparently wrong with the log excerpt you posted, so if
you're ending up with a mail loop, the problem lies either in your
sendmail configuration or in your amavisd.conf file. Since you say that
amavisd-new (in dual-sendmail, not milter) works fine between your
MTA-RX and MTA-TX, everything now points to something in your Maia
amavisd.conf. Specifically, check $forward_method, which controls where
amavisd-maia routes its mail downstream. From the look of your
"Deferred" messages, it looks like you may be pointing to your MTA-RX
instead of your MTA-TX, here.
--
Robert LeBlanc <rjl at renaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamailguard.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.renaissoft.com/pipermail/maia-users/attachments/20060921/382c6376/attachment.bin
More information about the Maia-users
mailing list