Hi people, I have set up Fetchmail to check and download my mail from my mail provider's POP3 server, so I can read it with Pine. The mail gets delivered to my "local" mailbox via Sendmail. This sort of works OK, but I'm having a few problems:
1. Some messages don't get downloaded because the domains don't resolve. Here's an example from my fetchmaillog:
fetchmail: reading message ***@******:1 of 1 (22511 octets)
fetchmail: SMTP error: 451 4.1.8 Domain of sender address RealTimeEmail+USRT--n
does not resolve
fetchmail: not flushed
I've put stars where my username and the hostname should be. I've read that this is not to do with Fetchmail itself, but with Sendmail. What can I do to force it to download the messages?
2. Every time I switch my machine on, I run Fetchmail manually in daemon mode. I've found that it's possible to get it to run automatically on boot, by putting it in /etc/rc.d/rc.local. If I do this, it'll run as root and so will my mail still be delivered to my regular user's mailbox, or root's. I would hope the former, because of the following lines that are in my ~/.fetchmailrc:
poll ********** with proto POP3
user '******' there with password '*******' is 'nick' here
If I do want it started at boot, do I just need to put it in /etc/rc.d/rc.local, telling it which fetchmailrc to use?
3. Sometimes (actually, this happens quite a lot), when mail does get downloaded, I don't get a notification in the terminal saying, "You have mail in /var/mail/nick". If I just happen to run Pine for the sake of it, that's when I know I have mail. The notifications would be nice! Any ideas? Obviously I know that you have to "use" the terminal and can't just leave it open and expect the notifications to come.
All help appreciated.