[exim-dev] [Bug 1339] New: DCC update patch

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Wolfgang Breyha
Ημερομηνία:  
Προς: exim-dev
Καινούρια Θέματα: [exim-dev] [Bug 1339] DCC update patch
Αντικείμενο: [exim-dev] [Bug 1339] New: DCC update patch
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1339
           Summary: DCC update patch
           Product: Exim
           Version: 4.80.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
        AssignedTo: jgh146exb@???
        ReportedBy: wbreyha@???
                CC: exim-dev@???



Created an attachment (id=615)
--> (http://bugs.exim.org/attachment.cgi?id=615)
dcc improvements

Phil asked me to file a bug for my patch...

Description from my email:
I did some improvements and fixes to my DCC code. Diff is against current git.

improvements:
*) reason: GMX decided to redesign their mailsystem in a very bad way. temp
rejected mails are resent by several different IPs now. Very nice for
greylisting. Even with selective greylisting troubles are very likely since
they are listed on RBLs, too.
changes: by defining $acl_m_dcc_override_client_ip it is possible to set the
ip used for greylisting instead of using sender_host_address

I use it with an ACL like
>   warn    set acl_m_dcc_override_client_ip = ${lookup{$sender_helo_name}lsearch{/etc/mail/multipleip_sites}{$value}{}}
>           condition = ${if def:acl_m_dcc_override_client_ip}
>           log_message = dbg: acl_m_dcc_override_client_ip set to $acl_m_dcc_override_client_ip

and
# cat /etc/mail/multipleip_sites
mout-xforward.gmx.net           82.165.159.12
mout.gmx.net                    212.227.15.16


Most likely this is useful for other sites, too.

changes/fixes:
*) I completely removed dcc_daemon_ip and dcc_ip_option. Both were leftovers
from the local_scan() code. They made no sense at all. dcc_daemon_ip rendered
dccifd_address useless if used to set a tcp socket address and port.
*) instead of copying the fixed value "header" as options, dccifd_options is
used as intended.

Please commit the changes to git if there are no complaints.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email