Spamsnake with a 2nd mail server. How 2 redirect SMTP connections
Hello HTF community,
i've 2 mails server, the great spamsnake and the main mail server.
After implementing the spamsnake, i changed the DNS MX records for spamsnake be the first MX record and Main Mailserver the 2nd, to make spamsnake behave like a gateway.
I don't know why, i still ( after 72hrs of DNS propagation) receive emails directly in the main server, instead of them pass all by the spamsnake.
I would like to know if there is any possibility to "redirect" all the external SMTP connections from the Main Mailserver to spamsnake, and than spamsnake knows that have to relay the processed mail to the Main mailserver.
Sounds a good solution, but i've a problem that doesn't allows me to use that.
SpamSnake is just the gateway machine that filter and clean the email at the "front door" and the back Mailserver ( the main one ) is where users have theirs mailboxes and is where users connect to send (SMTP Authentication)/receive email.
Due this, i could do as you suggested and redirect the traffic accordingly, but the problem is that i've external users that need to connect to the back main mail server, not only the foreign MTAs that deliver mail to mu domain.
I fwded de port 25 in my router to test and its ok, but i don't know solve the problem of external people send emails normally.
Posts: 547
Thanks: 10
Thanked 42 Times in 41 Posts
Your users should still be able to log in remotely via web access. As for sending emails, only inbound port 25 activity should be diverted and not outbound. Have you tried it?
If you log in via webmail, can you send and receive emails? What MTA are you using behind the SpamSnake?
Following you email, i found 1 big problem in my spamsnake.
I can use a fake user through LAN connection and even through WAN connection
connect to spamsnake and send emails to my domain.
i mean: fakeuser@mydomain.com can send emails to an existing one, e.g existinguser@mydomain.com
How can avoid this to happen?
Answering your post, my MTA behind SpamSnake is Qmail.
Recent comments
1 day 5 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 15 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 11 hours ago