[Postfixbuch-users] Amavisd new Probleme

Bernhard Schneider mail at b-schneider.de
Sa Dez 10 20:05:10 CET 2005


Hallo Liste

 

Ich habe ein Problem nachdem ich die E-Mails zum Filtern  an amavis
übergeben habe bekomme ich sie auf Port 10025 Zurück doch dann bekomme ich
die Fehlermeldung : 

 

Dec 10 19:46:17 box79146 postfix/smtpd[11070]: disconnect from
localhost[127.0.0.1]

Dec 10 19:46:17 box79146 postfix/smtp[11066]: DFA9039D:
to=<helga at boerny.org>, orig_to=<helga at b-schneider.de>,
relay=127.0.0.1[127.0.0.1], delay=4, status=deferred (host
127.0.0.1[127.0.0.1] said: 450  4.1.0 <helga at boerny.org>: Recipient address
rejected: User unknown in local recipient table (in reply to end of DATA
command))

 

Wenn ich den Content Filter wieder auskommentiere funktioniert die ganze
Sache wieder also was mache ich falsch.

 

Mit freundlichen Grüßen

Bernhard Schneider

Snip-postconf

postconf -n

alias_maps = hash:/etc/aliases

broken_sasl_auth_clients = yes

canonical_maps = hash:/etc/postfix/canonical

command_directory = /usr/sbin

config_directory = /etc/postfix

daemon_directory = /usr/lib/postfix

debug_peer_level = 2

default_destination_concurrency_limit = 10

defer_transports =

disable_dns_lookups = no

header_checks = regexp:/etc/postfix/header_checks

html_directory = /usr/share/doc/packages/postfix/html

in_flow_delay = 1s

inet_interfaces = all

inet_protocols = all

local_destination_concurrency_limit = 2

mail_owner = postfix

mail_spool_directory = /var/mail

mailbox_command =

mailbox_size_limit = 151200000

mailbox_transport = cyrus

mailq_path = /usr/bin/mailq

manpage_directory = /usr/share/man

maps_rbl_domains = bl.spamcop.net

masquerade_classes = envelope_sender, header_sender, header_recipient

masquerade_exceptions = root

message_size_limit = 50240000

mydestination = $myhostname, localhost.$mydomain, boerny.org
,test.boerny.org, rak.servgame.org

mydomain = boerny.org

myhostname = box79146.elkhouse.de

mynetworks = 213.9.79.146, 127.0.0.0/8

myorigin = $mydomain

newaliases_path = /usr/bin/newaliases

queue_directory = /var/spool/postfix

readme_directory = /usr/share/doc/packages/postfix/README_FILES

relayhost =

relocated_maps = hash:/etc/postfix/relocated

sample_directory = /usr/share/doc/packages/postfix/samples

sender_canonical_maps = hash:/etc/postfix/sender_canonical

sendmail_path = /usr/sbin/sendmail

setgid_group = maildrop

smtp_sasl_auth_enable = no

smtp_use_tls = no

smtpd_banner = $myhostname ESMTP $mail_name

smtpd_client_restrictions =

smtpd_helo_required = no

smtpd_helo_restrictions =

smtpd_recipient_restrictions = permit mynetworks,

                               reject_non_fqdn_sender,          

               reject_non_fqdn_recipient,      

           reject_unknown_sender_domain, 

                           reject_unknown_recipient_domain,

                                permit_sasl_authenticated,


  reject_unauth_destination,

                               check_policy_service unix:private/policy,


 reject_unauth_pipelining,

                  reject_non_fqdn_hostname,   

                             reject_rhsbl_sender dsn.rfc-ignorant.org,


           reject_rbl_client relays.ordb.org,  

       reject_rbl_client cbl.abuseat.org,          

         

reject_rbl_client list.dsbl.org, 

  reject_rbl_client opm.blitzed.org,

         reject_rbl_client sbl-xbl.spamhaus.org, 

                         reject_rhsbl_client blackhole.securitysage.com, 

                        reject_rhsbl_sender blackhole.securitysage.com, 

                            reject_rbl_client bl.spamcop.net,

                               reject_rbl_client ix.dnsbl.manitu.net,

                          reject_rbl_client relays.mail-abuse.org, 

                           reject_rbl_client whois.rfc-ignorant.org, 

                               reject_rbl_client dun.dsnrbl.net,  

reject_maps_rbl,

        permit

smtpd_sasl_auth_enable = yes

smtpd_sasl_local_domain = localhost

smtpd_sasl_security_options = noanonymous

smtpd_sender_restrictions = hash:/etc/postfix/access

smtpd_tls_auth_only = no

smtpd_use_tls = no

soft_bounce = no

strict_rfc821_envelopes = no

transport_maps = hash:/etc/postfix/transport

unknown_local_recipient_reject_code = 550

 

 

Die Amavis Conf

joe /etc/amavisd.conf

Processing '/etc/joe/joerc'... done.

    I    /etc/amavisd.conf
Row 574  Col 1    8:02  Ctrl-K H for help

 

# ### example: fully-fledged checker for JPEG marker segments of invalid
length

# ['check-jpeg',

#   sub { use JpegTester (); Amavis::AV::ask_av(\&JpegTester::test_jpeg, @_)
},

#   ["{}/*"], undef, [1], qr/^(bad jpeg: .*)$/ ],

# # NOTE: place file JpegTester.pm somewhere where Perl can find it,

# #       for example in /usr/local/lib/perl5/site_perl

 

);

 

 

@av_scanners_backup = (

 

  ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV

  ['ClamAV-clamscan', 'clamscan',

    "--stdout --disable-summary -r --tempdir=$TEMPBASE {}", [0], [1],

    qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],

 

  ### http://www.f-prot.com/   - backs up F-Prot Daemon

  ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],

    '-dumb -archive -packed {}', [0,8], [3,6],

    qr/Infection: (.+)/ ],

 

  ### http://www.trendmicro.com/   - backs up Trophie

  ['Trend Micro FileScanner', ['/etc/iscan/vscan','vscan'],

    '-za -a {}', [0], qr/Found virus/, qr/Found virus (.+) in/ ],

 

  ### http://www.sald.com/, http://drweb.imshop.de/   - backs up DrWebD

  ['drweb - DrWeb Antivirus',

    ['/usr/local/drweb/drweb', '/opt/drweb/drweb', 'drweb'],

    '-path={} -al -go -ot -cn -upn -ok-',

    [0,32], [1,9,33], qr' infected (?:with|by)(?: virus)? (.*)$'],

 

  ['KasperskyLab kavscanner', ['/opt/kav/bin/kavscanner','kavscanner'],

    '-i1 -xp {}', [0,10,15], [5,20,21,25],

    qr/(?:CURED|INFECTED|CUREFAILED|WARNING|SUSPICION) (.*)/ ,

    sub {chdir('/opt/kav/bin') or die "Can't chdir to kav: $!"},

    sub {chdir($TEMPBASE) or die "Can't chdir back to $TEMPBASE $!"},

  ],

 

# Commented out because the name 'sweep' clashes with Debian and FreeBSD

# package/port of an audio editor. Make sure the correct 'sweep' is found

# in the path when enabling.

#

# ### http://www.sophos.com/   - backs up Sophie or SAVI-Perl

# ['Sophos Anti Virus (sweep)', 'sweep',

#   '-nb -f -all -rec -ss -sc -archive -cab -tnef --no-reset-atime {}',

#   [0,2], qr/Virus .*? found/,

#   qr/^>>> Virus(?: fragment)? '?(.*?)'? found/,

# ],

# # other options to consider: -mime -oe -idedir=/usr/local/sav

 

# always succeeds (uncomment to consider mail clean if all other scanners
fail)

# ['always-clean', sub {0}],

 

);

 

 

1;  # insure a defined return

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listi.jpberlin.de/pipermail/postfixbuch-users/attachments/20051210/1ae8b78f/attachment.html>


Mehr Informationen über die Mailingliste Postfixbuch-users