Hi All, I want to achieve this scenario: Code: - [email protected] can send/reciev email to/from all - [email protected] can only send/reciev email to/from @example.com My configuration on mysql table: Code: SOURCE TYPE ACCESS example.com sender REJECT example.com recipient REJECT example.com client OK [email protected] sender OK [email protected] recipient OK is this corrrect, kindly need guidance. Thanks in advance.
it could be right depending of the rest of the config: the right postifx section, postmap updates.... You can follow this guide: https://linuxlasse.net/linux/howtos/Blacklist_and_Whitelist_with_Postfix next, about restricting [email protected] which is the real concern, probably you should create two files, one for the smtpd_restriction_classes section. Read here: https://vicky2183.wordpress.com/2010/07/09/postfix-per-recipient-sender-restrictions/