From: Dennis Payne <dulsi@identicalsoftware.com>
Nope. I'm not talking about one account that collects a bunch of emails and dropping them in the appropriate mailbox.
The POP3 server is mail.domain.com. The login account is foobar@domain.com.
Surely you log in as just "foobar", no? You have to have gotten through the domain name system and be connected to a definite port on a definite IP address before you even get the login prompt.
Fetchmail allows you to specify the username of foobar to which it adds @mail.domain.com. This fails because the login account doesn't include "mail.". (Or at least that is my read of the document they provide for grabbing the email.)
So I want to stop or change what it adds to the username.
I don't know why it would add anything. The POP server knows who you are because you tell it USER <name>. The RFC (rfc 1939) doesn't say much about how you spell your name, but in my experience it's just the part before the "@". If the server has mail for you, it should give it to you, no matter what the name or alias of the machine that accepted it from the SMTP server. To get mail for me (kwright on this machine) from mail.speakeasy.net (kawright on that machine, which belongs to the ISP), I put the following in .fetchmailrc. It does not matter if that mail came to me via speakeasy.net or an alias like free-comp-shop.com. skip spk via mail.speakeasy.net protocol pop3 username "kawright" password "****", is "kwright" here limit 20000 The "skip" means it is not automatic, I have to ask for it by name. I do this because I have accounts on more than one machine and like to control which one I fetch from. Thus: /usr/bin/fetchmail -v gis spk -- Keith