spam forwarding not working

Glenn Steen glenn.steen at gmail.com
Tue Oct 10 10:31:36 IST 2006


On 10/10/06, Nigel Kendrick <support-lists at petdoctors.co.uk> wrote:
> Hi guys,
>
> I have setup a spam mailbox on our local mail server that users can submit
> their unwanted stuff to - it's called 'spam@[snipped]'
>
> The 'spam' mailbox is submitted to spamassassin every night via a cron job.
> This works with no problems for mail that people manually forward, but I
> also have this line in MailScanner.conf:
>
> High Scoring Spam Actions = delete forward spam@[snipped]
>
> Unfortunately, this triggers the following emails to me (at root):
>
> ++++++++++
>
> This is the Postfix program at ...
>
> I'm sorry to have to inform you that your message could not be delivered to
> one or more recipients. It's attached below.
>
> [Snip]
>
> <spam@[snipped]>: User unknown in virtual alias table
>
> ++++++++++
>
> I have also tried local delivery by putting the forward address as
> 'spam at servername' - am I hitting problems because spam is being resubmitted
> to MailScanner before being forwarded, but even then why a 'user unknown'
> message?
>
> MailScanner is 4.55.10, PostFix is 2:2.2.10-1.RHEL4.2 on CentOS 4.4
>
> Thanks
>
> Nigel Kendrick
>
>
Nigel,

Virtual aliases are expanded _after_ MailScanner, so you cannot use a
virtual alias in a rule like that (for addressing).
Simply change it to the real address and things should work out OK:-).

-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list