[PLUG] Retrieving mail from another domain

Keith ac7xc-lnx at earthlink.net
Thu Aug 28 23:32:32 UTC 2003


On Thu, 28 Aug 2003, Rich Shepard wrote:

>
>   Because I'm running our own MTA here we use neither pop3 nor imap.
> However, I have the need to retrieve mail that comes to me at a different
> domain -- one not under my control.
>
>   Can I manually run fetchmail to poll that server when I want to see if
> there's anything there for me?

Yes, I use cron for fetchmail.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/home/user1/bin:/usr/local/bin:/usr/local/sbin
MAILTO=user1
HOME=/home/user1

0,20,40 0-23 * * *  /usr/bin/fetchmail

 I don't like the daemon

and here is a simple .fetchmailrc

# Configuration created Wed Jul 10 08:16:33 2002 by fetchmailconf
set postmaster "username"
set bouncemail
set no spambounce
set properties ""
poll mail.earthlink.net with proto POP3 uidl
user 'username at earthlink.net' there with password 'passwd-here' is 'username' here #keep


man fetchmailrc will give you details,

>
>   If I want any reply to show that domain, do I need to manually tweak
> something in pine for each such message?
>

 You need to set up a role for the email address in PINE. You can do this
by entering configuration and pressing R.


 For putting messages in the proper PINE mail folder use procmail.

Simple .procmailrc recipe:

:0:
* ^TOusername at ispdomain.xx
/home/username/mail/foldername




> Thanks,
>
> Rich
>
> Dr. Richard B. Shepard, President
>

-- 
Best Regards,  Keith     AOL IM:kilowattradio
NW Oregon Radio http://kilowatt-radio.org/
_Give SCO $699 for using Linux or the Penguin gets it._
Torvalds: _They are smoking crack._




More information about the PLUG mailing list