[exim-dev] [Bug 972] File Already Exists in Spool Directory

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Gavin McQuillan
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 972] File Already Exists in Spool Directory
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=972




--- Comment #3 from Gavin McQuillan <gavin@???> 2010-04-15 18:01:36 ---
(In reply to comment #0)
> My pager isn't receiving email-based pages because of this issue. Often, the
> there will be a single page, and then subsequent pages don't get sent. This is
> a serious problem for us.
>
> I haven't seen anything that might be related except for similar error warnings
> about permissions issues. I don't think this is a permissions problem as mail
> delivery works most of the time.
>
>
> We run this on an Ubuntu Jaunty server with exim v. 4.69
>
> This is from the mainlog in /var/log/exim:
>
> 2010-04-03 15:02:40 1Ny4rw-0005Ti-W3 <= monit@??? H=localhost (admin1)
> [127.0.0.1] P=smtp S=755 id=1270306960@admin1
>
> 2010-04-03 15:02:41 1Ny4rw-0005Ti-W3 Failed to create spool file
> /var/spool/exim4/input//1Ny4rw-0005Ti-W3-D: File exists
>
> 2010-04-03 15:02:41 1Ny4rw-0005Ti-W3 => XXXXX@??? R=dnslookup T=remote_smtp
> H=ASPMX.L.GOOGLE.com [74.125.113.27]
> 2010-04-03 15:02:41 1Ny4rw-0005Ti-W3 Completed
> 2010-04-03 15:03:10 1Ny4sQ-0005UZ-S7 <= monit@??? H=localhost (admin1)
> [127.0.0.1] P=smtp S=740 id=1270306990@admin1
>
> 2010-04-03 15:03:10 1Ny4sQ-0005UZ-S7 Failed to create spool file
> /var/spool/exim4/input//1Ny4sQ-0005UZ-S7-D: File exists
>
> 2010-04-03 15:03:10 1Ny4sQ-0005UZ-S7 => XXXXX@??? R=dnslookup T=remote_smtp
> H=ASPMX.L.GOOGLE.com [74.125.113.27]
> 2010-04-03 15:03:10 1Ny4sQ-0005UZ-S7 Completed
>
> There is also an accompanying paniclog which reiterates the failure to create
> spool files because the file exists.
>
>
> Thanks in advance,
> -Gavin
>


I can confirm that my workaround works for my pager. Making sure that its
address is first in any set of email transactions allows it to be sent without
a problem. However, any email destined for Google's servers seems to run into
this problem occasionally. In my experience this is particularly the case with
monit.

I suppose the next steps would be to try this same setup with a different MTA
and see what happens. If we see similar behavior, it may be the way monit
crafts emails causes Google's servers to have a bad reaction -- which somehow
leads to duplicate spool files. It's definitely a bit of a stretch.


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