Mark Brown wrote:
> 
> On Sat, Dec 09, 2000 at 01:15:09AM -0800, Erik Steffl wrote:
> 
> > main.cf:destinations = jojda, localhost
> 
> >   however, postfix is confused, when I send email it tries to connect to
> > jojda.2y.net and then get jojda back as hostname, compalins and does not
> > send email, here's relevant part of syslog:
> 
> There's a bug in the Debian configuration scripts for Postfix - the
> parameter which controls which domains Postfix considers local is
> actually called "mydestination".
> 
> What you're specifying seems reasonable, although you'll need to specify
> the domain part of your hostname if you're using that in local e-mail.

  does not help, now I have (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 = +

  but when I mail root, this is what I get (syslog):

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)

  which means that it was successfully sent via relayhost, right? I was
hoping it would be delivered locally.

        erik

        erik

Reply via email to