Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

"550 relay not permitted"

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


peleg at freeall

May 3, 2008, 4:36 PM

Post #1 of 4 (844 views)
Permalink
"550 relay not permitted"

Hello!

I can't find my way in the documentation regarding one major issue;
whenever I send mail to test[at]lists.domain.org, which is just one of my
mailman lists, or even to peleg[at]domain.org, which should be one of the
main email addresses ("domain.org" is my local domain), I get "host
lists.domain.org [67.18.186.248]: 550 relay not permitted" (in the first
case) or "host mail.domain.org [67.18.186.248]: 550 relay not permitted"
in the second case.

In my configuration file, hostlist relay_from_hosts = MAIN_RELAY_NETS,
and above that: .ifndef MAIN_RELAY_NETS \\ MAIN_RELAY_NETS =
DEBCONFrelay_netsDEBCONF \\ .endif

But, I have read a few things about it in the net, and it seems that
because domain.org is a local domain, the configuration that is relevant
in this case is local_domains.
Though, again in local_domains I have:

.ifndef MAIN_LOCAL_DOMAINS
MAIN_LOCAL_DOMAINS = DEBCONFlocal_domainsDEBCONF
.endif
domainlist local_domains = MAIN_LOCAL_DOMAINS

It's probably something that Debian does as a default.

----

I have searched this list archives, and Debian's docs, and I have found
the following: in Debian's docs, it says: "Please enter a
semicolon-separated list of recipient domains for which
this machine should consider itself the final destination, apart from
the local hostname (${fqdn}) and "localhost". These domains are
commonly called "local domains"." - I didn't know WHERE should I do
that.
But in the archives I have seen that I should edit "dc_other_hostnames"
in update-exim4.conf. I have done that, and added a semi-colon separated
list, with domain.org and lists.domain.org.

After restarting exim, I have tried to send mail again; still, the same
reply.

I'll be happy if you could show me what do I miss.

Thanks ahead!

Peleg.


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


martin at antibodymx

May 3, 2008, 4:55 PM

Post #2 of 4 (829 views)
Permalink
Re: "550 relay not permitted" [In reply to]

Peleg Michaeli wrote:
> I can't find my way in the documentation regarding one major issue;
> whenever I send mail to test[at]lists.domain.org, which is just one of my
> mailman lists, or even to peleg[at]domain.org, which should be one of the
> main email addresses ("domain.org" is my local domain), I get "host
> lists.domain.org [67.18.186.248]: 550 relay not permitted" (in the first
> case) or "host mail.domain.org [67.18.186.248]: 550 relay not permitted"
> in the second case.

It appears that 67.18.186.248 is not configured to be a relay for you.
Either you're connecting from the wrong IP range, or without sufficient
user credentials.

Also, the rest of the internet seems to disagree with you about DNS
entries for domain.org:

martin[at]backus:~$ host domain.org
domain.org has address 216.34.94.184
domain.org mail is handled by 10 sentry.domainbank.com.
martin[at]backus:~$ host lists.domain.org
lists.domain.org has address 216.34.94.184
martin[at]backus:~$ host -t mx lists.domain.org
lists.domain.org has no MX record
martin[at]backus:~$ host -t mx domain.org
domain.org mail is handled by 10 sentry.domainbank.com.




--
Martin A. Brooks | http://www.antibodymx.net/ | Anti-spam & anti-virus
Consultant | martin[at]antibodymx.net | filtering. Inoculate
antibodymx.net | m: +447792493388 | your mail system.



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


mh+exim-users at zugschlus

May 3, 2008, 11:47 PM

Post #3 of 4 (823 views)
Permalink
Re: "550 relay not permitted" [In reply to]

On Sun, 04 May 2008 00:36:24 +0100, Peleg Michaeli <peleg[at]freeall.org>
wrote:
>I have searched this list archives, and Debian's docs, and I have found
>the following: in Debian's docs, it says: "Please enter a
>semicolon-separated list of recipient domains for which
> this machine should consider itself the final destination, apart from
> the local hostname (${fqdn}) and "localhost". These domains are
> commonly called "local domains"." - I didn't know WHERE should I do
>that.

dpkg-reconfigure exim4-config

>But in the archives I have seen that I should edit "dc_other_hostnames"
>in update-exim4.conf. I have done that, and added a semi-colon separated
>list, with domain.org and lists.domain.org.

What ends up in /var/lib/exim/config.autogenerated?

>I'll be happy if you could show me what do I miss.

You surely missed the reference to
pkg-exim4-users[at]lists.alioth.debian.org, which is the Debian support
forum for Debian's exim4 packages.

Additionally, Debian doesn't configure exim for use with mailman by
default, so you need to tell us what you have been doing to connect
your exim to mailman.

And, of course, the "do not obfuscate" rule (which Martin tried to
make you aware of) applies to pkg-exim4-users as well.

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://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


peleg at freeall

May 4, 2008, 3:24 AM

Post #4 of 4 (819 views)
Permalink
Re: "550 relay not permitted" [In reply to]

Thanks for your reply!

I am sorry, but I should've been more clear, probably.

My domain name is *not* domain.org, I just wrote it in order to
generalize... I am not sure why.

Anyway, I will answer inside the text:

On Sun, 2008-05-04 at 00:55 +0100, Martin A. Brooks wrote:
> Peleg Michaeli wrote:
> > I can't find my way in the documentation regarding one major issue;
> > whenever I send mail to test[at]lists.domain.org, which is just one of my
> > mailman lists, or even to peleg[at]domain.org, which should be one of the
> > main email addresses ("domain.org" is my local domain), I get "host
> > lists.domain.org [67.18.186.248]: 550 relay not permitted" (in the first
> > case) or "host mail.domain.org [67.18.186.248]: 550 relay not permitted"
> > in the second case.
>
> It appears that 67.18.186.248 is not configured to be a relay for you.
> Either you're connecting from the wrong IP range, or without sufficient
> user credentials.

Well... 67.18.186.248 is indeed my IP address.
My *real* domains (didn't try to hide, just not to confuse... I am
sorry, I take it back...) are yogiley.org and lists.yogiley.org.

While trying to fix the issue, I have edited /etc/hosts, and added the
lines:
67.18.186.248 yogiley.org www.yogiley.org
67.18.186.248 mail.yogiley.org
67.18.186.248 lists.yogiley.org

but nothing has changed.

You say that "67.18.186.248" is not configured to be a relay for me;
well, it's the server's ip, not a remote ip, so I thought that as an IP,
it is automatically configured to be a relay, and what I have to
configure additionally to that is domain names, "local domains".

++++

I have tried to do what Marc Haber suggested, and here are the results:

# dpkg-reconfigure exim4-config
I have chose to split configuration (because mailman's debian's docs
suggested it)
I have chose "internet site"
as a mail name, I have written yogiley.org
on "IP-addresses to listen on for incoming SMTP connections" I have left
empty
on "Other destinations for which mail is accepted" I wrote
"debi.yogiley.org;lists.yogiley.org;yogiley.org"
Then it asks for "Domains to relay mail for", but calrifies: "Do not
mention local domains here", so I have left it empty; I have no "remote"
domains which are relevant.
Then it asks for "Machines to relay mail for", but clarifies: "If this
system should not be a smarthost for any other host, leave this list
blank", so I have left it blank.
In "dial-on-demand" I have chose no.
On "Delivery method for local mail" I have chose mbox format
in /var/mail/

Then it has restarted the service.

++++

One word about mailman: I have read carefully README.Exim4.Debian, and
added a few conf files in conf.d, as needed.

++++

After reconfiguring as Marc advised, sending mails to peleg[at]yogiley.org
started to work; I don't get any error message, and I can read the mails
using "mail" command from shell (when I am logged as "peleg").
When I am sending mails to "test7[at]lists.yogiley.org", though, I get a
new error, which is "550 Unrouteable address".

When I have tried "exim4 -by test7[at]lists.yogiley.org" I got this
resonse:
R: system_aliases for test7[at]lists.yogiley.org
LOG: MAIN PANIC
failed to expand condition "${lookup{$local_part@
$domain}lsearch{/var/lib/mailman/data/virtual-mailman}{1}{0}}" for
mailman_router router: failed to
open /var/lib/mailman/data/virtual-mailman for linear search: No such
file or directory
test7[at]lists.yogiley.org is undeliverable:
Unrouteable address

Indeed, I don't have a file named
"/var/lib/mailman/data/virtual-mailman" - I couldn't find the name of
that file in mailman's docs, either, besides in the place that says that
I have to write it in /etc/exim4/conf.d/router/970_local_mailman), and
in mailman-postfix docs (which are not relevant, I guess)

So here I stay clueless...

++++

Marc also asked "what ends up in /var/lib/exim/config.autogenerated",
but I couldn't understand the question.

++++

Do you think I contact use pkg-exim4-users[at]lists.alioth.debian.org
instead of that list?



Thanks again,
Peleg.


--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.