I've done some research on how to do this, but the messages aren't getting to the proper mail server...
I'm trying to accept email for a hosted domain (I'll call it example.com for now), via my qmail server. Any mail for example.com needs to be delivered to an MS Exchange server on the same subnet. So, everything I've found mentions to put example.com in the /var/qmail/control/rcpthosts file, and then add a line like the following to the /var/qmail/control/smtproutes files: example.com:mail.example.com I've tried both a server name (mail.example.com in the above line), as well as just an IP address - both result in the same problem. But before I discuss the problem more, is there something else I need to do for this type of "smart hosting"? The problem is that incoming mail is not getting delivered to the destination server. I'm seeing the following in the /var/log/qmail/qmail-send/current log file: @40000000415f8a9c300f0ffc starting delivery 6: msg 3431786 to remote [EMAIL PROTECTED] @40000000415f8a9c300f3edc status: local 0/10 remote 1/20 @40000000415f8a9c3074711c delivery 6: deferral: Connected_to_192.168.0.216_but_connection_died._(#4.4.2)/ @40000000415f8a9c3074a3e4 status: local 0/10 remote 0/20 @40000000415f8cb3300d75d4 starting delivery 7: msg 3431784 to remote [EMAIL PROTECTED] @40000000415f8cb3300da4b4 status: local 0/10 remote 1/20 @40000000415f8cb332f10dc4 delivery 7: deferral: Connected_to_192.168.0.216_but_connection_died._(#4.4.2)/ and the following in the /var/log/qmail/qmail-smtpd/current log file: @40000000415f8222378858c4 tcpserver: status: 1/20 @40000000415f8222378d0414 tcpserver: pid 15518 from 205.158.62.67 @40000000415f82231101dbe4 tcpserver: ok 15518 :192.168.0.15:25 webmail-outgoing.us4.outblaze.com:205.158.62.67::45685 @40000000415f8228301d44b4 tcpserver: end 15518 status 0 @40000000415f8228301d63f4 tcpserver: status: 0/20 So, it looks like the qmail server is trying to send to the exchange server, but it seems to be refusing the connections. So I ran nmap on the exchange server, from the qmail server, and can see port 25 is open. I tried doing a "telent mailexample.com 25" from the qmail server, and it got the following: Trying 192.168.0.216... Connected to mail.clubspin.ca. Escape character is '^]'. Connection closed by foreign host. so it is connecting, but closing right away. I'm not sure, but I seem to remember this being abnormal - shouldn't I be able to issue the ehelo command, and create a message from scratch? So is the problem the Exchange server and NOT the qmail server? I'll take another crack at this tomorrow, but it's getting late, and it's been a long day for me. If anyone can see anything I'm doing wrong, your thoughts on the matter are greatly appreciated. Thanks. Shawn _______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

