Discussion:
exim4 - 550 relay not permitted
Bernhard Finkbeiner
2005-12-08 21:33:37 UTC
Permalink
Hi everybody,

I am new to exim4. I need to use a relay server to send mail. I did the
following to realize it (I use Debian 3.1 with exim4):

- I edited /etc/exim4/passwd.clients and set the IP of the relay server,
my username and my password
- I edited /etc/exim4/update-exim4.conf.conf and set
"dc_eximconfig_configtype='smarthost'" and
"dc_smarthost='<IP-Address>'"
- last, I called update-exim4.conf and restarted exim4
with /etc/init.d/exim4 restart

after that I get this message in /var/log/exim/mainlog when trying to
send a mail:

2005-12-08 21:43:42 1EkSc7-0001h1-24 ** ***@on-web.de R=smarthost
T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT
TO:<***@on-web.de>: host <IP-Address> [<IP-Address>]: 550 relay not
permitted

The Relay-Server was especially installed by my Provider because of
problems. So my username and password are authorized to connect to it.

Did I miss a setting/configuration? User, IP and password seam to be
right. I couldn't find anything in the Wiki or in the archive.

Hope you can help me - I am not very familiar with exim4.

--
Greetings from Ulm, Germany,
Bernhard
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
Rory Campbell-Lange
2005-12-08 22:59:28 UTC
Permalink
Post by Bernhard Finkbeiner
Hi everybody,
I am new to exim4. I need to use a relay server to send mail. I did the
- I edited /etc/exim4/passwd.clients and set the IP of the relay server,
my username and my password
Check out /etc/exim4/conf.d/auth/30_exim4-config_examples

Rory
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
Dennis Skinner
2005-12-08 23:07:14 UTC
Permalink
Post by Bernhard Finkbeiner
T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT
permitted
That message is not from the relay server (smarthost), it is from Exim.
Neither the sender nor the reciepient is someone that Exim handles
locally, so it thinks (correctly) that you are trying to relay though it.

Somewhere in your configs should be a line like:

hostlist relay_from_hosts = 127.0.0.1

Add your computer's IP to it, like:

hostlist relay_from_hosts = 127.0.0.1 : <IP-Address>

Then be sure to either restart or HUP Exim.
--
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
Magnus Holmgren
2005-12-09 00:54:49 UTC
Permalink
Post by Dennis Skinner
Post by Bernhard Finkbeiner
T=remote_smtp_smarthost: SMTP error from remote mailer after RCPT
permitted
That message is not from the relay server (smarthost), it is from Exim.
Neither the sender nor the reciepient is someone that Exim handles
locally, so it thinks (correctly) that you are trying to relay though it.
I believe you are mistaken. "R=smarthost T=remote_smtp_smarthost: SMTP
error from remote mailer after RCPT TO:" indicates that his Exim routed
the message using the smarthost router, but that the remote host
rejected him. If it were his own Exim that rejected the address, you
would see a different line (without a message ID and status symbol
("**")) in the log (unless Exim accepted the message but later refused
to deliver it, which would be highly unusual and very wrong).
--
Magnus Holmgren
Marc Haber
2005-12-09 21:24:13 UTC
Permalink
Post by Bernhard Finkbeiner
- I edited /etc/exim4/passwd.clients and set the IP of the relay server,
my username and my password
Use exim -d to find out whether your exim is actually trying to
authenticate. I suspect that it wants to see whatever reverse DNS
entry is there for your relay server.
Post by Bernhard Finkbeiner
Did I miss a setting/configuration? User, IP and password seam to be
right. I couldn't find anything in the Wiki or in the archive.
You surely missed the Debian exim4 user's mailing list. Where did you
find this address, and wasn't the Debian exim4 users's mailing list
mentioned besides?

Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/
Continue reading on narkive:
Search results for 'exim4 - 550 relay not permitted' (Questions and Answers)
3
replies
have ticketmaster been hacked?
started 2012-02-11 10:25:47 UTC
security
Loading...