it looks like the local mail goes via relay host, here's my settings
(I think that's the relevant part of main.cf):

myorigin = jojda.2y.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
program_directory = /usr/lib/postfix
mydestinations = jojda, localhost, jojda.2y.net
relayhost = mail.earthlink.net
mynetworks = 127.0.0.0/8
mailbox_command = procmail
recipient_delimiter = +

  here's what happens if user erik sends email to root:

Dec  9 20:35:59 jojda postfix/pickup[6950]: 7C40B1D663: uid=1000
from=<erik>
Dec  9 20:35:59 jojda postfix/cleanup[7004]: 7C40B1D663:
message-id=<[EMAIL PROTECTED]>
Dec  9 20:35:59 jojda postfix/qmgr[6951]: 7C40B1D663:
from=<[EMAIL PROTECTED]>, size=297, nrcpt=1 (queue active)
Dec  9 20:36:03 jojda postfix/smtp[7006]: 7C40B1D663:
to=<[EMAIL PROTECTED]>, relay=mailgate.earthlink.net[207.217.120.239],
delay=5, status=sent (250 UAA27395 Message accepted for delivery)

  the root of course does not get the message. how to make it NOT go
through the relay for the mydestination domains/hosts?

  TIA

        erik

Reply via email to