Hi List, I have a internal mailrelay, that I would like to provide following service: 1. mail to our own domain is send directly to our externally hosted (outsourced) mailserver 2. mail to external domains are relayed through ISP-mail-relay only for specific domains
I have the following in my main.cf now (not enabled yet): #<our_own_domain.com> smtp:<our_external_hosted_mailserver> #<servicepartner1> relay:<our_isp_mailrelay> #<servicepartner2> relay:<our_isp_mailrelay> #<servicepartner3> relay:<our_isp_mailrelay> #<servicepartner4> relay:<our_isp_mailrelay> #<servicepartner5> relay:<our_isp_mailrelay> My server is used primarily (99,96% are going to our_own_domain) by internal services to send notifications to our users, but also some mails are needed to a handfull external servicepartners... Soon we will also send critical alert from our monitoring solution, and I would therefore like to get the most secure solution without implementing a filter, that might blacklist vital alerts I will get my server whitelisted also in our_external_hosted_mailserver to accept all mails (no filtering) to make sure all mails are comming in and not stopped by a spamfilter there... It would then only be possible to send spam to our servicepartners this way - which I guess should be highly unlikely to happen...? 1. Is this the right way to do it - or are there better alternatives ? 2. When should I use smtp/relay in my config - does the above seem to be correct ? Thanks in advance :-) ~maymann