Cleiton Luiz Siqueira <[EMAIL PROTECTED]> wrote:
>
> The Perl "delivery" program is only used to call safecat program, nothing
> else. Because this I think the safecat is failing sometimes.
No. Your Perl script is buggy.
> The variables $login and $domain I get through the enviroment variables
> $ENV{'RECIPIENT'} and after I split the address in two parts.
This isn't always safe. For instance, send mail to user-foo@bar@domain and
see what happens.
> I use these variables when I run safecat program with the following
> sintaxe:
>
> system("/usr/local/bin/safecat /home/$domain/$login/Maildir/tmp
> /home/$domain/$login/Maildir/new");
Put the whole script up somehwere and post a URL to it, so any curious Perl
hackers here can verify it works correctly. Are you checking the exit code of
safecat? If not, you're dropping mail on the floor.
> Safecat program is the only one thing that probably is failing, due to
> Perl program does nothing else.
safecat is fine. Your program is buggy.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------