Re: [exim] Warn message timeframe

2012-08-22 Thread Martin Schuster (IFKL IT OS DS CD)

On 2012-08-22 13:32, Oliver Heesakkers wrote:

According to the introductory parapgraph of chapter 48 of the Exim
documentation, Exim sends a message to the original sender when that message
had been in the queue "for more than a configured amount of time".

How do I configure that amount of time?


Sorry, but
lmgtfy.com/?q=exim+warn+delay

hth,
--
Infineon Technologies IT-Services GmbH   martin.schust...@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria   Martin Schuster
 FB: LG Klagenfurt, FN 246787y   +43 5 1777 3517



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## 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/

Re: [exim] Spool file is locked (another process is handling this message)

2012-04-12 Thread Martin Schuster (IFKL IT OS DS CD)
On 2012-04-12 16:52, Yan Seiner wrote:
> [...]
> Not sure what I can do to help the entropy issue.  It may just be that
> I've had a huge rsync job running for days and if it's using the same pool
> it could be draining all the entropy faster than the system can generate
> it.  I don't know enough about how entropy works to make more than guesses
> from googling
> 
Phil already made some good suggestions, some additional ideas:

If you don't care about the quality of the RNG, you could just inject
data from /dev/urandom into your entropy-pool:
rngd -r /dev/urandom

If you need a cheap, good solution:
http://robseward.com/misc/RNG2/

In case your server isn't locked away in a datacenter, you might also
want to try video/audio entropy sources,
http://www.vanheusden.com/ved/
http://www.vanheusden.com/aed/

hth, cheers,
-- 
Infineon Technologies IT-Services GmbH   martin.schust...@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria   Martin Schuster
 FB: LG Klagenfurt, FN 246787y   +43 5 1777 3517



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## 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/

Re: [exim] Embedded perl

2011-12-01 Thread Martin Schuster (IFKL IT OS DS CD)
On 11/29/2011 04:52 PM, Klaus Ethgen wrote:
> Hello folks,
> 
Servus Klaus,

> I want to implement the relevant part of amavis spamchecking direct in
> exim using embedded perl. The solution need to get several parameter
> from ldap. So I plan to do the ldap query only once and cache it in a
> global variable inside perl.
> 
You could use Shared Memory for the cache. (you will need to
cpan -i IPC::Cache
on the server though...)

code-snippet:


use IPC::Cache;
# init shared cache
my $cache = new IPC::Cache( { namespace => 'exim', expires_in => 3600 } );

# allow forced flush via commandline
if ($#ARGV == 0 && $ARGV[0] eq '--clear') {
$cache->clear;
exit;
}

# Try to use the info from cache
my $bycache = $cache->get($user);
if (defined $bycache) {
return $bycache;
}

# Otherwise do all the LDAP stuff
my $mail = ldap_lookup($user);
# and put it into the cache
$cache->set($user, $mail);
return $mail;


hth,
-- 
Infineon Technologies IT-Services GmbH   martin.schust...@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria   Martin Schuster
 FB: LG Klagenfurt, FN 246787y   +43 5 1777 3517



smime.p7s
Description: S/MIME Cryptographic Signature
-- 
## 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/