This is a discussion on Re: Delivery to the wrong account within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Tuesday, January 27, 2004 at 05:42 CET, Ed Greenberg <edg@greenberg.org> wrote: > I have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tuesday, January 27, 2004 at 05:42 CET,
Ed Greenberg <edg@greenberg.org> wrote: > I have a user who receives mail at one particular domain (call him > ted@a.com). His accountname on the box is "ted" and mail addressed to > ted@a.com comes to him via the virtual file. >=20 > My server recently received a message addressed to ted@b.com, which is > not defined in virtual, and should have bounced. Instead, it was > delivered to ted (who is ted@a.com) at his local mailbox. If b.com is a virtual alias domain, don't list it in mydestination. Read ADDRESS_CLASS_README. > So how do I keep this from happening? >=20 > Supposing I do this in virtual: >=20 > ted@a.com ted > joe@a.com joe > fred@a.com fred > @a.com [what do I put here to make it bounce?] A LHS of @a.com will explicitly set up a catch-all alias. If you want mail to non-existent users in the virtual alias domain to bounce, just remove that line. For virtual alias domains, don't forget to either list a.com as a LHS in the virtual alias map, or list a.com in virtual_alias_domains. It's a good idea to have fully-qualified addresses on the RHS of virtual alias maps. [...] Do *not* start new threads by replying to messages in unrelated threads. --=20 Magnus B=E4ck magnus@dsek.lth.se |