KAPERSKY ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER Administrator's Manual page 21

Hide thumbs Also See for ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER:
Table of Contents

Advertisement

Typical patterns of product deployment
pass12345 and pass123452 are passwords for mail accounts
remote_user and remote_user2.
With these settings, the fetchmail program will collect mail messages from
the hosts mail.that.is.free.ru and mail2.that.is.free.ru and send them to the
local SMTP for the user. No fields (from, to or any other) will be altered in
the messages, only one more header received will be added by fetchmail.
Mail messages received by the user will look as if they were received in
the usual way.
2. Enter command fetchamail in the user's crontab to launch it, for example,
every 10-15 minutes.
In order to automate the process of setting up the fetchmail program for other
users who use external mailboxes, we will need the following data:
Name of the external host, from which fetchmail will collect mail
messages.
Login for the external host account.
Password for the account.
In addition, in every user's home directory there must be a file .fetchmailrc with
the following content:
set postmaster "user"
set bouncemail
set no spambounce
set properties ""
The following script file may be used for adding mailbox records:
#!/bin/bash
echo "poll $1 with proto POP3 " >>$HOME/.fetchmailrc
echo "user '$2' with password '$3' is '$4'
here">>$HOME/.fetchmailrc
If you run this script file with the following parameters: pop.mail.ru, dan, secret,
admin, then the messages for the user dan@mail.ru will be forwarded to the
address admin@your_host.your_domain.
20

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ANTI-VIRUS 5.0 - FOR LINUX FREEBSD-OPENBSD MAIL SERVER and is the answer not in the manual?

Table of Contents