Hello! I use Postfix for SMTP. As a normal smtp server, my postfix receives mails from outside, if they are addressed to our existing mailboxes. In case of 'mynetworks' (legal internal) senders, it receives and forwards mails addressed to the whole world. For the latter, I'd like to restrict the sender domain for some valid domains only, like ...@mycompany.com, ...@myfriend.com The list of the valid sender domains is something like the unio of - mydestinations and - virtual_mailbox_domains Thank you for your efforts! asked 19 Dec '11, 16:39 lexqlt |
I understand what you are trying to do - to make the mail system more secure, but return email addresses, domains, et al, can easily be spoofed. I'd suggest rather setting up Mail Assassin or Spam Assassin and utilize its' features instead since I think you'll be able to better control and secure your incoming emails that way versus the way you are trying to do it. answered 19 Dec '11, 17:09 Ron ♦ |
Hi Ron, thank you for your idea. However, I prefer to be as simple as possible. And, in this case, the goal is mostly to avoid some unintentional fails of my collegaues. For example, to send out mails from the test system, the valid sender must be: testsupport@test.myproduction.com instead of support@myproduction.com and vica versa. answered 19 Dec '11, 17:23 lexqlt Ahhhhhh that's a horse of a different color then.
(20 Dec '11, 09:57)
Ron ♦
|