October 27th, 2003, 08:40 PM
SMTP connection denied
When I try sending mail out to anyone not on my mail server, the log says:
starting delivery 1: msg 1294858 to remote firstname.lastname@example.org
status: local 0/10 remote 1/20
@delivery 3: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
I have the relay setup only to 127.0.0.1 because im doing this through a web interface and it connects as localhost. Is this a network problem? I am on my college network and I don't know what they have done. Also when i try to use an email server that i know works, if I connect via their web interface it sends mail, put if i try to do it through my outlook it wont send the mail. So is it the network or me?
ps. it trys to send the email for a really long time, is their anyway to stop it from trying to send it after 3 errors or something?
October 28th, 2003, 10:52 AM
Yes. Your machine needs to be able to connect out to the internet.
Look up the MX records for ev1.net:and try and connect to each of the MX records returned on port 25 with telnet:
If this fails, then you have an IP routing issue. Talk to your network administrator.
telnet inmail.ev1.net 25
What do you mean by "it wont send the mail"? Do you get an error? Provide a more exact description of the problem. See http://www.catb.org/~esr/faqs/smart-questions.html for more information.
qmail has its own retry schedule for messages. Each message will remain in the queue for queuelifetime seconds, where queuelifetime is the value of /var/qmail/control/queuelifetime or the default of 604800 (one week),
October 28th, 2003, 03:16 PM
[root@mail root]# telnet inmail.ev1.net 25
telnet: connect to address 184.108.40.206: Connection refused
It's a network problem. Thanks for the input.
October 28th, 2003, 03:20 PM
Well, your server can resolve names (i.e. it translated inmail.ev1.net to 220.127.116.11), and you got "permission denied" rather than "connection timed out". This is probably a firewall/ACL issue rather than a general network connectivity/routing issue, since your machine can do DNS resolution with no problems.
October 28th, 2003, 11:22 PM
Yea, I asked the network admin and he said that only a certain number of servers could do outbound smtp. So he gave me a relay server to use for now. Thanks