| Subcribe via RSS

Fetchmail for DomainPOP

December 9th, 2008 Posted in Linux, Mail server


Fetchmail is a mail-retrieval and forwarding utility. Using fetchmail, we can retrieves emails from remote mail server and forwards it local mail server. People usually use fetchmail to retrieve emails at the mail server hosting provider and forwards it their local mail server.

There are two types of fetchmail: domainpop and multipop.
In domainpop configuration, the there is only one source mailbox. In multipop configuration, there are multiple source mailbox.

Here is a sample fetchmail configuration for domainpop:

set postmaster "[email protected]"
set no bouncemail
set no spambounce
set logfile /root/fetchlog

poll pop3.isp-mail.com localdomains mydomain.com
timeout 600
envelope “X-Original-To”
user “[email protected]” with pass “password” to * here fetchall
dropdelivered
smtphost 192.168.1.1
smtpaddress mail.mydomain.com

Note:
pop3.isp-mail.com : change this to the address of your ISP mail hosting server
mydomain.com : change this to your domain name
[email protected] : change this to the catchall account mailbox for your domain in your ISP mail hosting server
password : change this to the password to access the catchall account
192.168.1.1 : change this to ip address of your internal mail server
mail.mydomain.com : change this to the name of your internal mail server

Comments are closed.