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.
I have completed installing the rpm packages of dovecot 1.0.7 and sendmail 8.13.8 onto a CentOS 5.6 64-bit system.
I have confirmed the server can send messages, but it is unable to receive any messages. The maillog file indicates when a message is being sent out from the server, but when a message is being sent to the server, the message does not arrive nor is there any activity listed in the logs.
The system is configured to act as a relay agent to a mail gateway, and the latter's ip address was used in the configuration. I have also confirmed the name of local domains for the server include two of our company's domains in addition to the local and localdomain.com listings.
What other step(s) do I need to take in order to get the server to successfully send and receive e-mails?
Your first troubleshooting step should be to telnet to the server and attempted to send emails via a telnet session to see what response codes you are receiving:
That indeed was my first action on the server. My apologies for not mentioning it in my posting. To that end, the command syntax that I used was the following:
Quote:
telnet localhost 25
The output that appeared on-screen was the following:
I went through the motions of modifying the sendmail.mc according to the instructions on the linux homeworking website. The netstat -an command has the following listing:
Quote:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
However, the messages are still not being received, and there is no activity listed in the maillog file. What am I missing here?
I have done some further investigating, and while trying to send a message from the e-mail server via Squirrelmail, the following error appeared on-screen:
I looked further into this, and the sendmail file at that location is a symbolic link to the /etc/alternative/mta file. The latter file, in turn, points back
to the /usr/sbin/sendmail.sendmail file.
apparently occurs when an e-mail is sent to a specific domain. If an e-mail is sent from the server to all but one particular domain, the e-mail is delivered without issue. If an e-mail is sent from all domains to the server, the same holds true.
The question now is: Why is that one domain being problematic?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.