Leon --

...and then lz said...
% 
% Hey,

Hi!


% 
% thanks for the help. Right now, I don't really care
% about performace/DOS, I just want to make sure, if the
% mail is sent to that account, my perl script will be

Heh.  The most temporary of code has a way of hanging around...


% executed. It still doesn't seem to work:
% 
% Here is what in my perl file. .forward is the same:
% 
% #!/usr/bin/perl
% open LOG, ">/home/lz/perl/logfile" or die "Can't
% create logfile: $!";
% 
% print LOG "test";
% 
% When the mail is sent, the file is not generared...

Hmmm...  Have you checked your mail logs to see what happens from the
mailer's point of view?


% When I execute the code from the command prompt, file
% is generated...

That part is good, anyway.


% 
% Any ideas?

What are the permissions on your perl directory or the existing logfile
file?  I bet that the mail process (we hope not root) doesn't have
permission to write there.


% 
% Thanks guys!


HTH & HAND

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg24662/pgp00000.pgp
Description: PGP signature

Reply via email to