Hi all,

I have the Problem that auto forwarded mails from internal sender to
external recipients will be checked against spam.

When a internal sender of our e-mail domain sends a e-mail to a external
recipient then the e-mail won't be checked for spam.

I configured following parameters in my amavis.conf for bypass spam check of
internal senders:

=======================================

#No spam check for internal domains:

@bypass_spam_checks_maps = [
        read_hash("/etc/amavis/01-bypass-domain-checks")
        ];

========================================

The content of the file "01-bypass-domain-checks":

=========================================

domain1.com
domain2.com
domain3.com
domain4.com
.

=========================================

I see following entries in my amavis.log when a e-mail will be auto
forwarded and spam checked:


=========================================

Apr  9 09:57:01 mail1 /usr/sbin/amavisd-new[28229]: (28229-01)
ESMTP:[127.0.0.1]:10024 /var/lib/amavis/amavis-20100409T095701-28229: <> ->
<external-recipi...@externaldomain.com> SIZE=2953145 BODY=8BITMIME Received:
from mail1 ([127.0.0.1]) by localhost (mail1 [127.0.0.1]) (amavisd-new, port
10024) with ESMTP for <external-recipi...@externaldomain.com>; Fri,  9 Apr
2010 09:57:01 +0200 (CEST)
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) Checking:
eGLnMl1QL7Gs [192.168.1.2] <> -> <external-recipi...@externaldomain.com>
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p009 1
Content-Type: multipart/mixed
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p010 1/1
Content-Type: multipart/alternative
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p001 1/1/1
Content-Type: text/plain, size: 590 B, name:
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p002 1/1/2
Content-Type: text/html, size: 2397 B, name:
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p003 1/2
Content-Type: application/pdf, size: 734130 B, name: content1.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p004 1/3
Content-Type: application/pdf, size: 328016 B, name: content2.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p005 1/4
Content-Type: application/pdf, size: 34108 B, name: content3.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p006 1/5
Content-Type: application/pdf, size: 35796 B, name: content4.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p007 1/6
Content-Type: application/pdf, size: 546551 B, name: content5.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) p008 1/7
Content-Type: application/pdf, size: 473151 B, name: content6.pdf
Apr  9 09:57:02 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) truncating a
message passed to SA at 207383 bytes, orig 2953145
Apr  9 09:57:03 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) bounce
unverifiable, originating, <> -> <external-recipi...@externaldomain.com>
Apr  9 09:57:04 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) SEND via
SMTP: <> -> <quarant...@domain1.com
>,envid=am.eglnml1ql7gs.20100409t0757...@mail1 BODY=7BIT 250 2.0.0 Ok,
id=28229-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E4C8313E2E
Apr  9 09:57:04 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) SPAM, <> -> <
external-recipi...@externaldomain.com>, Yes, score=6.8 tag=2.5 tag2=2.5
kill=6.3 tests=[ANY_BOUNCE_MESSAGE=5, AWL=-3.411, BAYES_00=-2.599,
BOUNCE_MESSAGE=5, HTML_EXTRA_CLOSE=2.809, HTML_MESSAGE=0.001] autolearn=no,
quarantine eGLnMl1QL7Gs (quarant...@domain1.com)
Apr  9 09:57:04 mail1 /usr/sbin/amavisd-new[28229]: (28229-01)
Not-Delivered, (?) -> <external-recipi...@externaldomain.com>, quarantine
eGLnMl1QL7Gs, Message-ID: <
vmime.4bbedda3.279e.c1afe4fc2e25...@externaldomain.com>, Hits: 6.8
Apr  9 09:57:04 mail1 /usr/sbin/amavisd-new[28229]: (28229-01) TIMING [total
2697 ms] - SMTP greeting: 10 (0%)0, SMTP EHLO: 2 (0%)0, SMTP pre-MAIL: 1
(0%)0, mkdir tempdir: 1 (0%)1, create email.txt: 0 (0%)1, SMTP
pre-DATA-flush: 5 (0%)1, SMTP DATA: 246 (9%)10, check_init: 2 (0%)10,
digest_hdr: 2 (0%)10, digest_body: 24 (1%)11, gen_mail_id: 2 (0%)11, mkdir
parts: 2 (0%)11, mime_decode: 198 (7%)18, get-file-type8: 41 (2%)20,
parts_decode: 1 (0%)20, check_header: 2 (0%)20, AV-scan-1: 98 (4%)24,
AV-scan-2: 266 (10%)33, spam-wb-list: 3 (0%)34, SA parse: 39 (1%)35, SA
check: 1004 (37%)72, update_cache: 9 (0%)73, decide_mail_destiny: 3 (0%)73,
notif-quar: 3 (0%)73, fwd-connect: 6 (0%)73, fwd-mail-pip: 2 (0%)73,
fwd-rcpt-pip: 0 (0%)73, fwd-data-chkpnt: 0 (0%)73, write-header: 1 (0%)73,
fwd-data-contents: 91 (3%)76, fwd-end-chkpnt: 576 (21%)98, prepare-dsn: 3
(0%)98, main_log_entry: 13 (0%)98, update_snmp: 3 (0%)99, SMTP pre-response:
0 (0%)99, SMTP response: 1 (0%)99, unlink-8-files: 37 (1%)100, rundown: 1
(0%)100

========================================

Does anybody know what is here my problem?

If someone needs more informations or other configuration parameters please
let me know.


Thanks for your help.



Kindly Regards



Heindl Florian
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to