Re: [exim] greylisting and retry interval

Góra strony
Delete this message
Reply to this message
Autor: Haynes, Jonathan
Data:  
Dla: 'ci@holmco.de', exim-users@exim.org
Temat: Re: [exim] greylisting and retry interval

-----Original Message-----
Sent: 26 September 2013 13:14

> On Thu, Sep 26, 2013 at 11:13:42AM +0000 you wrote:


>> This (mailscanner) also explains why you have two separate daemons,
>> one listening and one running the queue.
>
> It seeems to me that I have to have two queues. One for incoming
> mails, one for retrys of outgoing mails.


The second queue is not just for retries. Incoming mails come in to the first queue; mailscanner scans them and copies to the second queue and then they are delivered from the second queue. I think mailscanner tries delivery once immediately using the command specified in sendmail2. If it isn't delivered the exim queue runners then have to take over.

>> 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.
>
> Works.


Good news.


>> 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


> I need to keep the queue runner on the input queue too. Should I just
> add queue options to the listener instance to have 2 different queues
> running?


The input queue does not have a queue runner. Mailscanner takes everything out of this queue and puts it in the output queue after processing. If you look at the input queue it should have very few messages within it and those there will have just arrived.

>From your original message


$ exiwhat
7839 daemon: no queue runs, listening for SMTP on port 25 (IPv6 and IPv4)
7841 daemon: -q5m, not listening

So the first daemon (listener instance / incoming queue) has no queue runs.


Hope this helps.


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

                          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.