LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail and Fetchmail (https://www.linuxquestions.org/questions/linux-general-1/sendmail-and-fetchmail-13950/)

stchow 02-10-2002 05:43 AM

Sendmail and Fetchmail
 
Well, anyone can provice some recommendation and advice regarding Sendmail.

I have installed Redhat Linux 7.1 on my server and configure my server Hostname as Linux123. I have configure to use Sendmail and Fetchmail to retrieved my Email from internet using SMTP protocol. My ISP mail server is mail.dns2go.com and my domain is abc.dns2go.com.

When I used the command #fetchmail -v it failed to retrieved the mail. The reply is shown below:

[root@linux1 /]#fetchmail –v
fetchmail:5.7.4 querying mail.dns2go.com (protocol ETRN) at Sun 10 Feb 2002 06:19:57 PM SGT
fetchmail:SMTP<220 mail.dns2go.com ESMTP Mdaemon 5.0.1;Sun, 10, Feb 2002 05:23:49 –0500
fetchmail:SMTP>EHLO linux123
fetchmail:SMTP<250-mail.dns2go.com Hello linux123, pleased to meet you
fetchmail:SMTP<250-ETRN
fetchmail:SMTP<250-AUTH LOGIN CRAM-MD5
fetchmail:SMTP<250-8BITMIME
fetchmail:ETRN>ETRN linux123
fetchmail:ETRN<458 Node <linux123> does not store mail here
fetchmail:Unable to queue message for node linux1
fetchmail:ETRN>QUIT
fetchmail:<221 see ya in cyberspace
fetchmail:client/server protocol error while fetching from mail.dns2go.com
fetchmail:Query status=4 (Protocol)
fetchmail:normal termination, status 4

But when I changed my server Hostname to abc.dns2go.com it is able to retrieved mail. When use the commandd fetchmail -v the reply is shown below,

[root@linux1 /]#fetchmail –v
fetchmail:5.7.4 querying mail.dns2go.com (protocol ETRN) at Sun 10 Feb 2002 06:19:57 PM SGT
fetchmail:SMTP<220 mail.dns2go.com ESMTP Mdaemon 5.0.1;Sun, 10, Feb 2002 05:23:49 –0500
fetchmail:SMTP>EHLO abc.dns2go.com
fetchmail:SMTP<250-mail.dns2go.com Hello abc.dns2go.com, pleased to meet you
fetchmail:SMTP<250-ETRN
fetchmail:SMTP<250-AUTH LOGIN CRAM-MD5
fetchmail:SMTP<250-8BITMIME
fetchmail:SMTP<250 SIZE 307200
fetchmail:SMTP<250-ETRN abc.dns2go.com
fetchmail:ETRN>251 No message waiting for node <abc.dns2go.com>
fetchmail:<No messages waiting abc.dns2go.com
fetchmail:ETRN>QUIT
fetchmail:<221 see ya in cyberspace
fetchmail:normal termination, status 0

It seemed that when set the Hostname the same as my domain abc.dns2go.com, I am able to retrieved the mail from mail.dns2go.com. But when I set the Hostname to Linux123 I am not able to retrieve any mail. How can I configure the Sendmail or Fetchmail to retrieved mail for abc.dns2go.com domain while leaving my Hostname as Linux123.


All times are GMT -5. The time now is 05:37 PM.