Re: restricted sender untuk virtual email alias
Asfihani <asfik-yNEVPA1OLJZWk0Htik3J/[email protected]>
| Newsgroups | gmane.mail.postfix.user.indonesian |
|---|---|
| Organization | PT. Cakraperdana Proniagatama. |
| Message-ID | <20040413061950.GK16368@nirwana> |
On Tue, Apr 13, 2004 at 01:04:39PM +0700, Muhammad Reza wrote: > Bisakah postfix di konfigure supaya hanya email account (local) tertentu > yang hanya bisa kirim ke virtual email alias tertentu > contohnya: > .:Postbie:. create virtual email alias (untuk mailing list) ex: > cat /etc/postfix/virtual > milis-9IKiO1iGCm/[email protected] [email protected] [email protected] > user3-3nIZrVSwZJRWVPTZF4YnfwC/[email protected] > > dan hanya user1-3nIZrVSwZJRWVPTZF4YnfwC/[email protected], [email protected] dan > user3-3nIZrVSwZJRWVPTZF4YnfwC/[email protected] yang bisa posting ke [email protected]. > apakah harus dengan mail man ? Restriction classes is your friend :-) /etc/postfix/main.cf: smtpd_restriction_classes = maybe_to_list maybe_to_list = check_sender_access hash:/etc/postfix/maybe_to_list reject smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/recipient_access permit_mynetworks reject_unauth_destination ... other stuffs /etc/postfix/maybe_to_list: user1-3nIZrVSwZJRWVPTZF4YnfwC/[email protected] OK user2-3nIZrVSwZJRWVPTZF4YnfwC/[email protected] OK user3-3nIZrVSwZJRWVPTZF4YnfwC/[email protected] OK /etc/postfix/recipient_access: milis-9IKiO1iGCm/[email protected] maybe_to_list Note: belum dicoba, resiko ditanggung dewek :-) Asfihani