As most of you probably know by now I have a Postfix server with dspam which mostly works.

I'm new to postfix and have some questions that hopefully someone here can help with.

At present, I have postfix configured to use virtual users with the settings in a MySQL database. The configuration is such that (1) mail to any user at domain example.com gets (2) forwarded to a [EMAIL PROTECTED], which (3) gets dropped into a mailbox which (4) is collected via POP3 by an office server using fetchmail, then (5) separated out into individual users by the office server.

Everything from (4) needs to remain as is for a range of reasons not worth going in to here.

The problem is that as things are, mail to [EMAIL PROTECTED] gets forwarded to [EMAIL PROTECTED] and downloaded with Postfix's X-Original-To: set to [EMAIL PROTECTED], not [EMAIL PROTECTED], completely destroying fetchmail's ability to separate the mail correctly at stage (5).

My guess is that I need to be aliasing and not forwarding but I'm not sure at which point in the process that gets set, any hints as to where I should be looking?

(It also appears that I might be spam checking both before and after the forward, which is a rather pointless waste of resources, but I might be wrong on that.)

--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555       
Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG


_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to