|
6 registered users in last 24 hours Install and set up intranet-mail-import1) Get package from CVS/web/projop/packages/cvs checkout intranet-mail-import 2) Install package using the ]po[ Package Manager
yum install fetchmail4) Set fetchmailrc touch /web/projop/.fetchmailrc chmod 600 /web/projop/.fetchmailrcas follows (~/.fetchmailrc) set logfile /web/projop/fetchmail.log
set invisible
set no bouncemail
poll [MAIL-SERVER] protocol imap username [USERNAME] password [PASSWORD]
fetchall
nokeep
mda "/usr/bin/procmail"
6) Setup crontab Add the following line to user 'projop's crontab
*/5 * * * * fetchmail --nokeep -s -K &> /dev/null
yum install procmail 8) Configure procmail -> ~/.procmailrc MAILDIR=/var/spool/mail DEFAULT=$MAILDIR/projop/ LOGFILE=/web/projop/Maildir/procmail VERBOSE=on :0 /web/projop/Maildir/ 9) Set the parameters of package intranet-mail-import accordingly.
Testing mail importa) Send an email to the address as configured in /web/projop/.fetchmailrc
|
