[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix: local mail goes to relayhost!



Am 12.12.2000 11:01 Uhr schrieb Erik Steffl unter steffl@bigfoot.com:

> 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=<20001210043558.7C40B1D663@jojda>
> Dec  9 20:35:59 jojda postfix/qmgr[6951]: 7C40B1D663:
> from=<erik@jojda.2y.net>, size=297, nrcpt=1 (queue active)
> Dec  9 20:36:03 jojda postfix/smtp[7006]: 7C40B1D663:
> to=<root@jojda.2y.net>, 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
> 
Hi Erik,

my conf looks like:
mydestination = $myhostname, localhost.$mydomain, $mydomain
(rest is identical to your conf)

Florian



Reply to: