|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: MacShane, Tracy (Tracy.Macshane
AirservicesAustralia.com)
Date: Wed Dec 05 2007 - 21:10:25 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> -----Original Message-----
> From: owner-postfix-users
postfix.org
> [mailto:owner-postfix-users
postfix.org] On Behalf Of Curtis
> H. Wilbar Jr.
> Sent: Thursday, 6 December 2007 1:41 PM
> To: postfix-users
postfix.org
> Subject: alias/transport/etc address question
>
>
> I sure hope this isn't a 'stupid' question.
>
> I've been using postfix where I work for 4 years (where I was
> introduced to postfix).
...
>
> When I converted to postfix, I did something similar... I did
> the same alias and did the mailmaps piece in a transport:
>
> jane
hawkmountain.net error:Mailbox closed
>
> However... this didn't work... as it appears the alias gets
> expanded (envelope wise) from jdoe
to jane
, and then the
> transport map take it to an error.
>
> I've looked and looked and read the address rewriting section
> of postfix.org's doc pages.... but while I've tried several
> things... I haven't figured out how to pull this off in postfix.
>
> This is the first time I've had to do something in postfix
> that I haven't figured out yet.... currently I'm stumped...
>
> Any advice is greatly welcome.
>
> Thanks,
>
> -- Curt
In main.cf, in the smtpd_recipient_restrictions, put in a recipient
check:
check_recipient_access hash:/etc/postfix/recipient_access
Then create (and hash) the recipient_access map:
jane
hawkmountain.net REJECT
I actually haven't tried this with local aliases, but I don't see why it
wouldn't work (I'm sure someone will tell both of us if this is
incorrect). Also, get rid of the altered transport entry.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]