List Info

Thread: Re: digests.pl - ( original topic: norwegian alphabet in reminder.tpl)




Re: digests.pl - ( original topic: norwegian alphabet in reminder.tpl)
country flaguser name
Norway
2008-01-08 02:42:12

New try. The html didn’;t come out right̷0;

 

Hi all,

 

Changed the subject on this topic

 

Cron.hourly ->

 

[09:08:16] roothostflow2.aasterudweb.com - /etc/cron.hourly> ll

totalt 12

-rwxr-xr-x  1 root root 716 apr 11  2007 001_hourly_agent

lrwxrwxrwx  1 root root  39 mar 19  2007 process-quarantine.pl -> /var/maia/scripts/process-quarantine.pl

lrwxrwxrwx  1 root root  44 jan  5 20:40 send-quarantine-digests.pl -> /var/maia/scripts/send-quarantine-digests.pl

lrwxrwxrwx  1 root root  35 mar 19  2007 stats-snapshot.pl -> /var/maia/scripts/stats-snapshot.pl

 

in the template directory:

 

[09:09:43] roothostflow2.aasterudweb.com - /var/maia/templates> ll

totalt 28

-rw-r-----  1 amavis amavis 2388 nov 10  2005 digest.tpl

-rw-r-----  1 amavis amavis  857 jan 13  2005 newuser.tpl

-rw-r-----  1 amavis amavis 1740 jan  6 13:49 reminder_no_uk.tpl

-rw-r-----  1 amavis amavis  812 jan 13  2005 reminder.tpl

 

In maia:

 

Miscellaneous Settings

Send quarantine reminder e-mail?  Yes

Mail items to be displayed on each page? 20

Email Digest interval? (-1 to deactivate, in minutes) 60

Display Character Set ISO-8859-1

 

My statistics:

 

Suspected Spam   1

 

Yet: no digest email was send to this address. Can it be that the server needs a reboot to activate the changes in cron.hourly? I don’t lke to mess with reboots for testing purpose on a production server. So I rather ask first.

 

Regards,

 

Harry M. Aasterud

Aasterud WebCom

 

 

-----Original Message-----
From: maia-users-bouncesrenaissoft.com [mailto:maia-users-bouncesrenaissoft.com] On Behalf Of Robert LeBlanc
Sent: 7. januar 2008 16:30
To: Maia-usersrenaissoft.com
Subject: Re: [Maia-users] norwegian alphabet in reminder.tpl

 

-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1

 

Harry M. Aasterud wrote:

 

> I tested this on 2 accounts. One had 0, one had 5. The text in the config

> tells me that disable= -1. Anyway neither of them did receive a digest. So I

> changed them both to 60. If I understood it correct, this is the way to do

> it?

 

The interval is only tested when the send-quarantine-digests.pl script

is run, so if you run the script hourly it will then ask, "has it been

at least n minutes since the last time this user had a digest sent to

him?"  With a setting of n=5, a digest will be sent to that user every

hour (since it will always have been more than 5 minutes since the last

digest went out to him). ; Meaningful values will be >= 60 if you run the

script hourly--someone who wants a digest every 4 hours would set 240

minutes, for instance.

 

If no digests have ever been sent to a given user, the

maia_users.last_digest_sent column should be NULL; this will be replaced

with a timestamp after the first digest gets sent to him.  Make sure, in

other words, that your users either have a proper timestamp in that

column, or that this column is NULL.

 

- --

Robert LeBlanc <rjlrenaissoft.com>

Renaissoft, Inc.

Maia Mailguard <http://www.maiamailguard.com/>

 

-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.7 (Darwin)

Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 

iD8DBQFHgkWUGmqOER2NHewRAoUvAJ9rm5olqrDrjsqeM5dQX/TFYfWWgwCfWg2B

1aW6zaWUazjzsN3K0L575DE=

=1T16

-----END PGP SIGNATURE-----

_______________________________________________

Maia-users mailing list

Maia-usersrenaissoft.com

http://www.renaissoft.com/mailman/listinfo/maia-users

Re: digests.pl - ( original topic: norwegian alphabet in reminder.tpl)
country flaguser name
Canada
2008-01-08 04:32:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harry M. Aasterud wrote:

> Send quarantine reminder e-mail?  Yes
> 
> Email Digest interval? (-1 to deactivate, in minutes)
60
> 
> My statistics:
> 
> Suspected Spam   1
> 
> Yet: no digest email was send to this address. Can it
be that the server
> needs a reboot to activate the changes in cron.hourly?
I don’t lke to
> mess with reboots for testing purpose on a production
server. So I
> rather ask first.

First, please note that digests and reminders are two
completely
different things, controlled by two different scripts
(send-quarantine-digests.pl and
send-quarantine-reminders.pl).  The only
setting that affects digests is the "Email Digest
Interval", which must
be > 0 minutes.

Next, take a look at your /etc/maia.conf file and make sure
that the
$template_dir is set correctly, since the script will fail
if it can't
find the templates.

Next, make sure the send-quarantine-digests.pl script is
actually being
executed.  Try running it manually from the command line (as
your
amavis/maia users, of course).  If it's failing for some
reason, you
should see an error message at this point.

- --
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFHg1EiGmqOER2NHewRAkiuAJ0WUFlR7/dIp83bY8CmG45R5KaOZgCf
W0ZG
rt2HHWr713HTbMmljWef4HY=
=Yq0X
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )