Yes you can just forward packets but to use the smtp proxy is better. First, do any external users need to relay mail out? Like office users that travel with a laptop? If so, have them use MDaemons SMTP over SSL (port 465) to send mail to the MDaemon server.
1. Create host definition (IP of MDaemon) 2. Create Service (SMTP-SSL) TCP port 465 3. Enable ASL SMTP Proxy. 4. Enter your domain (mymail.com) and have it forward it to your MDaemon IP. 5. For outgoing mail specify that only your MDaemon IP can send mail outgoing. 6. Set out going mail to use your ISPs smarthost. 7. Set MDaemon to use a smarthost only when sending via DNS fails. Specify the ASL interface for your MDaemons outgoing smarthost. 8. Enable MDaemon SMTP w/SSL on port 465 9. In ASL create a DNAT rule to forward Any on port 465 to MDaemon IP. 10. In ASL create a DNAT rule to forward Any on port 110 to MDaemon IP.
What this does... 1. All incoming mail on port 25 to your domain is proxied via ASL to MDaemon. 2. External users allowed to relay mail can do so using SSL and SMTP AUTH on port 465. 3. MDaemon will attempt to send all mail directly and fall back on ASL to use your ISPs smarthost. You can try to have MDaemon use your ISP directly as a fallback smarthost but my ISP denied this (I used Mailtraq). This ASL/smarthost was a workaround. 4. External users can use POP3 to check mail. 5. Set rules in MDaemon to restrict relaying as well.
Yes you can just forward packets but to use the smtp proxy is better. First, do any external users need to relay mail out? Like office users that travel with a laptop? If so, have them use MDaemons SMTP over SSL (port 465) to send mail to the MDaemon server.
1. Create host definition (IP of MDaemon) 2. Create Service (SMTP-SSL) TCP port 465 3. Enable ASL SMTP Proxy. 4. Enter your domain (mymail.com) and have it forward it to your MDaemon IP. 5. For outgoing mail specify that only your MDaemon IP can send mail outgoing. 6. Set out going mail to use your ISPs smarthost. 7. Set MDaemon to use a smarthost only when sending via DNS fails. Specify the ASL interface for your MDaemons outgoing smarthost. 8. Enable MDaemon SMTP w/SSL on port 465 9. In ASL create a DNAT rule to forward Any on port 465 to MDaemon IP. 10. In ASL create a DNAT rule to forward Any on port 110 to MDaemon IP.
What this does... 1. All incoming mail on port 25 to your domain is proxied via ASL to MDaemon. 2. External users allowed to relay mail can do so using SSL and SMTP AUTH on port 465. 3. MDaemon will attempt to send all mail directly and fall back on ASL to use your ISPs smarthost. You can try to have MDaemon use your ISP directly as a fallback smarthost but my ISP denied this (I used Mailtraq). This ASL/smarthost was a workaround. 4. External users can use POP3 to check mail. 5. Set rules in MDaemon to restrict relaying as well.