Jump to content
Froxlor Forum

Archived

This topic is now archived and is closed to further replies.

  • 0
Warlock

[solved] Exim configuration - rejected RCPT: relay not permitted

Question

Hello all,

 

Suddenly, after months of working, my Exim stopped to accept mails, maybe due to my recent update to froxlor 0.9.15.1.

I have been googling for hours now but I can't get the server get to work.

 

Here's what I get in /var/log/exim4/mainlog when I try to send an email with SquirrelMail from localhost:

2010-12-18 10:51:25 no IP address found for host MAIN_RELAY_NETS (during SMTP connection from localhost (mail.pronego.com) [127.0.0.1])

2010-12-18 10:51:25 H=localhost (mail.pronego.com) [127.0.0.1] F=<user@pronego.com> rejected RCPT <xxx@hotmail.com>: relay not permitted

2010-12-18 10:51:25 unexpected disconnection while reading SMTP command from localhost (mail.pronego.com) [127.0.0.1]

 

The acount user@xxx.com is an existing account on my system. Also, I have already tried to reconfigure the whole Exim by taking the preconfigured cut&paste codes from froxlor but it didn't help.

 

Any ideas?

 

Some more debugging code:

13389 Connection request from 127.0.0.1 port 51707
13389 search_tidyup called
13389 1 SMTP accept process running
13389 Listening...
13390 host in rfc1413_hosts? yes (matched "*")
13390 doing ident callback
13390 ident connection to 127.0.0.1 failed: Connection refused
13390 sender_fullhost = [127.0.0.1]
13390 sender_rcvhost = [127.0.0.1]
13390 Process 13390 is handling incoming connection from [127.0.0.1]
13390 host in host_lookup? yes (matched "*")
13390 looking up host name for 127.0.0.1
13390 DNS lookup of 1.0.0.127.in-addr.arpa (PTR) succeeded
13390 IP address lookup yielded localhost
13390 gethostbyname2(af=inet6) returned 1 (HOST_NOT_FOUND)
13390 gethostbyname2 looked up these IP addresses:
13390   name=localhost address=127.0.0.1
13390 checking addresses for localhost
13390   127.0.0.1 OK
13390 sender_fullhost = localhost [127.0.0.1]
13390 sender_rcvhost = localhost ([127.0.0.1])
13390 set_process_info: 13390 handling incoming connection from localhost [127.0.0.1]
13390 host in host_reject_connection? no (option unset)
13390 host in sender_unqualified_hosts? no (option unset)
13390 host in recipient_unqualified_hosts? no (option unset)
13390 host in helo_verify_hosts? no (option unset)
13390 host in helo_try_verify_hosts? no (option unset)
13390 host in helo_accept_junk_hosts? no (option unset)
13390 SMTP>> 220 nebulus.pronego.com ESMTP Exim 4.69 Sat, 18 Dec 2010 10:58:21 +0100
13390 Process 13390 is ready for new message
13390 smtp_setup_msg entered
13390 SMTP<< EHLO mail.pronego.com
13390 sender_fullhost = localhost (mail.pronego.com) [127.0.0.1]
13390 sender_rcvhost = localhost ([127.0.0.1] helo=mail.pronego.com)
13390 set_process_info: 13390 handling incoming connection from localhost (mail.pronego.com) [127.0.0.1]
13390 host in pipelining_advertise_hosts? yes (matched "*")
13390 host in auth_advertise_hosts? yes (matched "*")
13390 host in tls_advertise_hosts? no (option unset)
13390 SMTP>> 250-nebulus.pronego.com Hello localhost [127.0.0.1]
13390 250-SIZE 52428800
13390 250-PIPELINING
13390 250 HELP
13390 SMTP<< MAIL FROM:<user@pronego.com>
13390 using ACL "acl_check_mail"
13390 processing "accept"
13390 accept: condition test succeeded
13390 SMTP>> 250 OK
13390 SMTP<< RCPT TO:<xxx@hotmail.com>
13390 using ACL "acl_check_rcpt"
13390 processing "accept"
13390 check hosts = :
13390 host in ":"? no (end of list)
13390 accept: condition test failed
13390 processing "deny"
13390 check domains = +local_domains
13390 hotmail.com in "MAIN_LOCAL_DOMAINS"? no (end of list)
13390 hotmail.com in "+local_domains"? no (end of list)
13390 deny: condition test failed
13390 processing "deny"
13390 check domains = !+local_domains
13390 cached no match for +local_domains
13390 cached lookup data = NULL
13390 hotmail.com in "!+local_domains"? yes (end of list)
13390 check local_parts = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
13390 xxx in "^[./|] : ^.*[@%!`#&?] : ^.*/\.\./"? no (end of list)
13390 deny: condition test failed
13390 processing "accept"
13390 check local_parts = postmaster
13390 xxx in "postmaster"? no (end of list)
13390 accept: condition test failed
13390 processing "deny"
13390 check !acl = acl_local_deny_exceptions
13390 using ACL "acl_local_deny_exceptions"
13390 processing "accept"
13390 check hosts = ${if exists{/etc/exim4/host_local_deny_exceptions}{/etc/exim4/host_local_deny_exceptions}{}}
13390 host in ""? no (end of list)
13390 accept: condition test failed
13390 processing "accept"
13390 check senders = ${if exists{/etc/exim4/sender_local_deny_exceptions}{/etc/exim4/sender_local_deny_exceptions}{}}
13390 user@pronego.com in ""? no (end of list)
13390 accept: condition test failed
13390 processing "accept"
13390 check hosts = ${if exists{/etc/exim4/local_host_whitelist}{/etc/exim4/local_host_whitelist}{}}
13390 host in ""? no (end of list)
13390 accept: condition test failed
13390 processing "accept"
13390 check senders = ${if exists{/etc/exim4/local_sender_whitelist}{/etc/exim4/local_sender_whitelist}{}}
13390 user@pronego.com in ""? no (end of list)
13390 accept: condition test failed
13390 end of ACL "acl_local_deny_exceptions": implicit DENY
13390 check senders = ${if exists{/etc/exim4/local_sender_callout}{/etc/exim4/local_sender_callout}{}}
13390 user@pronego.com in ""? no (end of list)
13390 deny: condition test failed
13390 processing "accept"
13390 check hosts = +relay_from_hosts
13390 gethostbyname2(af=inet6) returned 1 (HOST_NOT_FOUND)
13390 gethostbyname2(af=inet) returned 1 (HOST_NOT_FOUND)
13390 no IP address found for host MAIN_RELAY_NETS (during SMTP connection from localhost (mail.pronego.com) [127.0.0.1])
13390 LOG: host_lookup_failed MAIN
13390   no IP address found for host MAIN_RELAY_NETS (during SMTP connection from localhost (mail.pronego.com) [127.0.0.1])
13390 host in "MAIN_RELAY_NETS"? no (failed to find IP address for MAIN_RELAY_NETS)
13390 host in "+relay_from_hosts"? no (end of list)
13390 accept: condition test failed
13390 processing "accept"
13390 check authenticated = *
13390 accept: condition test failed
13390 processing "require"
13390 check domains = +local_domains : +relay_to_domains
13390 cached no match for +local_domains
13390 cached lookup data = NULL
13390 hotmail.com in "MAIN_RELAY_TO_DOMAINS"? no (end of list)
13390 hotmail.com in "+local_domains : +relay_to_domains"? no (end of list)
13390 require: condition test failed
13390 SMTP>> 550 relay not permitted
13390 LOG: MAIN REJECT
13390   H=localhost (mail.pronego.com) [127.0.0.1] F=<user@pronego.com> rejected RCPT <xxx@hotmail.com>: relay not permitted
13390 SMTP>> 421 nebulus.pronego.com lost input connection
13390 LOG: lost_incoming_connection MAIN
13390   unexpected disconnection while reading SMTP command from localhost (mail.pronego.com) [127.0.0.1]
13390 search_tidyup called
13389 child 13390 ended: status=0x100
13389 0 SMTP accept processes now running
13389 Listening...

 

 

Please tell me if you need more information.

 

Thank you in advance.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

Problem solved! :D

 

For some reason (I don't know), Exim has taken the single configuration file instead of the splitted ones.

The single was actually unconfigured, therefore nothing could be relayed.

 

Cheers,

Warlock

Share this post


Link to post
Share on other sites

Hi

 

Could you please append your linux you've used? and what version? So if someone hits the same bug, he can find the answer here ;-)

 

thanks

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.





×
×
  • Create New...