Ich bin am verzweifeln...
Ich verwende AMAVISD-NEW mit Policybanks um meine 5 Domänen getrennt nach Spamlevel etc verwaltung zu können. Soweit so gut.
Leider ist es mir nicht möglich Amavis beizubringen, daß er bei einem SPAM / VIRUS etc auch eine Nachricht an den Sender bzw. Empfänger schickt.
Hier der relevante Teil von /etc/amavis.conf
<code>
#------------- Domain: gbl.dyndns.org ---------------------------------------------------
$interface_policy{'20001'} = 'gbl.dyndns.org';
$policy_bank{'gbl.dyndns.org'} = {
# Loglevel für Statistiken >=2
log_level => 2,
# Bypass Checks
bypass_spam_checks_maps => [0], # don't spam-check this mail
bypass_banned_checks_maps => [0], # don't banned-check this mail
bypass_header_checks_maps => [0], # don't header-check this mail
bypass_virus_checks_maps => [0], # don't check email against viruses
spam_tag_level_maps => '-999',
spam_tag2_level_maps => '2.5',
spam_tag3_level_maps => '6.5',
spam_kill_level_maps => '9999', # I don.t want to send messages back to spammers, and I don.t want the message copied to a special mailbox at this time
spam_dsn_cutoff_level_maps => '9', # This value defines the spam level at which we.re no longer interested in sending a DSN message to the sender. You can leave it as it is, since we.ll not do any bouncing.
spam_subject_tag_maps => [''],
spam_subject_tag2_maps => ['### POSSIBLE SPAM ### '],
spam_subject_tag3_maps => ['### SPAM ### '],
mailfrom_notify_sender => undef,
mailfrom_notify_recip => undef,
mailfrom_notify_admin => undef,
mailfrom_notify_spamadmin => undef,
notify_spam_sender_templ => read_text("/var/lbss/notify_spam_sender.txt"),
# Wegschmeissen oder durchlassen?
final_bad_header_destiny => D_PASS,
final_banned_destiny => D_PASS,
final_virus_destiny => D_PASS,
final_spam_destiny => D_PASS,
# Warn
$warnvirussender => 1,
$warnspamsender => 1,
$warnbannedsender => 1,
$warnbadhsender => 1,
# Whitelist
whitelist_sender_maps => [],
# Blacklist
blacklist_sender_maps => [],
# AV Scanner
av_scanners =>
[
# ### http://www.clamav.net/ - backs up clamd or Mail::ClamAV
# ['ClamAV-clamscan', 'clamscan',
# "--stdout --no-summary -r --tempdir= {}",
# [0], qr/:.*sFOUND$/, qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
],
av_scanners_backup => [],
};
</code>
Was mache ich falsch?
Günter
Amavis & PolicyBanks
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Amavis & PolicyBanks
Das willst du auch nicht. Stichwort "Collateral Spam".gbl wrote:Leider ist es mir nicht möglich Amavis beizubringen, daß er bei einem SPAM / VIRUS etc auch eine Nachricht an den Sender bzw. Empfänger schickt.
Wenn du das wirklich willst, solltest du D_PASS durch D_BOUNCE ersetzen.
-
- Posts: 7
- Joined: 2007-04-01 18:42
Re: Amavis & PolicyBanks
Doch, aus dem einfachen Grund, daß der Absender das auch mitbekommt, daß er geblock wurde. Viele unserer Kunden und Lieferangen haben einen SPAMTAG>=3 und höher. Fast 80% unserer Lieferanten kommen aus Asien.Roger Wilco wrote: Das willst du auch nicht. Stichwort "Collateral Spam".
Mit D_BOUNCE wird aber das eMail dem Emfpänger nicht zugestellt? Oder?Roger Wilco wrote: Wenn du das wirklich willst, solltest du D_PASS durch D_BOUNCE ersetzen.
Günter
-
- Posts: 7
- Joined: 2007-04-01 18:42
Re: Amavis & PolicyBanks
Ich hab's gerade mit D_BOUNCE probiert. AMAVIS sendet keine eMail.Roger Wilco wrote:Das willst du auch nicht. Stichwort "Collateral Spam".gbl wrote:Leider ist es mir nicht möglich Amavis beizubringen, daß er bei einem SPAM / VIRUS etc auch eine Nachricht an den Sender bzw. Empfänger schickt.
Wenn du das wirklich willst, solltest du D_PASS durch D_BOUNCE ersetzen.
Günter
-
- Project Manager
- Posts: 11184
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Amavis & PolicyBanks
Du willst es trotzdem nicht!gbl wrote:Doch, aus dem einfachen Grund, daß der Absender das auch mitbekommt, daß er geblock wurde.Roger Wilco wrote: Das willst du auch nicht. Stichwort "Collateral Spam".
Hierfür gibt es Whitelists, siehe Dokumentation...gbl wrote:Viele unserer Kunden und Lieferangen haben einen SPAMTAG>=3 und höher. Fast 80% unserer Lieferanten kommen aus Asien.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 1132
- Joined: 2003-03-26 23:29
- Location: SA
Re: Amavis & PolicyBanks
wie auch immer man das, was du da vorhast, findet. Es ist ein Syntaxfehler.gbl wrote: notify_spam_sender_templ => read_text("/var/lbss/notify_spam_sender.txt"),
Code: Select all
$notify_spam_sender_templ => read_text("/var/lbss/notify_spam_sender.txt");
Guck dir mal die amavisd.conf-sample richtig an.
Das es überhaupt funktioniert, bezweifel ich stark.