Sun Messaging Server
			
			MailArchiva
		
- Click Configuration->Listeners.
- Select SMTP Listener in the drop down and then click the New Listener button.
- Check "Listen for incoming SMTP/Exchange traffic"
- Set the SMTP port to 25
- Click Save
Sun Messaging Server
			
			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";
}
		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
	$ /opt/sun/comms/messaging/sbin/imsimta restart
                                    Was this helpful?
                                    
                                      
                                      
                                    
                                  
                                  
                                    Thank you Your feedback helps us to continually improve our content.                                    
                                  
                                 © 2005 - 2025 ProProfs
                                                    Found this information useful? Visit mailarchiva.com to learn more about MailArchiva.
 
                                   
               
              