From: Magnus Bäck (no email)
Date: Mon Nov 15 2004 - 10:28:14 EST
On Monday, November 15, 2004 at 16:15 CET,
David Wilson <> wrote:
[...]
> All I get is the following in my /var/log/maillog (davew1 being an alias in
> /etc/aliases):
> Nov 15 17:10:39 mail postfix/smtpd[18653]: connect from unknown[10.1.100.17]
> Nov 15 17:10:39 mail postfix/smtpd[18653]: NOQUEUE: reject: RCPT from
> unknown[10.1.100.17]: 550 <>: Recipient address
> rejected: User unknown in virtual mailbox table; from=<.za>
> to=<> proto=ESMTP helo=<gateway.somedomain.co.za>
> Nov 15 17:10:39 mail postfix/smtpd[18653]: disconnect from
> unknown[10.1.100.17]
There are at least two solutions to your problem.
a) Forget about mailbox_transport=virtual and implement a straight
virtual mailbox domain setup as outlined in the documentation.
Use virtual aliases to rewrite the Mailman addresses to a local
domain so that local delivery will take place for those addresses.
Example for virtual_alias_maps:
foo-request at localhost
alias_maps:
foo-request: |/path/to/mailman
If you need a foo-request address in multiple domains, you
need to add something domain-unique to the local aliases
(foo-request.somedomain, foo-request.otherdomain or whatever).
b) Let somedomain.co.za be a local domain (mydestination), but set
fallback_transport=virtual and add $virtual_mailbox_maps to
local_recipient_maps. That way, virtual mailbox addresses will be
considered local by smtpd(8), and local(8) will send messages
addressed to unknown users to virtual(8).
I'd go for a).
[...]
-- Magnus Bäck
|
|
|