[Exim] exim relay

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Yogesh Sharma
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] exim relay
Hi,

I am trying to set exim + postgres and I am not able to get external
mails. I tested it with -bh option and here is the log.

exim -bh 67.127.227.82

**** SMTP testing session as if from host 67.127.227.82
**** but without any ident (RFC 1413) callback.
**** This is not for real!

>>> host in host_lookup? yes (matched "*")
>>> looking up host name for 67.127.227.82
>>> IP address lookup yielded adsl-67-127-227-82.dsl.irvnca.pacbell.net
>>> gethostbyname2 looked up these IP addresses:
>>> name=adsl-67-127-227-82.dsl.irvnca.pacbell.net address=67.127.227.82
>>> checking addresses for adsl-67-127-227-82.dsl.irvnca.pacbell.net
>>> 67.127.227.82 OK
>>> host in host_reject_connection? no (option unset)
>>> host in sender_unqualified_hosts? no (option unset)
>>> host in recipient_unqualified_hosts? no (option unset)
>>> host in helo_verify_hosts? no (option unset)
>>> host in helo_try_verify_hosts? no (option unset)
>>> host in helo_accept_junk_hosts? no (option unset)

220 localhost ESMTP Exim 4.21 Tue, 13 Apr 2004 21:44:55 -0700
HELO catprosystems.com
250 localhost Hello adsl-67-127-227-82.dsl.irvnca.pacbell.net
[67.127.227.82]
mailfrom: ysharma@???
500 unrecognized command
mail from: ysharma@???
250 OK
rcpt to: ysharma@???
>>> using ACL "acl_check_rcpt"
>>> processing "accept"
>>> check hosts = :
>>> host in ":"? no (end of list)
>>> accept: condition test failed
>>> processing "deny"
>>> check local_parts = ^.*[@%!/|] : ^\\.
>>> ysharma in "^.*[@%!/|] : ^\."? no (end of list)
>>> deny: condition test failed
>>> processing "accept"
>>> check local_parts = postmaster
>>> ysharma in "postmaster"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check domains = +local_domains
>>> catprosystems.com in "@ : catprosystems.com
>>> investedinyoursuccess.com
>>> jaythebroker.com
>>> smallboard.com"? no (end of list)
>>> catprosystems.com in "+local_domains"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check domains = +relay_to_domains
>>> catprosystems.com in ""? no (end of list)
>>> catprosystems.com in "+relay_to_domains"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check hosts = +relay_from_hosts
>>> gethostbyname2 looked up these IP addresses:
>>> name=server.smallboard.com address=69.44.57.5
>>> gethostbyname2 looked up these IP addresses:
>>> name=investedinyoursuccess.com address=69.44.57.5
>>> host in "127.0.0.1 : 69.44.57.5 : 192.168.101.1/24 :

server.smallboard.com : investedinyoursuccess.com"? no (end of list)
>>> host in "+relay_from_hosts"? no (end of list)
>>> accept: condition test failed
>>> processing "accept"
>>> check authenticated = *
>>> accept: condition test failed
>>> processing "deny"
>>> deny: condition test succeeded

550 relay not permitted
LOG: H=adsl-67-127-227-82.dsl.irvnca.pacbell.net (catprosystems.com)
[67.127.227.82] F=<ysharma@???> rejected RCPT
ysharma@???: relay not permitted


My exim .conf has domain list generate like this:
domainlist local_domains = @ : ${lookup pgsql{SELECT distinct domain
FROM vemail_users}}

still -bh test show >>> catprosystems.com in "+local_domains"? no (end
of list)

Please help.

Yogesh