OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: E-mail "alias"

From: Dov Oxenberg (boxenberghotmail.com)
Date: Tue Aug 05 2008 - 19:50:58 CDT


Thank you Noel, that is exactly what I am looking for.
So if I understand you correctly, once I have the virtual_alias value in place, assuming I can configure my mail client with an alternate address, matching the value of "virtual_alias" in my Postfix, the Postfix MTA will relay the mail for me, is that correct?
Thanks for the prompt reply,
Dov

> Date: Tue, 5 Aug 2008 17:17:51 -0500> From: njonesmegan.vbhcs.org> To: postfix-userspostfix.org> CC: boxenberghotmail.com> Subject: Re: E-mail "alias"> > Dov Oxenberg wrote:> > Hello,> > Please forgive the stupid question but I have done my due diligence and > > was unable to locate a definitive answer in the Postfix FAQ, > > Documentation, or How To.> > Basically what I want to do seems simple enough I am just not sure how > > to go about it. Currently I run a Mailman mailing list using Postfix as > > the MTA and all mail is getting sent to the subscribers. > > Outside of the mailing list, I want to create an e-mail alias such as > > aliasexample.com <mailto:aliasexample.com> where example.com is my > > qualified Internet Domain name (same as the Domain name used for the > > Mailman mailing list), and have that forwarded to either this Hotmail > > account or my BellSouth e-mail box.> > Where would I create this e-mail address and how do I tell Postfix to > > send the mail to my legitimate mailbox?> > A virtual_alias_maps entry should do what you want. Note that > example.com does *not* need to be defined in > virtual_alias_domains (but OK if it is for other purposes).> > # virtual_alias> aliasexample.com targethotmail.com> > > > Secondly, would it be possible to compose a message from my legitimate > > e-mail account and use my Postfix as a sort of relay, where Postfix > > would accept my message, then make it appear as though it were coming > > from aliasexample.com <mailto:aliasexample.com> and send it to its > > intended recipient? What I mean is, at the final intended destination > > of the message, I would like the e-mail to appear as though it was from > > aliasexample.com <mailto:aliasexample.com> as opposed to my real > > e-mail address.> > Thanks!> > Dov> > It's generally better to configure your mail client to set the > sender address to what you need.> You can use smtp_generic_maps to rewrite some address to some > other specific address.> http://www.postfix.org/ADDRESS_REWRITING_README.html#generic> > If what you are wanting to do is send mail through your > hotmail account and have it appear as if it comes from > example.com, that depends on what hotmail allows. Gmail, for > example, allows you to set an alternate sender address once > you prove you control that alternate address - but this has > nothing to do with postfix or your local server.> > -- > Noel Jones