Hi Chris, Indeed, that was a typo; it is daemon_smtp_ports. My email client is on another machine, so I manually typed the config statements.
I added the local_interfaces line as you directed and that solved the sending issue. Thank you!! Do you know of a way to specify specific interface:port combinations? My netstat -plant now has the following: tcp 0 0 192.168.133.217:7396 0.0.0.0:* LISTEN 28928/exim4 tcp 0 0 127.0.0.1:7396 0.0.0.0:* LISTEN 28928/exim4 tcp 0 0 192.168.133.217:25 0.0.0.0:* LISTEN 28928/exim4 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 28928/exim4 I really only need exim to listen for the web form traffic on 127.0.0.1:7396 and the regular email on 192.168.133.217:25. Any way to restrict listening to only those two combinations? Also, I needed to add 127.0.0.1 to my MAIN_RELAY_NETS definition so that email from the web form will also pass my !hosts = MAIN_RELAY_NETS statements in some acls. Do you think that opens me up to outside attackers desiring to use the server for spam relay, etc? In other words, is it possible for an attacker to trick exim into thinking that their host is 127.0.0.1 even though they are on a remote machine? (Assuming of course that they are unable to actually penetrate the box itself, but rather their masking themselves as host 127.0.0.1) If so, I do not know of any way to prevent this other than of course giving up on combining the web server and email server on the same box. Thanks again!! Jeff -----Original Message----- From: Chris Wilson [mailto:[email protected]] Sent: Thursday, June 17, 2010 6:36 PM To: Jeff Wexler Cc: [email protected] Subject: Re: [exim] Web Form on same box as exim4. Getting Could not connect to SMTP host: 127.0.0.1, port 7396 Hi Jeff, On Thu, 17 Jun 2010, Jeff Wexler wrote: > This is the config related to port 7396: > > daemon_stmp_ports = smtp : 7396 Does it really say "stmp" and not "smtp" as it should? > The following is the exim4 related output from netstat -plant: > tcp 0 0 192.168.133.217:7396 0.0.0.0:* LISTEN 28928/exim4 > tcp 0 0 192.168.133.217:25 0.0.0.0:* LISTEN 28928/exim4 > > There are no entries for exim4 for 127.0.0.1 > > Is that the problem? How would I add listening on 127.0.0.1 if that is the > cause? Yes, that's the problem. Do you have a local_interfaces line in your exim configuration? What command line do you use to start exim (ps auxww | grep exim). Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK | / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer | \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software | -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
