Ahh... Now the problem shows itself. It seems fetchmail is ignoring my
'smtpaddress' and 'smtpname' and making up it's own 'RCPT TO:' line from the
'username' and 'smtphost' options.
NOTE THE SMTPNAME 'test'
AND THE USERNAME 'eric'
in the config file.
. Reviewing the log files of a tempory SMTP server I setup, I see the
following:
----------------------------------------------------------------------------
---------------------------------
gryphon.net2001.com EHLO +shell-o-matic.net2001.com 250 0 208 24 SMTP -
gryphon.net2001.com MAIL +FROM:<eric(_at_)cdc(_dot_)net> 250 0 37 35 SMTP -
gryphon.net2001.com RCPT +TO:<eric(_at_)testsmtp(_dot_)mixxdigital(_dot_)com>
250 0 40 37
SMTP -
gryphon.net2001.com DATA
+<NEBBLGCEHNFBNMCIPMKDEEHODBAA(_dot_)eric(_at_)cdc(_dot_)net> 250 0
127 15947 SMTP -
gryphon.net2001.com QUIT gryphon.net2001.com 0 1172 71 4 SMTP -
The config file was only changed to:
---------------------------------------------------
set daemon 300 # Poll at 300s intervals
defaults proto pop3
keep
# fetchall # needed cause I access it via IMAP sometimes
smtphost "tempsmtp.mixxdigital.com"
smtpaddress "idealmusic.com"
smtpname "test(_at_)mixxdigital(_dot_)com"
poll mail.cdc.net proto pop3 user "eric" password "blank_this"
So it seems fetchmail is ignoring my smtpname I specify. Is this because it
is listed BEFORE I specify username? Is there a way to re-write this config
file to put smtpname AFTER the poll? Maybe it is getting orverwritten by
fetchmail when it parses?
Thanks,
Eric
-----Original Message-----
From: Duncan, Eric A. [mailto:eric(_at_)cdc(_dot_)net]
Sent: Sunday, February 04, 2001 4:59 PM
To: Rob Funk
Cc: fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
Subject: RE: retrieve & forward - OOPPPPPSSSS
I see the confusion.. This was a cut-n-paste out of all of the 'configs' I
was trying and I edited it a bit to try to make sense. I edited too much
and messed up what was 'really' going on. Let's try the original POST
again.. Sorry for the confusion.
================================
I edited the fetchmailrc *back to normal* and tried again. Same error. I
was trying all sorts of configs.
[eric(_at_)gryphon eric]$ cat .fetchmailrc
set daemon 300 # Poll at 300s intervals
defaults proto pop3
keep
fetchall # needed cause I access it via IMAP sometimes
smtphost "mail.idealmusic.com"
smtpaddress "idealmusic.com"
smtpname "eric(_at_)idealmusic(_dot_)com"
poll mail.cdc.net proto pop3 user "eric" password "mypass"
[eric(_at_)gryphon eric]$ cat log
fetchmail: starting fetchmail 4.3.2 daemon
fetchmail: 2 messages at eric(_at_)mail(_dot_)cdc(_dot_)net(_dot_)
fetchmail: reading message 1 of 2 (4140 bytes) .. (log message incomplete)
fetchmail: SMTP listener doesn't like recipient address `eric'
fetchmail: can't even send to calling user!
fetchmail: SMTP transaction error while fetching from mail.cdc.net
This was my originally problem. I meant to post this in the first place.
It seems to be contacting mail.idealmusic.com and it seems that the address
being sent to the SMTP server is:
RCPT TO: eric
Instead of: RCPT TO: eric(_at_)idealmusic(_dot_)com
It seems to be parsing line 7 of my config above. Any idea? I'll setup a
quick SMTP on this laptop to see if I can log what the SMTP server is
seeing. But I suspect that the fetchmail program is only passing 'eric'
instead of 'eric(_at_)idealmusic(_dot_)com'.
Eric
eric(_at_)cdc(_dot_)net
-----Original Message-----
From: fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org
[mailto:fetchmail-friends-admin(_at_)lists(_dot_)ccil(_dot_)org]On Behalf Of
Rob Funk
Sent: Sunday, February 04, 2001 4:25 PM
To: Duncan, Eric A.
Cc: fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
Subject: Re: retrieve & forward
Duncan, Eric A. wrote:
defaults proto pop3
keep
fetchall # needed cause I access it via IMAP someimes
smtphost "mail.idealmusic.com"
# smtpaddress "idealmusic.com"
smtpname "eric(_at_)idealmusic(_dot_)com"
# user "eric"
poll mail.idealmusic.com proto pop3 user "eric" password "mypass"
[...]
fetchmail: SMTP listener doesn't like recipient address `eric'
fetchmail: can't even send to calling user!
fetchmail: SMTP transaction error while fetching from mail.cdc.net
It looks like mail.idealmusic.com doesn't recognize "eric". Is your
idealmusic address really "eric(_at_)idealmusic(_dot_)com", or do you have a
different username there?
--
==============================| Guildenstern: "So there you are."
Rob Funk <rfunk(_at_)funknet(_dot_)net> | Rosencrantz: "Stark raving sane."
http://www.funknet.net/rfunk |(Tom Stoppard, Ros. & Guil. Are Dead)
_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/mailman/listinfo/fetchmail-friends