Hi Paul,

Thanks about the tip regarding crontab! It makes the most sense indeed.

Cheers,

JK

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul J Stevens
Sent: Thursday, June 24, 2004 4:56 PM
To: DBMail mailinglist
Subject: Re: [Dbmail] aliases



Jan-Kees Fels wrote:

> It is my experience that dbmail-maintenance -f does not cleanup aliases 
> which are left over because the useraccount which they were linked to 
> has been deleted.
> 
> A workaround is to first delete the aliases and then the useraccount.
> 
> Of course, you can do a sql statements yourself, like "delete from 
> aliases where alias_idnr = 4;
> 
> But this requires human interaction and also a lot of groundwork when 
> you have very much aliases. Plus not everyone is comfortable with sql.

Valid point. Aliases that point to integer deliver_to values always 
refer to user_idnr. If those don't exist, they should probably be removed.

Could you report this on the bugtracker on www.dbmail.org please?


> Also, I would like to have some aliases working only during certain 
> times of the day. Let me explain.
> 
> I have some deliver_to aliases, which in fact forward the email to my 
> mobile phone. Since I am sitting behind my computer between 9 and 5pm, I 
> don't need these emailnotifications on my phone during workinghours. 
> (every emailnotification costs 30 eurocents per minute). I would like 
> these notifications between 5pm and 11pm.

Use cronjobs.

at 17:00  dbmail-adduser f <someaddress> <otheraddress>
at 09:00  dbmail-adduser x <someaddress> <otheraddress>

> Maybe it is something which can be implemented in a future release if 
> you think its useful.

I don't think this will happen since it's not worth the trouble given 
the fact it can be done so easily with a cronjob/shellscript.



-- 
   ________________________________________________________________
   Paul Stevens                                  mailto:[EMAIL PROTECTED]
   NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
   The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



Reply via email to