Re: pembatasan email keluar

Asfihani <asfik-yNEVPA1OLJZWk0Htik3J/[email protected]>
Newsgroups gmane.mail.postfix.user.indonesian
Organization PT. Cakraperdana Proniagatama.
Message-ID <20040423112214.GR8607@nirwana>
On Fri, Apr 23, 2004 at 06:02:34AM +0700, Dwi Nugroho wrote:

> linuxers,

Seharusnya Postfixers :-), disini juga banyak BSDers.

> saya sudah baca dokumentasi yang diberikan oleh mas asfik diatas dan
> beberapa dokumentasi yang lain ( umumnya sama ), tapi masih belum
> restriction sender masih belum jalan. Mestinya sih kalau menurut dokumentasi
> sih bener..... saya menambahkan line pada /etc/postfix/main.cf seperti
> berikut :
> 
> smtpd_recipient_restrictions =
>         permit_mynetworks
>         check_sender_access hash:/etc/postfix/restricted_senders
>         reject_unauth_destination
> 
> smtpd_restriction_classes = local_only
> local_only =
>         check_recipient_access hash:/etc/postfix/local_domains, reject
> 
> dan pada /etc/postfix/restricted_senders saya masukkan line :
> 
>  poni-//Bz/[email protected]              local_only
> 
> dan saya postmap dan reload postfixnya. Tapi masalahnya user poni masih
> tetap bisa mengirim keluar ya..... apakah ada yang kurang dari conf diatas ?
> mohon bantuannya bagi rekan-rekan yang pernah melakukan ini.....

Isi dari /etc/postfix/local_domains? Coba di paste postconf -n dan
LOGS yang menunjukkan bahwa email dari sender poni-//Bz/[email protected] masih
bisa terkirim ke "luar".

> satu lagi donk..... apakah dipostfix ada fasilitas untuk mem-forward semua
> email yang masuk dan keluar ke satu alamat tertentu tanpa harus menggunakan
> procmail ?

Bisa menggunakan recipient_bcc_maps dan sender_bcc_maps

 Asfihani
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.