Autor: SW & Work SaS Data: Para: exim-users Asunto: [exim] help about max_rcpt
Hi to all
I'm rather new to Exim and *nix in general so I've lot to learn
I'm using a vps with cPanel / Exim,
on the server we have a firewall that warn us every X email sent
but the check is done only on the "to" and not to "bc/bcc"
so I would like to split incoming messages to be able to control also these
cases.
I've seen that exist a way to control the number of bc/bcc in incoming
messages but RFC requires them to be at least 100
so I've seen the max_rcpt option.
Following the docs I've added a block to routers
===
mycheckspam2:
domains = ! +local_domains
condition = "${perl{checkspam2}}"
driver = redirect
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
allow_fail
data = "${perl{checkspam2_results}}"
looking at exim_mainlog I see the messages are sent using the correct route
===
2011-10-24 00:17:51 1RI6MY-0006KW-MX <= postmaster@???
H=host149-103-dynamic.14-87-r.retail.telecomitalia.it (c2d6600)
[87.14.xxx.xxx] P=esmtpa A=dovecot_login:postmaster@??? S=731
id=00a401cc91d1$9a215590$e400000a@c2d6600 T="prova2"
2011-10-24 00:17:51 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1RI6MY-0006KW-MX
2011-10-24 00:17:55 1RI6MY-0006KW-MX DK: message signed using a=rsa-sha1;
q=dns; c=nofws; s=default; d=xxxxxxxx.com;
h=Received:Message-ID:From:To:Cc:Subject:Date:MIME-Version:Content-Type:Cont
ent-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-Sour
ce:X-Source-Args:X-Source-Dir;
2011-10-24 00:17:55 1RI6MY-0006KW-MX => info@??? R=mydk_lookuphost
T=my_dk_remote_smtp H=mail.xxxxxxxx.it [64.14.xxx.xxx]
X=TLSv1:AES256-SHA:256
2011-10-24 00:17:56 1RI6MY-0006KW-MX DK: message signed using a=rsa-sha1;
q=dns; c=nofws; s=default; d=xxxxxxxx.com;
h=Received:Message-ID:From:To:Cc:Subject:Date:MIME-Version:Content-Type:Cont
ent-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-Sour
ce:X-Source-Args:X-Source-Dir;
2011-10-24 00:17:56 1RI6MY-0006KW-MX => xxxxxxxx@???
R=mydk_lookuphost T=my_dk_remote_smtp H=imp-3.mail.tiscali.it
[213.205.33.247]
2011-10-24 00:17:56 1RI6MY-0006KW-MX Completed
===
but, using max_rcpt, may be I'm wrong, I expected to see a different
delivery with a different messageID for each single message, instead the two
messages of the sample (a "to" and a "cc") are still sent with a single
messageID
what am I doing wrong ?
or I've misunderstood something ?
Thanks in advance for any help you could give
Best Regards
Flaviano