Re: [exim] VERP questions: deliverability, method and execut…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Chip
Data:  
Para: exim-users
Asunto: Re: [exim] VERP questions: deliverability, method and execution
On 6/5/2012 4:00 PM, Jeremy Harris wrote:
> On 2012-06-05 20:40, Chip wrote:
>> On 6/5/2012 2:07 PM, Jeremy Harris wrote:
>>> On 2012-06-05 18:30, Chip wrote:
>>>>    Headers are not being changed.

>>>
>>> Return_path on a transport changes the envelope sender.
>>> Not a header.
>> My mistake with the semantics -- nothing in the headers and anything
>> relating to return email addresses, errors to, from, etc., including
>> envelope sender -- has changed. Is there any file or config I can send
>> for troubleshooting?
>
> Have a look a the log; on the delivery line is the expected transport
> (T=)
> there? If you add return_path_on_delivery to you log_selector is
> the expected translated value of return-path (P=) there?

I've added return_path_on_delivery to log_selector in exim.conf and
restarted. Here is a snippet from the log. I do notice a couple of
things that may be contributing to this, but I'm new here so shine some
guiding light. First I notice that the transport chosen by exim is
dkim_remote_smtp and I'm asking it to use verp_smtp. Secondly, P=local
and I don't understand what that is supposed to mean. After the log
snippet below, I've again pasted my current configuration in transports
in the hope someone can suggest the appropriate changes, as well as the
received headers information. Ideally I would like errors-to and
return-path to be modified such that I can move to the next stage of
working with bounces.
=====================================================================================

2012-06-05 16:22:10 cwd=/home/xxx/public_html/lists/admin 4 args:
/usr/sbin/sendmail -t -i -flistbounces@???
2012-06-05 16:22:10 1Sc0GY-0000RY-6e <= listbounces@??? U=xxxx
P=local S=19960 T="This is a test" for someone@???
2012-06-05 16:22:10 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc
1Sc0GY-0000RY-6e
2012-06-05 16:22:10 1Sc0GY-0000RY-6e SMTP connection outbound 1338927730
1Sc0GY-0000RY-6e mydomain.com someone@???
2012-06-05 16:22:11 1Sc0GY-0000RY-6e => someone@???
P=<listbounces@mydomain> R=dkim_lookuphost T=dkim_remote_smtp
H=gmail-smtp-in.l.google.com [xxx.xxx.xx.xx] X=TLSv1:RC4-SHA:128
2012-06-05 16:22:11 1Sc0GY-0000RY-6e Completed
=========================================================
verp_smtp:
  driver = smtp
  max_rcpt = 1
  return_path = \
    ${if match {$return_path}{^(.+?)-listbounces@???\$}\
      {$1request+$local_part=$domain@???}fail}


remote_smtp:
driver = smtp
interface = ${if exists
{/etc/mailips}{${lookup{$original_domain}lsearch{/etc/mailips}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailips}{$value}{}}}}}}}}
helo_data = ${if exists
{/etc/mailhelo}{${lookup{$original_domain}lsearch{/etc/mailhelo}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}}}}}{$primary_hostname}}

dkim_remote_smtp:
driver = smtp
interface = ${if exists
{/etc/mailips}{${lookup{$original_domain}lsearch{/etc/mailips}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailips}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailips}{$value}{}}}}}}}}
helo_data = ${if exists
{/etc/mailhelo}{${lookup{$original_domain}lsearch{/etc/mailhelo}{$value}{${lookup{$sender_address_domain}lsearch{/etc/mailhelo}{$value}{${lookup{${perl{get_sender_from_uid}}}lsearch*{/etc/mailhelo}{$value}{$primary_hostname}}}}}}}{$primary_hostname}}
dkim_domain = $sender_address_domain
dkim_selector = default
dkim_private_key = "/var/cpanel/domain_keys/private/${dkim_domain}"
dkim_canon = relaxed
===========================================
And from the received message:

Return-Path: <listbounces@???>
Errors-To: listbounces@???
From: "ronald" <bluey@???>