Re: [exim] greylisting and retry interval

Página Inicial
Delete this message
Reply to this message
Autor: Haynes, Jonathan
Data:  
Para: 'ci@holmco.de', exim-users@exim.org
Assunto: Re: [exim] greylisting and retry interval
This (mailscanner) also explains why you have two separate daemons, one listening and one running the queue.

We no longer run mailscanner so I'm using my memory here but mailscanner copies the files from one queue to another after it has checked them so you need two instances of exim with different spool directories.

What does exim4 -DOUTGOING -bP spool_directory say? I think this should give you the other directory and hence exim4 -DOUTGOING -v -M 1VOnUR-0002Lg-BV should find that message and try to deliver it.

When we used to run mailscanner here I set it up using two separate config files passing the correct one with -C.    Yours seems to use a sinlge config file with options - these will be defined via -D as shown on the sendmail2 command line Sendmail2 = /usr/sbin/sendmail -DOUTGOING .


I think the answer to your problem is that the startup for the exim instance that creates queue runners needs -DOUTGOING added to it so that it looks at the correct spool directory.
/path/to/exim4 -q5m -DOUTGOING

Caveat - The above is untested and you are also using debian (guess based on the binary being called exim4) which may impose other rules.



--
----------------------------------------------------------------------

                          Jonathan Haynes
                      Senior Network Specialist


IT Department,                  Tel: Bedford (01234) 754205
Bld 63,                                        Bedford (01234) 750111 Extn 4205
Cranfield University         Fax: Bedford (01234) 751814
Wharley End,
Cranfield,                       e-mail: J.Haynes@???
Beds, MK43 0AL.


-----Original Message-----
From: exim-users-bounces+j.haynes=cranfield.ac.uk@??? [mailto:exim-users-bounces+j.haynes=cranfield.ac.uk@exim.org] On Behalf Of ci@???
Sent: 26 September 2013 11:24
To: exim-users@???
Subject: Re: [exim] greylisting and retry interval

On Thu, Sep 26, 2013 at 11:59:22AM +0200 you wrote:

> On Thu, Sep 26, 2013 at 11:44 AM, <ci@???> wrote:
>
> >
> > | exim4 -v -M 1VOnUR-0002Lg-BV
> > | delivering 1VOnUR-0002Lg-BV
> > | LOG: MAIN
> > | Spool file 1VOnUR-0002Lg-BV-D not found
> >
> > I have found the spool file(s) in /var/spool/exim/input:
> > -rw-r----- 1 Debian-exim Debian-exim 67 Sep 25 13:42 1VOnUR-0002Lg-BV-D
> > -rw-r----- 1 Debian-exim Debian-exim 1170 Sep 25 13:43 1VOnUR-0002Lg-BV-H
> >
> > But exim knows nothing about it?
> >
>
>
> So what does exim4 -bP spool_directory say? Cos it looks like your running
> version of exim has a different spool path to your exim4 binary you ran
> above.


spool_directory = /var/spool/exim4_incoming

In the comfiguration file I found (not my work):

.ifdef OUTGOING
SPOOLDIR=/var/spool/exim4
.else
SPOOLDIR=/var/spool/exim4_incoming

It handles 2 different spool directories. I did not find out where
"OUTGOING" is defined. Mailscanner is involved...

In MailScanner.conf:
# Sendmail2 is provided for Exim users.
# It is the command used to attempt delivery of outgoing cleaned/disinfected
# messages.
# This is not usually required for sendmail.
# This can also be the filename of a ruleset.
#For Exim users: Sendmail2 = /usr/sbin/exim4 -DOUTGOING
#For sendmail users: Sendmail2 = /usr/sbin/sendmail
Sendmail2 = /usr/sbin/sendmail -DOUTGOING

How do I get the problem untangled?


Greetings,
--
R. Cirksena

--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/