On 2011-07-17 07:04 AM, Sam Varshavchik wrote: > > /etc/courier/aliases/system:@qtmoz.org: [email protected] <--- > > ... > > I'm not sure where the "loops back to myself" comes from or the > > [email protected][email protected] construction? > > Virtual @domain addresses get written using 'me' for the domain. If > you do not have 'me', the results of gethostname get used instead. > That's where smtp.renta.net comes from. From the makealiases page:
So to avoid the "loops back to myself" error I may need to put just renta.net in /etc/courier/me rather than the FQDN of smtp.renta.net. > The following special syntax implements a virtual domain. A virtual > domain redirects all mail for an entire domain to one user: > @domain: user > This special entry results in any recipient address of the form > foo@domain to be rewritten as user-foo@me, where me is the hostname > of the machine, which we expect to be a local domain. > > In your case [email protected], me=smtp.renta.net, > domain=qtmoz.org, and foo=markc, so > > user-foo@me becomes [email protected][email protected] Okay I get most of that except the foo=markc bit. Where does this part of courier pick up the "markc" part? Oh, from the LHS of the incoming mail. So spam to various users @qtmoz.org will go to different destinations. Hmm, I'm definitely confused. Perhaps I should simply ask how do I best redirect all incoming mail for a virtual domain (qtmoz.org in this case) into a single local mailbox? ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
