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

Re: Problem with postfix relaying



High,

On Sun, 17 Feb 2002, Jor-el wrote:

> Hi,
>
> 	In my current setup, my MUA talks directly to the smtp server of
> my ISP to send mail. I wanted to change that to where it would send mail
> to an smtp server running on my machine (postfix) which would then relay
> it to my ISP's smtp server. Unfortunately, for some reason, postfix seems
> to be talking to another smtp server. Here are the relevant entries in
> main.cf :
>
> program_directory = /usr/lib/postfix
> myhostname = trillian.megadodo.umb
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = trillian.megadodo.umb, localhost.localdomain
> relayhost = smtp-server.austin.rr.com
I have brackets around this in my main.cf. I do not know if this is your
problem, but this line is all I needed to do:

relayhost = [my.isp.mail.server.com]

> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> #recipient_delimiter = +
> sender_canonical_maps = hash:/etc/postfix/sender.map
>
> 	According to the above config, I would expect postfix to talk to
> smtp-server.austin.rr.com . However, the tcpdump traces I have been
> running show that it has been talking to texlog.texas.rr.com - which
> promptly bounces my mail saying - "Relaying denied". What am I doing
> wrong?
>
Greetz,
Sebastiaan




Reply to: