View previous topic :: View next topic |
Author |
Message |
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Sat Jan 04, 2003 10:30 am Post subject: Relaying Hotpop mail through postfix |
|
|
I use postfix, procmail and fetchmail for my mail setup - just switched from nbsmtp (and using procmail as fetchmail's MTA). I can't seem to get postfix to relay mail through my "ISP": Hotpop (gamebox.net, actually). It won't accept all relays, it will only send for registered users (I am registered). I've heard about a "smart hosts" feature... how can I use it? _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
vicay Tux's lil' helper
Joined: 29 Apr 2002 Posts: 97 Location: Dresden, Germany
|
Posted: Sat Jan 04, 2003 11:34 am Post subject: Re: Relaying Hotpop mail through postfix |
|
|
tactless wrote: | I use postfix, procmail and fetchmail for my mail setup - just switched from nbsmtp (and using procmail as fetchmail's MTA). I can't seem to get postfix to relay mail through my "ISP": Hotpop (gamebox.net, actually). It won't accept all relays, it will only send for registered users (I am registered). I've heard about a "smart hosts" feature... how can I use it? |
Hello,
could you please show some logs and your
postconf -n output?
Thanks
vicay |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Sat Jan 04, 2003 1:21 pm Post subject: |
|
|
postconf -n
Code: |
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
inet_interfaces = $myhostname, localhost
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -d "$LOGNAME"
mydestination = $myhostname, localhost.$mydomain
mydomain = localhost
myhostname = localhost
myorigin = gamebox.net
queue_directory = /var/spool/postfix
relayhost = gamebox.net
|
This is the error E-mail I get (sent from the local postfix... Hotpop's postfix used to send me a notice about their server being for registered users only, but they stopped doing that)
Code: |
This is the Postfix program at host localhost.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<mezlaq@yahoo.com>: host mx2.gamebox.net[204.57.55.11] said: 550
<mezlaq@yahoo.com>: Recipient address rejected: Unknown local address, or
relaying denied (in reply to RCPT TO command)
|
This line in the mail logs seems relevant:
Code: | Jan 4 12:19:09 [postfix/smtp] A8CA5580A2: to=<mezlaq@yahoo.com>, relay=mx2.gamebox.net[204.57.55.11], delay=14, status=bounced (host mx2.gamebox.net[204.57.55.11] said: 550 <mezlaq@yahoo.com>: Recipient address rejected: Unknown local address, or relaying denied (in reply to RCPT TO command)) |
In the from field of the E-mail, I have tactless@gamebox.net... but that doesn't seem to be sufficient. Postfix is configured to use localhost as its domain name (I have no external IP address). _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
vicay Tux's lil' helper
Joined: 29 Apr 2002 Posts: 97 Location: Dresden, Germany
|
Posted: Sat Jan 04, 2003 3:28 pm Post subject: |
|
|
Hello again,
thanks for the input.
OK, you seem to send all outgoing mail
to the registered Mailexchanger of the domain of "gamebox.net"
(mx1.gamebox.net,mx2.gamebox.net).
You try to relay over this host.
Code: | Jan 4 12:19:09 [postfix/smtp] A8CA5580A2: to=<mezlaq@yahoo.com>, relay=mx2.gamebox.net[204.57.55.11], delay=14, status=bounced (host mx2.gamebox.net[204.57.55.11] said: 550 <mezlaq@yahoo.com>: Recipient address rejected: Unknown local address, or relaying denied (in reply to RCPT TO command)) |
but mx1.gamebox.net does not allow you to relay.
Your postfix seems not to be the problem at a first glance.
The gamebox postfix rejected the recipient-adress (xyz@yahoo.com)
Normally a postfix server allows relaying,
-> if the client is part of a certain IP-Network
-> or has provided an authentication to the server
(like POP-before-smtp or SMTP-AUTH)
I just connected to mx1.gamebox.net and it seems not to be
able of authenticating users via SMTP-AUTH.
You should get in contact with the gamebox.net tech-staff and ask whether they provide
and under what circumstances they provide a relaying mail-service to their customers.
Best regards
vicay |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|