Weblog entry #3 for cpankonien
Debian Sarge minimal install with dovecot-imapd installed.
Exim4 setup for internet (smtp send and receive).
Imap server hanging off orange interface of ipcop firewall.
Imap and imaps ports forwarded from red interface to appropriate orange interface ports.
Bandwidth = cable modem.
The complete error message is "[cablemodem/red interface ip address] does not like recipient.
Remote host said: 550 relay not permitted
Giving up on [cablemodem/red interface ip address].
"Recipient" is a valid user on imap mail server.
Any suggestione would be greatly appreciated!
Comments on this Entry
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
the trick is to seperate multiple entries by :
example:
I had
dc_relay_nets='192.168.1.0/24 127.0.0.1'
---> got the error message
now I have
dc_relay_nets='192.168.1.0/24:127.0.0.1'
---> now it runs
cheers, johannes
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
I just went from sarge to etch on my private mailserver!
Same Setup, exim4 with dovecot, spamassasin, clam...
I get also a 550 relay not permited now, before that I had to set smtp_enforce_sync = false to get TLS/SSL working in exim4, seems like auth is broken, I dont get it why tough!
I m also almost at the point of swithing to postfix or something else! btw, I do auth to local dedicated mailusers with /bin/false
[ Parent | Reply to this comment ]
[ Parent | Reply to this comment ]
my exim4/courier IMAP server has been working for ages. Now my notebook is tunnelled into the server and exim gives me the 550 relay not permitted error.
I've set AUTH_SERVER_ALLOW_NOTLS_PASSWORDS, and that didn't help (it still won't let me authenticate -- which apparently gets around the relay check).
I've added 127.0.0.1/8 to MAIN_RELAY_NETS.
H=thisismy.localhostname ([127.0.0.1]) [127.0.1.1] F=<me@myisp.com.au> rejected RCPT <me@myisp.com.au>: relay not permitted
It's completely weird since I can send mail to that address using mail on the server or from my notebook on the local network. (yes, I can send to local addresses -- not that that helps a great deal)
Fixed by manually editing update.exim4.conf.conf to add 127.0.0.1/8 to the list of hosts to relay from.
Note that (at least in my case) the host the mail appears to be coming from is 127.0.1.1, not 127.0.0.1 which is surprisingly easy to miss...
I'm surprised that setting MAIN_RELAY_NETS in /etc/exim4/conf.d/main/000localmacros didn't work.
[ Parent | Reply to this comment ]