Re: postfix: local mail goes to relayhost!

2000-12-13 Thread Mark Brown
On Tue, Dec 12, 2000 at 02:01:36AM -0800, Erik Steffl wrote:

 mydestinations = jojda, localhost, jojda.2y.net

That should be mydestination.

-- 
Mark Brown  mailto:[EMAIL PROTECTED]   (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFShttp://www.eusa.ed.ac.uk/societies/filmsoc/


pgp7jWObQVXai.pgp
Description: PGP signature


postfix: local mail goes to relayhost!

2000-12-12 Thread Erik Steffl
  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



Re: postfix: local mail goes to relayhost!

2000-12-12 Thread Florian Kessler
Am 12.12.2000 11:01 Uhr schrieb Erik Steffl unter [EMAIL PROTECTED]:

 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
 
Hi Erik,

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

Florian