Andreas Barth
2006-Jul-15 13:20 UTC
[Pkg-exim4-users] no warnings, timeouts for some remote hosts
Hi, I want that for some remote hosts (or domains) the mail is queued without any time limit, and without warnings be send out. Any way to do that? (I didn''t find any, but it might belong in the exim-wiki if there is an answer.) Cheers, Andi -- http://home.arcor.de/andreas-barth/
Andreas Metzler
2006-Jul-15 13:39 UTC
[Pkg-exim4-users] no warnings, timeouts for some remote hosts
On 2006-07-15 Andreas Barth <aba@not.so.argh.org> wrote:> I want that for some remote hosts (or domains) the mail is queued > without any time limit, and without warnings be send out. Any way to do > that? (I didn''t find any, but it might belong in the exim-wiki if there > is an answer.)Wouldn''t a retry-rule for the specific domains and adapting delay_warning_condition work? cu andreas -- The ''Galactic Cleaning'' policy undertaken by Emperor Zhark is a personal vision of the emperor''s, and its inclusion in this work does not constitute tacit approval by the author or the publisher for any such projects, howsoever undertaken. (c) Jasper Ffforde
Andreas Barth
2006-Jul-15 13:42 UTC
[Pkg-exim4-users] no warnings, timeouts for some remote hosts
* Andreas Metzler (ametzler@downhill.at.eu.org) [060715 15:39]:> On 2006-07-15 Andreas Barth <aba@not.so.argh.org> wrote: > > I want that for some remote hosts (or domains) the mail is queued > > without any time limit, and without warnings be send out. Any way to do > > that? (I didn''t find any, but it might belong in the exim-wiki if there > > is an answer.) > > Wouldn''t a retry-rule for the specific domains and adapting > delay_warning_condition work?hm, last time I tried I failed poorly on it. Could you spell it out more directly what this means for me? The basic purpose is: I don''t want that users receive warnings if any of "my" (hidden) hosts are down - I notice that in nagios anyways, and if the fixing takes longer, I always have the chance to re-route messages or snoop in the queue, as they''re already on my servers. Cheers, Andi -- http://home.arcor.de/andreas-barth/
Andreas Metzler
2006-Jul-15 16:24 UTC
[Pkg-exim4-users] no warnings, timeouts for some remote hosts
On 2006-07-15 Andreas Barth <aba@not.so.argh.org> wrote:> * Andreas Metzler (ametzler@downhill.at.eu.org) [060715 15:39]: >> On 2006-07-15 Andreas Barth <aba@not.so.argh.org> wrote: >>> I want that for some remote hosts (or domains) the mail is queued >>> without any time limit, and without warnings be send out. Any way to do >>> that? (I didn''t find any, but it might belong in the exim-wiki if there >>> is an answer.)>> Wouldn''t a retry-rule for the specific domains and adapting >> delay_warning_condition work?> hm, last time I tried I failed poorly on it. Could you spell it out more > directly what this means for me?Hello, I have never done what you are asking for, so I just named the obvious stuff.> The basic purpose is: I don''t want that users receive warnings if any of > "my" (hidden) hosts are down - I notice that in nagios anyways, and if > the fixing takes longer, I always have the chance to re-route messages > or snoop in the queue, as they''re already on my servers.I would have tried something like this: retry rule: +list_of_domains_hosted_on_hiddenhosts * F,1d,30m; F,365d,23h and delay_warning_condition = \ ${if or {\ {match{$h_precedence:}{(?i)bulk|list|junk}}\ {match_domain{$domain}{+list_of_domains_hosted_on_hiddenhosts}}\ }{no}{yes}} cu andreas -- The ''Galactic Cleaning'' policy undertaken by Emperor Zhark is a personal vision of the emperor''s, and its inclusion in this work does not constitute tacit approval by the author or the publisher for any such projects, howsoever undertaken. (c) Jasper Ffforde
Marc Haber
2006-Jul-19 07:16 UTC
[Pkg-exim4-users] no warnings, timeouts for some remote hosts
On Sat, Jul 15, 2006 at 06:24:28PM +0200, Andreas Metzler wrote:> I would have tried something like this: > retry rule: > +list_of_domains_hosted_on_hiddenhosts * F,1d,30m; F,365d,23h > > and > delay_warning_condition = \ > ${if or {\ > {match{$h_precedence:}{(?i)bulk|list|junk}}\ > {match_domain{$domain}{+list_of_domains_hosted_on_hiddenhosts}}\ > }{no}{yes}}How clumsy. That should be a modifier to a retry rule. See http://www.exim.org/bugzilla/show_bug.cgi?id=381 Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835