Merhabalar
Debian lenny üzerinde postfix,amavis-new, clamav, razor, pyzor koşturuyorum.
amavis default olarak sisteme gelen spam maillleri direk siliyor virüslü
olanları karantinaya atıyor.
Ben gelen tüm spam maillerin admine gitmesini + gelen her virüslü mail içinde
admine bilgilerndirme mesajı gitmesini istiyorum.
local dökümanlarında aşağıdaki bilgiler mevcut fakat nasıl kullanacağımı
bilemedim.
/etc/amavis/conf.d altında 20-debian_defaults dosyasına aşağıdaki değişkenleri
denedim ancak bir türlü yapmak istediğimi yapamadım
Anlayamadığım bir diğer konu D_Dıscard D_Bounce D_Pass
$final_virus_destiny = D_DISCARD;
$virus_admin = "postmast...@$mydomain"; # due to D_DISCARD default
olmasına rağmen yine notify gelmiyor
Bu konuda yardımcı olursanız çok sevinirim.
## NOTIFICATIONS (DSN, admin, recip)
# $notify_method = 'smtp:[127.0.0.1]:10025';
# $propagate_dsn_if_possible = 1;
# $terminate_dsn_on_notify_success = 0;
# $newvirus_admin = undef;
# $virus_admin = undef;
# $spam_admin = undef;
# $banned_admin = undef;
# $bad_header_admin = undef;
# $dsn_bcc = undef;
# @newvirus_admin_maps = (\$newvirus_admin);
# @virus_admin_maps = (\%virus_admin, \$virus_admin);
# @banned_admin_maps = (\$banned_admin, \%virus_admin, \$virus_admin);
# @spam_admin_maps = (\%spam_admin, \$spam_admin);
# @bad_header_admin_maps= (\$bad_header_admin);
# $hdr_encoding = 'iso-8859-1'; # header field bodies charset
# $bdy_encoding = 'iso-8859-1'; # notification body text charset
# $hdr_encoding_qb = 'Q'; # quoted-printable (Q or B)
# $notify_sender_templ = ... built-in default at the end of file amavisd
# $notify_virus_sender_templ = ... built-in default at the end of file amavisd
# $notify_spam_sender_templ = ... built-in default at the end of file amavisd
# $notify_virus_admin_templ = ... built-in default at the end of file amavisd
# $notify_spam_admin_templ = ... built-in default at the end of file amavisd
# $notify_virus_recips_templ = ... built-in default at the end of file amavisd
# $notify_spam_recips_templ = ... built-in default at the end of file amavisd
# $notify_release_templ = ... built-in default at the end of file amavisd
# $notify_report_templ = ... built-in default at the end of file amavisd
# $mailfrom_notify_admin = undef;
# $mailfrom_notify_recip = undef;
# $mailfrom_notify_spamadmin = undef;
## these are after-defaults:
# $hdrfrom_notify_sender = "\"Content-filter at $myhostname\"
<postmast...@$myhostname>";
# $hdrfrom_notify_recip = ... derived from $mailfrom_notify_recip
# $hdrfrom_notify_admin = ... derived from $mailfrom_notify_admin
# $hdrfrom_notify_spamadmin = ... derived from $mailfrom_notify_spamadmin
# $hdrfrom_notify_release = $hdrfrom_notify_sender;
# $hdrfrom_notify_report = $hdrfrom_notify_sender;
# $warnvirussender = undef;
# $warnbannedsender = undef;
# $warnspamsender = undef;
# $warnbadhsender = undef;
# $warn_offsite = undef;
# $warnvirusrecip = undef;
# $warnbannedrecip = undef;
# $warnbadhrecip = undef;
# @warnvirusrecip_maps = (\$warnvirusrecip);
# @warnbannedrecip_maps = (\$warnbannedrecip);
# @warnbadhrecip_maps = (\$warnbadhrecip);
_______________________________________________
Linux-sunucu E-Posta Listesi
[email protected]
Liste kurallarını http://liste.linux.org.tr/kurallar.php bağlantısından
okuyabilirsiniz;
Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu