Spam Quarantine Not working

Thomas Arendsen Hein thomas at intevation.de
Fri Apr 9 09:58:58 CEST 2010


* Johannes Graumann <johannes_graumann at web.de> [20100202 15:38]:
> My /kolab/etc/kolab/templates/amavisd.conf.template contains this:
> 	$spam_quarantine_to = 'kolab+shared.spambox\@$mydomain';
> 
> I now get spam messages with the following delivered to my mailbox:
> 
> > Final-Recipient: rfc822; <someone>
> > Original-Recipient: rfc822;<someone>
> > Action: failed
> > Status: 4.5.0
> > Remote-MTA: dns; 127.0.0.1
> > Diagnostic-Code: smtp; 451 4.5.0 Error in processing, id=11576-01-2,
> > quar+notif
> >     FAILED: Can not quarantine: 501 5.1.3 Failed, id=11576-01-2, from
> >     MTA([127.0.0.1]:10026): 501 5.1.3 Bad recipient address syntax at
> >     /kolab/sbin/amavisd line 10358.
> 
> What am I doing wrong?

You're using a global shared folder which was never designed to
receive emails. We recommend using group accounts for such things.

Besides that, single quotes disable variable interpolation in perl,
so $mydomain does not get expanded. Use double quotes instead.

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner




More information about the users mailing list