[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Fetchmail (again)



Hello!

On Wed, Jun 21, 2000 at 04:03:44AM +0100, Harvey Kelly wrote:
> 
> Hello Jose,
> > 
> Okay, /etc/resolv.conf only has... 
> 
> search Earth
> 
> 		... plus a notice that I should be editing /etc/rc.config
> - I'm running SuSE 6.2 - Earth is my domain, Lucille my machine.
	
	I don't know what Suse does as I don't use it (some of the
Suser's out there?) What /etc/resolv.conf does is to instruct your
computer how to translate computer names from thingy.com to
123.456.789.012 (or similar :D). So you should have an entry for your
local net, so Lucille.earth or bastille.earth might be found easily, and
another one for the DNS server, where your box can query how on earth it
can connect to google.com (209.185.108.220, incidentally). You need to
have another line there to instruct about your dns server so that it
knows who to query.

> Then a very strange thing happened... I opened up /etc/rc.config, then
> went back to /etc/resolv.conf to make sure that I was looking at the right
> thing.  /etc/resolv.conf now read...
> 
> search Earth
> nameserver 212.1.128.156
> nameserver 212.1.128.157

	Yes, this should be correct. 

> 			... with no mention of anything else - least of
> all /etc/rc.config.  I changed the first line to search Lucille.Earth and
> ran fetchmail again.  This time fetchmail... (sorry if there's too much
> information here) showed this...

	No, search earth is fine, you don't need lucille.earth in there.

> fetchmail: SMTP< 220 Lucille.Earth ESMTP Sendmail 8.9.3/8.9.3; Wed, etc
> fetchmail: SMTP> EHLO localhost
> fetchmail: SMTP< 250-Lucille.earth Hello localhost [127.0.0.1], pleased to
> meet you
	
	I don't understand this: this looks to me a mail post not a mail
retrieval! I am a bit clueless as to what's happening here I suggest you
make sure you've got the .fetchmailrc parameters in the right order, as
it seems to be accessing your *OWN* mail server.
> fetchmail: SMTP> MAIL FROM:<FETCHMAIL-DAEMON [at] localhost>
> fetchmail: SMTP< 250 <FETCHMAIL-DAEMON [at] localhost>... Sender ok
> fetchmail: SMTP> RCPT TO:<anyone.net>... Recipient ok
> fetchmail: SMTP> DATA
> fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself
> fetchmail: SMTP: (bounce-message body)
> fetchmail: SMTP>. (EOM)
> fetchmail: SMTP< 250 DAA00735 Message accepted for delivery
> fetchmail: SMTP> QUIT
> fetchmail: SMTP< 221 Lucille.Earth closing connection
>  not flushed

	This is retrieving mail...
> fetchmail: POP3> RETR 2
> fetchmail: POP3< +OK (595 octets)
> reading message 2 of 2... and so on and so on until the Sayonara bit. 

	This is the mail retrieval bit. It should store this two
messages in your mailbox. So this part seems to be working. Do you get
the messages at all? I don't know why your fetchmail tries to access
your local box's smtp port, or why does it try to send a message (unless
the message is an error message of some kind).

	Sorry not to be of any more help,
	José

-- 
José L Gómez Dans			PhD student
					Radar & Communications Group
					Department of Electronic Engineering
					University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.