Depending on what exactly you want to do, you can probably do it from
cron.  For example, I have this in my personal crontab:

11 * * * * tmda-address -d 90m > ~/public_html/datedaddy

This creates a dated address valid for 90 minutes every hour.  I then
have my footer.shtml include this dated addy as the value of mailto:

&lt;<A HREF="mailto:<!--#include virtual="datedaddy"-->">
<I>[EMAIL PROTECTED]</I></A>&gt;

But this obviously won't be helpful if you need to generate something
other than dated addresses.  If that's the case, you're probably ok to
use the suid wrappers others have suggested.  Or look into SuExec for
apache (or whatever your webserver's equivalent is).

http://mla.libertine.org/tmda-users/200208/msg00002.html

-jon

-- 
Jon Nathan
[EMAIL PROTECTED]




* Mike Diehl <[EMAIL PROTECTED]> [10-22-2002 03:03]:
>
> Hi all,
> 
> I'm trying to write a cgi script for use on my mail server which will call 
> tmda-address and generate addresses for me.  I don't want to have to login to 
> my mail server just to run this program.  I'd also like to not have to 
> remember and type type the entire command line.
> 
> However, if my web server runs as user apache, how can I set things up so 
> that tmda-address can read a user's crypt_key?
> 
> TIA
> -- 
> Mike Diehl
> PGP Encrypted E-mail preferred.
> Public Key via: http://dominion.dyndns.org/~mdiehl/mdiehl.asc
> 
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to