Hello to all
The access file /etc/mail/access has many options and I didn't find so far any detailed documentation about this.
There are rules like "From:", "To:" and "Connect:" I haven't find how to combine all these rules restrict certain email clients to be allowed to send email only from specific IP and to specific target domains.
I don't know how these rules interact each other: Are 'And'-ed, are 'Or'-ed ? It is possible to create combined rules per case? If not, how can I archive this fuctionality?
For example, I need the email client from A.B.C.D to be relayed to send email only to @example.com domain, the below configuration it is valid ?
Connect: A.B.C.D OK
From: A.B.C.D OK
To:example.com RELAY
Thank you for your time
The access file /etc/mail/access has many options and I didn't find so far any detailed documentation about this.
There are rules like "From:", "To:" and "Connect:" I haven't find how to combine all these rules restrict certain email clients to be allowed to send email only from specific IP and to specific target domains.
I don't know how these rules interact each other: Are 'And'-ed, are 'Or'-ed ? It is possible to create combined rules per case? If not, how can I archive this fuctionality?
For example, I need the email client from A.B.C.D to be relayed to send email only to @example.com domain, the below configuration it is valid ?
Connect: A.B.C.D OK
From: A.B.C.D OK
To:example.com RELAY
Thank you for your time