i freshly configured mail server and for now it's working smoothly. currently my domain is mydomain.com and i have different users.
i have smtp authentication set to on. and users can send mails as well. user can send mail with any from address
i.e user can send mail from email@example.com
can send mail with any email address to anyone. but i am more concerned with the security and think if any one abuses this it would be a great problem.
so i googled and found Address masquerade in postfx. so i tried
masquerade_classes = envelope_sender, envelope_recipient, header_sender, header_recipient
masquerade_domains = !mydomain.com mydomain.com
i tried it but its not working to convert the domain name of the sender to mydomain.com
it's not working and i can't even force user to use their own email address.
any user permitted to use the mail can login with their credentials and are capable of sending mail with any email address despite of their own email address and are able to create fake mail.
could any one please help me with this
it would be fun to solve this issue