MailArchiva Settings
1. Change the
MailArchiva Server SMTP listening port from 8091 to 25 (you do this in the Listeners tab of Configuration GUI)
2. Restart the
MailArchiva server.
Sun Java Messaging Server Settings
1. Configure your DNS to point mailarchiva.sg to the IP address of your
MailArchiva server
192.168.0.133 mailarchiva.sg mailarchiva
2. Create a capture.sieve file in /opt/sun/comms/messaging/config
require ["envelope"];
if anyof (envelope :matches "from" "*@abc.com.sg",
envelope :matches "to" "*@abc.com.sg")
{
capture :message "archive@mailarchiva.sg";
}
3. Edit imta.cnf in /opt/sun/comms/messaging/config
Append
sourcefilter file:IMTA_TABLE:capture.sieve
to the channel that you want to archive mails, typically tcp_local, tcp_auth, and tcp_intranet.
4. Rebuild and restart Messaging dispatcher
$ /opt/sun/comms/messaging/sbin/imsimta cnbuild
$ /opt/sun/comms/messaging/sbin/imsimta restart
--
CheeChong - 04 Nov 2009
Topic revision: r1 - 2009-11-04 - 03:39:28 -
CheeChong