Re: [exim] Cannot send specific attachment from my domain to…

Página Inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
Para: kuncho pencho
Assunto: Re: [exim] Cannot send specific attachment from my domain to anybody except ours.
Hi,

kuncho pencho <kuncho_71@???> (Fr 11 Dez 2015 05:54:13 CET):
>
>    Hi, why i can't send specific attachment from my domain to anybody except ours? I have some restriction for receiving but i can't send also. Here is my acl in exim.conf:

>


Please could you be more careful when pasting something? Your message
contains more empty lines than anything else… And please do not
obfuscate the configuration!

PLEASE, correct the configuration below accordingly.

    * What is the rejection message when your messages gets refused? 
    * What do the relevant log lines say?


The ACLs apply to any kind of SMTP transaction, every sending needs a
receiving in the first place. How do you send you message?

For content based rejection the DATA-ACLs (and MIME-ACLs) is relevant. A
MIME ACL I do not see, thus the DATA ACL remains. On the first view I do
not see any recipient related content based rejection.


I've massaged your mail a bit.

     1   begin acl
     2   …
     3   acl_check_data:
     4  
     5      deny senders = /etc/exim/deny_senders
     6  
     7      deny message = Serious MIME defect detected ($demime_reason)
     8          demime = *
     9          condition = ${if >{$demime_errorlevel}{2}}
    10  
    11      deny message = not permitted
    12          !senders = example@??? : mydomain@??? : *@domain.com
    13          demime = url:lnk:ace:cab:bat:exe:7z:zip:rar:scr:vbs:cmd:com:btm:dll:msi:reg:pif
    14  
    15      deny malware = *
    16          message = This message contains a virus ($malware_name) and has been rejected.
    17          warn message = X-Spam_score: $spam_score\n\
    18              X-Spam_score_int: $spam_score_int\n\
    19              X-Spam_bar: $spam_bar
    20          condition = ${if <{$message_size}{100k}{1}{0}}
    21          spam = mail:true
    22  
    23      deny message = This message was classified as SPAM
    24           condition = ${if >{$spam_score_int}{80}}
    25  
    26      deny message = This message was classified as SPAM-10
    27           regex = Please find attached your invoice 
    28  
    29      deny message = This message was classified as SPAM-20
    30           regex = invoice was attached with email 
    31  
    32      deny message = This message was classified as SPAM-30
    33           regex = open the attached document
    34  
    35      accept


    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -