This is mostly a postfix problem, but I think it more likely that
someone who uses postfix+dspam will understand it, hence mailing here
not to a postfix list. Hope that's OK.
I have a working postfix+dspam configuration, that accepts mail, passes
it to dspam, then delivers it to local mailboxes via postfix on port 10026.
I now need to handle additional domains but which will now forward to
another smtp server after dspam checking. If I add the domain into my
transports map it forwards it fine, except that it happens before the
dspam check.
I have now added a different transport map to the postfix on port 10026
which contains the smtp: forward address, but postfix then complained
that the user was invalid: "status=bounced (unknown user: [EMAIL PROTECTED])".
I tried adding the user to my virtual_mailbox_maps so that at least
Postfix gets an answer for @my.domain, but now Postfix seems to have
actually managed to deliver it to that "mailbox" (the mailbox value was
a dummy value, but Postfix has created a new mailbox by that name and
dropped it there). The mail added to that mailbox doesn't have dspam
headers, so I guess it's bypassed checking too.
So I'm missing something here! What I want is for Postfix to accept
anything for that domain (or, optionally, just users for that domain
that I specifiy), pass it through dspam, then forward it to the
nominated SMTP server (queuing it if the server isn't available for any
reason).
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555
Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG