On Sun, Jan 4, 2009 at 6:35 PM, Sahil Tandon <[email protected]> wrote: > Asif Iqbal wrote: > >> > - what do you mean by "localemails"? which mail do you want to deliver >> > locally? >> >> I meant mails for local domain. My laptop does not really have a valid >> domain name. >> So any mail to say [email protected] or say [email protected] >> should go to >> local Maildir instead of trying to deliver it thru my relayhost > > Postfix will not go to gmail (which is your relayhost) to deliver mail > if that mail is addressed to a *local* domain. You need to include > 'ghar-iqbala.lan' in the mydestination parameter in main.cf. Mouss
uh huh! that was it. If the domain name is defined in `mydestination' it is considered local mail. That is exactly what I was looking for. Thanks a lot! > already gave you this clue. > > For more information: > http://www.postfix.org/postconf.5.html#mydestination > http://www.postfix.org/STANDARD_CONFIGURATION_README.html > http://www.postfix.org/ADDRESS_CLASS_README.html > > -- > Sahil Tandon <[email protected]> > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
