POP, IMAP Integration
Note: The IMAP settings in MailArchiva are not used for connecting to individual mailboxes in a mail server. They are used for connecting to a journal account in MS Exchange.
MailArchiva embeds a lightweight SMTP server and thus can integrate with a wide variety of mail servers. In the Agent tab of the configuration panel, you can change the listening port from 8091 to 25 (the standard SMTP server port).
To suck emails from POP or IMAP servers, use the well known Linux fetchmail utility. This utility fetches mail from remote mailservers and forwards it to your local (client) machine’s delivery system (i.e.
MailArchiva). The fetchmail utility can be run in a daemon mode to repeatedly poll one or more systems at a specified interval.
The fetchmail program can gather mail from servers supporting any of the common mail-retrieval protocols: POP2 (legacy, to be removed from future release), POP3, IMAP2bis, IMAP4, and IMAP4rev1. It can also use the ESMTP ETRN extension and ODMR.
Examples of working fetchmail:
This will fetch all emails from the INBOX folder of an IMAP server. Make sure to change USERNAME and MAIL.SER.VER. Also, verify
MailArchiva is listening on 8091
fetchmail -a -k -v -u "USERNAME" -S localhost/8091 -p imap MAIL.SER.VER
This will fetch all emails from the INBOX\old-messages folder
fetchmail -a -k -v -r "INBOX.old-messages" -u "USERNAME" -S localhost/8091 -p imap MAIL.SER.VER
To achieve this on Windows, you can use the handy Postie utility available at
http://www.infradig.com/.
{insert postie commandline parameters below}
Topic revision: r6 - 2008-07-20 - 06:06:41 -
TWikiGuest