[Exim] Relay not working even tho OK in fake session...

Pàgina inicial
Delete this message
Reply to this message
Autor: Nick Drouet
Data:  
A: exim-users
Assumpte: [Exim] Relay not working even tho OK in fake session...
--
[ Picked text/plain from multipart/alternative ]

Hi,

I have installed Exim 4.12 to act as a mail relay for a small LAN. I am able to send mail from the console of the relay server using mutt etc to remote SMTP hosts with no problem. I am unable to send mail from remote hosts on the local LAN despite my best endeavours to enable the relaying features of Exim.

What is very strange is that if I run exim -bh <ipaddress> it all verifies OK and indicates that the message would be accepted. But running exactly the same commands via a real telnet session on port 25 to the mail server I get Relay Denied... I am stumped. From what I can determine from the docs etc this should be working. DNS etc all resolves fine - I get stomped as soon as I enter a RCPT with a remote address. Telnetting and entering a RCPT with a local (on the mail server) address is fine.

The server in question is running SuSE SLES 7 on IBM S/390 hardware.

The relevant parts of my configure file are below.

primary_hostname = mail.foo.org.za
domainlist local_domains = @ : foo.org.za
domainlist relay_to_domains = :
hostlist relay_from_hosts = 127.0.0.1 : 172.16.0.0/16

begin acl

acl_check_rcpt:

accept hosts = : +relay_from_hosts

  deny    local_parts   = ^.*[@%!/|] : ^\\.


  accept  local_parts   = postmaster
          domains       = +local_domains


  require verify        = sender



If anyone could help I'd be most grateful.

Thanks

Nick Drouet









---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs
--