Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Doesn't seem like anyone here knows sendmail, but I guess I'll take another crack at it.
Sendmail won't send outside my subnet, but I don't think it's a DNS problem. The DNS lookups work fine and if I use the -bv option to verify the target address, that comes up fine.
If I connect in verbose mode, the attempt at connection freezes up like so:
Code:
david@myserver:~/work$ /usr/sbin/sendmail -v me@yahoo.com <zendstuff
me@yahoo.com... Connecting to [127.0.0.1] via relay...
220 myserver.xxx.edu ESMTP Sendmail 8.14.3/8.14.3; Fri, 28 Aug 2009 12:50:10 -0500
>>> EHLO myserver.xxx.edu
250-myserver.xxx.edu Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<david@myserver.xxx.edu> SIZE=27
250 2.1.0 <david@myserver.xxx.edu>... Sender ok
>>> RCPT To:<me@yahoo.com>
>>> DATA
250 2.1.5 <me@yahoo.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
Then it hangs.
If I connect to a server on the same subnet I get the following additional lines indicating success:
Code:
050 250 2.0.0 n7SHxgJN006118 Message accepted for delivery
050 <david@otherserver.xxx.edu>... Sent (n7SHxgJN006118 Message accepted for delivery)
250 2.0.0 n7SHvkLU023481 Message accepted for delivery
david@otherserver.xxx.edu... Sent (n7SHvkLU023481 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 myserver.xxx.edu closing connection
The mail log file shows the following for the error case:
Just an update. If you have a sendmail problem, try the usenet group for sendmail (you can access via Google easily). With their help it quickly became apparent that my problem was a firewall between my subnet and the rest of the world that was blocking outgoing communication on port 25 as a preemptive measure against spam.
Thanks for trying to help here despite the lack of info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.