Weblog entry #3 for cpankonien

exim4 550: relay not permitted
Posted by cpankonien on Tue 27 Dec 2005 at 14:45
Tags: none.
I have been wrestling with this problem for about the last two weeks..I have set up an imap mail server in my office, which is mydomain.net. I also have the domain mydomain.com, which is hosted by a local isp (pop3). I can send mail from .net to .com, but when I send from .com to .net, I get a "550: relaying not permitted" error. (Mind you I had this same setup working about a month ago, but wanted to do it again to be more familiar with the setup. It seemed way too easy the first time!) Setup is as follows:
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

Posted by cpankonien (68.34.xx.xx) on Fri 30 Dec 2005 at 22:55
[ Send Message | View Weblogs ]
never mind, i installed postfix/dovecot and it works fine now...

[ Parent | Reply to this comment ]

Posted by Anonymous (59.167.xx.xx) on Wed 4 Jan 2006 at 11:54
Add domain or ip range to receipt hosts or local domains

[ Parent | Reply to this comment ]

Posted by cpankonien (68.34.xx.xx) on Wed 4 Jan 2006 at 18:28
[ Send Message | View Weblogs ]
yes, tried both of those to no avail...

[ Parent | Reply to this comment ]

Posted by Anonymous (84.56.xx.xx) on Thu 23 Mar 2006 at 00:10
just alter the dc_relay_nets variable...
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 ]

Posted by mvc (216.58.xx.xx) on Thu 18 Jan 2007 at 18:50
[ Send Message ]
For the record, this page was among those I found through Google when experiencing the exact same problem with exim4, and after trying all the other suggestions posted here (among others) I solved this in about 30 seconds by switching to postfix as well. So, thanks for the tip.

[ Parent | Reply to this comment ]

Posted by Anonymous (65.185.xx.xx) on Sat 26 May 2007 at 22:42
yes, god knows you wouldn't want to spend any time to understand a problem. Godspeed.

[ Parent | Reply to this comment ]

Posted by GhostR (217.237.xx.xx) on Wed 18 Jul 2007 at 12:18
[ Send Message | View Weblogs ]
Ok, this is also getting on my nerves now!
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 ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Mail Filtering

Quick Site Search