Maybe OT - postfix and catch-all accounts

Drew Marshall drew at THEMARSHALLS.CO.UK
Tue Oct 12 10:10:32 IST 2004


On Mon, October 11, 2004 23:50, Brian Parish said:
> This could be a purely postfix issue, so apologies if it's a bit OT here.
>
> One of the domains I host requires a catch-all mail account - yes, I
> know - spam collector.  I understand that the way this is done is to
> put:
>
> @domain mailbox
>
> in /etc/postfix/virtual then postmap virtual
>
> But I find with this defined that some properly defined addresses for
> other domains end up having their mail directed to the catch-all.  I
> can't work out a pattern, but monitoring shows an incoming message to:
>
> valid-address at valid-domain being scanned by MailScanner, found clean and
> directed to the catch-all.  Other addresses in the same domain work
> correctly.
>
> By commenting out the catch-all account and running postmap again, these
> addresses work correctly without other alteration.
>
> Have I found a bug or a feature I don't understand?
>
What is the order that you have listed the addesses in
/etc/postfix/virtual? Postfix does work on a first match basis.

Drew


--
In line with our policy, this message has
been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.
www.themarshalls.co.uk/policy

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list