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
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