Yep - that would be the easy way to set it up.
Actually - it works out of the Box for postfix and pop3. Just make sure you 
enable the localdomain to receive and send Mails.

The $HOME/.fetchmailrc should have the following:
poll mail.server.bla protocol pop3
        user <username>, with password "<secret>", is [EMAIL PROTECTED] here

In the /etc/rc.d/rc.local file - add the following line:
# Starting fetchmail for different users
su <dau> -c "fetchmail -d 900 --syslog"

This line will start the fetchmail-process to get the mails all 
900s/15minutes. You can decrease the time if you want.

Note that I used dau as username for the examples.
localdomain is the valid domain the Mailsserver will accept mAILS.

For pop3 to work - you have make sure the xinetd-daemon has the pop3/imap 
servers enabled in the config-files:
/etc/xinetd.d/imap
/etc/xinetd.d/imaps
/etc/xinetd.d/ipop2
/etc/xinetd.d/ipop3
/etc/xinetd.d/pop3s

That's mainly it ...

Cheers

        Joerg

On Sunday 05 October 2003 10:53, Vox wrote:
> On September 1993 plus 3686 days Richard Bown wrote:
> > Hi all,
> > that friend of my, is wanting to setup a mailserver, on his gateway
> > machine.
> > I use postfix here, which I dont think has any POP retrieval facilities.
> > He wants to be able to run it on his firewall/gateway machine and pull
> > all his mail from the ISP's POP server on to it, then POP it down to
> > individual machines on the LAN..
> > As I'm going to have to go over there and set up, I'd like some guidance
> > which packages to use.
>
>   postfix+fetchmail+a pop3 server...imapd package has pop3 server if I
>   remember right.
>
>   Vox

-- 
There is no distinction between any AI program and some existent game.
------------------------------------------------------------------------
| Joerg Mertin              :  [EMAIL PROTECTED]                (Home)|
| in Neuchâtel/Schweiz      :  [EMAIL PROTECTED]                  (Alt1)|
| Stardust's LiNUX System   :  [EMAIL PROTECTED]                (Alt2)|
| Web: http://www.solsys.org:  Voice & Fax: +41(0)32 / 725 52 54       |
------------------------------------------------------------------------
PGP Fingerprint: AF0F FB75 997B 025F 4538 5AD6 9888 5D97 170B 8B7A


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to