Hello,
I have an idea that I have been working on today. The idea is to run a central SME Server with spam and antivirus
filtering on and several other different mail servers behind it. On SME server1, I would like to control all access to other mail servers running behind it, so if the users are not present on SME Server1 mail is rejected for the domains.
The MX records for a.com would look like this:
Mail server1 is the primary mail exchanger for domain a.com and mail server2 is the second for a.com
IN MX 10 spamzink.0.com
IN MX 20 mail.a.com
The MX records for b.com would look like this:
Mail server1 is the primary mail exchanger for domain b.com and mail server3 is the second for b.com
IN MX 10 spamzink.0.com
IN MX 20 mail.b.com
The same goes for Mailserver4.
SME Server 1 (running spamassassin/clamav, spamzink.0.com)
| | |
| | |
| | |
Mail server2 (mail.a.com) - Mail server3 (mail.b.com)- Mail server4 (mail.c.com)
Q1: In my test setup I configured mail server1 to delegate all mail from a.com to Mailserver2, but if an email is send to laura@a.com and Laura isn't created as a user on mail server1 its still forwarded to mail server2. How can we change this behavior?
Q2: I was thinking, is it possible to make mail server1 store messages tagged as ***spam** in its junk/spam folder? for the corresponding user. Now in my test setup, mail server2 is actually another SME server and the mail coming in tagged as spam is in fact ending in the junk folder here

.
I'm aware of the forwarding feature, but this is not what we are looking for.