Bluehost.com Web Hosting $6.95

Re: Delivery to the wrong account

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2004
Magnus Bäck
 
Posts: n/a
Default Re: Delivery to the wrong account

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:16 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0