-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

"exim -d -bh some-ip" and a faked SMTP session on the console will
probably give clues why first-host.com and secondhost.biz are treated
differently.

I did it:
82.154.251.90 is the external IP for first-host.com and secondhost.biz:

 exim4 -d -bh 82.154.251.90
Exim version 4.50 uid=0 gid=0 pid=12502 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis 
nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real = effective
  uid=0 gid=0 pid=12502
  auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors = 00000ffc 00020800
trusted user
admin user
changed uid/gid: privilege not needed
  uid=102 gid=102 pid=12502
  auxiliary group list: <none>
user name "root" extracted from gecos field "root"
originator: uid=0 gid=0 login=root name=root
sender address = [EMAIL PROTECTED]
sender_fullhost = [82.154.251.90]
sender_rcvhost = [82.154.251.90]

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

host in hosts_connection_nolog? no (option unset)
LOG: smtp_connection MAIN
  SMTP connection from [82.154.251.90]
host in host_lookup? yes (matched "*")
looking up host name for 82.154.251.90
DNS lookup of 90.251.154.82.in-addr.arpa (PTR) succeeded
IP address lookup yielded adslemp-b5-251-90.telepac.pt
gethostbyname2(af=inet6) returned 4 (NO_DATA)
gethostbyname2 looked up these IP addresses:
  name=adslemp-b5-251-90.telepac.pt address=82.154.251.90
checking addresses for adslemp-b5-251-90.telepac.pt
  82.154.251.90 OK
sender_fullhost = adslemp-b5-251-90.telepac.pt [82.154.251.90]
sender_rcvhost = adslemp-b5-251-90.telepac.pt ([82.154.251.90])
set_process_info: 12502 handling incoming connection from 
adslemp-b5-251-90.telepac.pt [82.154.251.90]
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)
SMTP>> 220 dis-hab.com ESMTP Exim 4.50 Fri, 27 May 2005 11:32:37 +0100^M
220 dis-hab.com ESMTP Exim 4.50 Fri, 27 May 2005 11:32:37 +0100^M
smtp_setup_msg entered
QUIT
SMTP<< QUIT
SMTP>> 221 dis-hab.com closing connection^M
221 dis-hab.com closing connection^M
LOG: smtp_connection MAIN
  SMTP connection from adslemp-b5-251-90.telepac.pt [82.154.251.90] closed by 
QUIT
search_tidyup called
Exim pid=12502 terminating with rc=0 >>>>>>>>>>>>>>>>
~#

I guess that this is what you wanted, if not please tell me what more do you
want me to do...

Unfortunately, you didn't use reportbug to report your bug, and thus
no information about your configuration is available which could aid
in remote debugging.

Do you want me to do that now, or do you want me to give more info? If so, tell
me what.

If the OP quoted his config accurately, I'm betting it's the commas that are breaking things. Exim uses : (without spaces) for list separation.

I've tried that. The result:
2005-05-27 11:53:16 H=smtp.dei.uc.pt [193.137.203.228] F=<[EMAIL PROTECTED]> rejected 
RCPT <[EMAIL PROTECTED]>: relay not permitted

If I send locally the mail arrives as expected:

2005-05-27 11:57:02 1DbcWU-0003NI-9j <= [EMAIL PROTECTED] U=root P=local S=295
2005-05-27 11:57:02 1DbcWU-0003NI-9j => magicbrain <[EMAIL PROTECTED]> 
R=local_user T=maildir_home
2005-05-27 11:57:02 1DbcWU-0003NI-9j Completed

Problem is that external mails to secondhost.biz should be treated knowing that
secondhost.biz is a final destination and not a host to relay to...

tags #309514 moreinfo
thanks

just tell me what more info is needed and I'll gladly give it...

Marado

- -- /* *********************************************************** */
   Marcos Daniel Marado Torres     AKA      Mind Booster Noori
   http://student.dei.uc.pt/~marado  -   [EMAIL PROTECTED]
   ()   Join the ASCII ribbon campaign against HTML e-mail and
   /\   Microsoft attachments.        They endanger the World.
/* *********************************************************** */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFClv3jmNlq8m+oD34RAoA8AKD3kemKJMC/E/WypctZLGgnzWaxpgCgp2kp
pjuKnl2n3DabXKcvwEadta4=
=xeLh
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to