Re: [EXIM] large queue question

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nigel Metheringham
Data:  
Para: Rob Lingelbach
CC: exim-users
Assunto: Re: [EXIM] large queue question
If I have a situation where a site I MX for has a known outage I stash all
their mail into a directory in BSMTP format. This is how I do it -
another way would be to use a router rather than a director to do this....

 EXICONF_DIR    = /var/exim
 HELD_DOMDB    = EXICONF_DIR/held_domains.cdb
 HELD_DOMAINS    = cdb;HELD_DOMDB
 LOCAL_DOMAINS    = ...:HELD_DOMAINS:...
 local_domains    = LOCAL_DOMAINS


#
# held_domain transport
# ~~~~~~~~~~~~~~~~~~~~~
#
# This is a transport used to stash held mail into.
# Its basically a BSMTP maildir setup.

held_domain:
driver = appendfile;
directory = /var/spool/mail/held_domains/${lc:$domain},
maildir_format,
user = exim,
group = exim,
mode = 0640,
create_directory,
bsmtp = domain,
prefix = "",
suffix = "",
no_from_hack

.... (separator designed to break Microsoft SMTP implementations)

#
# held_domains director
# ~~~~~~~~~~~~~~~~~~~~~
#
# Handles domains that are broken in some way so we hold mail
# for them in a bsmtp mail queue
#
held_domains:
domains = "HELD_DOMAINS",
driver = smartuser;
transport = held_domain



When the outage is over I then knock the entry out of the held domains
cdb, and then cat all the BSMTP files into exim -bS (probably with a few
extra options to make it route and queue them).

Not preceisely what you are after, but very useful for me since it keeps
our queues manageable and prevents piles of extra delay messages being
sent out.

    Nigel.
-- 
[ Nigel.Metheringham@???   -  Systems Software Engineer ]
[ Tel : +44 113 207 6112                   Fax : +44 113 234 6065 ]
[      Real life is but a pale imitation of a Dilbert strip       ]
[ We're recruiting  http://www.theplanet.net/profile/recruit.htm  ]




--
*** Exim information can be found at http://www.exim.org/ ***