On 02/20/2013 04:13 AM, Raja Mani wrote:
Dear Sir,


          We have one catch all pop3 account in qmail server in US
locations. We need to download the mails from postmaster account by
using fetchmail in indian server. We need to download the mails using
respective email accounts using postmaster account. We need the
configuration method to implement.


Regards,
Rajamani.R


Fetchmail is not presently included as part of QMT, and is thus a bit outside the scope of this list. I have however implemented fetchmail on a few QMT hosts, and will share what I recall offhand.

A suitable init script for running fetchmail can be found here:
http://www.catb.org/~esr/fetchmail/
I prefer this to using supervise scripts (when in Rome ...).

You'll need to create a configuration file. Fetchmail runs as root, and the config file is /root/.fetchmailrc by default in the init script. Here's a sample config file (tailor to your setup):

# These are global options
set no bouncemail
set postmaster [email protected]
set syslog

# These are server/user options
poll foreign.popserver.com \
  protocol pop3 \
  timeout 120
username "foreignuser" there \
  is "[email protected]" here \
  antispam 554 \
  fetchall \
  password "foreignpass" \
  smtphost localhost \
  ssl \
  sslcertck


There is also more info at
http://wiki.qmailtoaster.com/index.php/Fetchmail although I wouldn't go the 2nd listener route.

HTH.

--
-Eric 'shubes'

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to