Re: [exim] Failed to read delivery status

Top Page
Delete this message
Reply to this message
Author: Chris Zimmerman
Date:  
To: exim-users, Chris Zimmerman
Subject: Re: [exim] Failed to read delivery status
On Thu, Sep 25, 2008 at 3:35 AM, Phil Pennock <exim-users@???>wrote:

> On 2008-09-24 at 22:00 -0400, Chris Zimmerman wrote:
> > Currently I'm running Centos 4.x (4.5 originally), and Exim 4.69 I wish
> I
> > knew to get more information. I'm looking for any suggestions. Not sure
> > where to go from here.
>
> Okay, that's a SIGALRM in 4.69; if something is intermittently causing
> Exim to fail in a strange way, then there's a reasonable chance that
> it's a problem which will have reached your system logs, or dmesg.
>
> Otherwise, we need more information about the set-up, such as NFS
> involved, what the delivery transport actually is, etc. If you can get
> lucky enough to be logged in at a time when there's a problem going on,
> then "exim -d" is your friend. Probably with -M to force a delivery
> attempt for a particular method.
>
> "man exim" will list options for expanded debugging in particular
> areas, if "exim -d" doesn't help enough.
>
> -Phil
>


Thanks Phil, I'm trying it now with this.

/usr/sbin/exim -bd -q1h -d >/root/debugq1 2>&1 &

Unfortunately -M doesn't help much as these messages always fail on the
initial attempt. A forced second attempt works fine.

The transport is a maildir transport. It's long but I'll paste it, if it
might help. Nothing really out of the ordinary for a Cpanel machine. It
works most of the time.

virtual_userdelivery:
driver = appendfile
delivery_date_add
envelope_to_add
directory =
"${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/mail/${domain}/${local_part}"

maildir_use_size_file
maildir_format
maildir_retries = 100
mode = 0660
quota = "${if
exists{${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/etc/${domain}/quota}
{${lookup{$local_part}lsearch*{${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/etc/${domain}/quota}{$value}}}
{}}"
quota_is_inclusive = false
quota_directory =
"${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/mail/${domain}/${local_part}"

return_path_add
user = "${lookup{$domain}lsearch* {/etc/userdomains}{$value}}"
group = ${extract{3}{:}{${lookup{${lookup{$domain}lsearch*
{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}
shadow_condition = ${if exists
{${extract{5}{:}{${lookup{${lookup{$domain}lsearch*{/etc/userdomains}{$value}}}lsearch{/etc/passwd}{$value}}}}/.cpanel/rim/bis/$local_part@$domain}{1}{0}}

shadow_transport = rim_bis_notifier_virtual_user