View Single Post

  #6 (permalink)  
Old 09-25-2004
Chris Fortune
 
Posts: n/a
Default Re: not permitted to relay through this server - huh???

I can connect to the server on port 25 and SMTPAuth port 465, but All mail,
both outgoing *and incoming*, is rejected with "451 Temporary local
problem - please try later". In other words, Exim doesn't send mail, and it
doesn't receive mail. Right now it's not an MTA, it's an MRA (Mail
Rejecting Agent). I played around with /etc/relayhosts and
/etc/localdomains , so the problem is probably there.


> This problem doesn't depend on your exim version, it depends on your
> exim configuration!
>

I sure hope you are right.


> Obviously, your exim is configured in a way that it doesn't accept
> mails from remote systems claiming to have the same domain name as
> your exim is responsible for.
>

Your statement is true, but I was sending from my ISP, 1,000 miles (um 1,640
kilometers) away from the Exim server.


> An example:
> My server at home is called server.athome.local and shall accept mail
> for the domains localhost, server.home.local and home.local.
> So I told exim4:
> domainlist local_domains = localhost : server.home.local : home.local
>
> Thus, exim accepts mails to
> me@localhost
> me@server.home.local
> me@home.local
> and tries to deliver them "locally".
>
> Seems you've got some problems understanding the difference between
> "local_domains" and "relay_domains"...
>


You're right, I find it confusing. To me, localdomains means the domain
names that are hosted on this server, and relay domains are the domains that
we accept relaying from. Is this wrong? What am I missing here? How do I
tell Exim "accept mail from anybody [ACL filters applied], and reject all
relay attempts except for SMTPAuth-enticated clients"? Thank Exim that they
produce a 451 error when the admin has screwed up the configuration!

Thanks for your help and patience.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.762 / Virus Database: 510 - Release Date: 9/13/2004


Reply With Quote