On Sun, Jan 4, 2009 at 2:43 PM, mouss <mo...@ml.netoyen.net> wrote:
> Asif Iqbal a écrit :
>> On Sun, Jan 4, 2009 at 6:11 AM, mouss <mo...@ml.netoyen.net> wrote:
>>> Asif Iqbal a écrit :
>>>> Hi All
>>>>
>>>> All my email gets relayed thru gmail as it should. But how do I tell
>>>> it to send all localemails to local spool and not send it to gmail?
>>
>> I see qmgr sends the mail to smtp and local like in this flowchart
>>
>> http://www.postfix.org/OVERVIEW.html#delivering
>>
>> How do I tell qmgr which one should be delivered to local and which one to 
>> smtp?
>>
>
> maybe by reading what I said? or should I repeat? if so, let's go:

ok have a chill pill while I answer your question

>
> - 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 iqb...@ghar-iqbala.lan or say r...@ghar-iqbala.lan
should go to
local Maildir instead of trying to deliver it thru my relayhost

>
> - if it's for specific addresses, use virtual_alias_maps as I already said.
>

So is that how qmgr decides what should be sent to local and what to
smtp? That was a question I posted earlier in case you have not read
it

>
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu

Reply via email to