Re: pembatasan email keluar

"Dwi Nugroho" <[email protected]>
Newsgroups gmane.mail.postfix.user.indonesian
Message-ID <022801c428cd$76416360$0601a8c0@w01mis01>
On Friday, April 23, 2004 6:22 PM, Asfik wrote:

> Seharusnya Postfixers :-), disini juga banyak BSDers.

Ups sorry.... :-)
>
> 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".
>

Sorry tadi ada yang salah, mestinya masalahnya adalah email dari dalem nggak
bisa keluar.....
tapi sekarang sudah beres di main.cf nya ada yang kurang mestinya ada perlu
ditambahkan baris eksternal = permit agar bisa keluar....
% /etc/postfix/main.cf
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

eksternal =
        permit

tambahkan di /etc/postfix/restricted_senders

[email protected]  local_only
[email protected]  eksternal


maka user poni tidak akan bisa mengirim keluar tapi banu bisa

> > 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
>

Makasih mas asfik.... nanti saya coba lagi deh....

Dwi
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.