Re: My ISP doesn't relay my e-mail's
Luciano Schirmer Silveira <lss01 <at> terra.com.br>
2003-06-05 03:30:38 GMT
I'm working on it, but to say the truth, that script doesn't work!!
I don't know what happens. The script is:
--------------------------
#!/bin/sh
for i in /var/qmail/alias/pppdir/new/*
do
perl -pi -e 's/^Return-Path:.*/Return-Path: <mylogin\ <at> superig.com.br>/' $i
done
/usr/local/bin/maildirsmtp ~alias/pppdir alias-ppp- smtp.superig.com.br superig.com.br
cowsay "Your mail was sent!!!" # a cute cow say that the mail is sent :)
--------------------------
The problem is that it runs the perl part for every file in
~alias/pppdir/new/, then it does not send the e-mail using the
maildirsmtp line, but it runs the cowsay line.
If I change the perl part by another thing like an 'echo' command, the
e-mails are sent correctly. Seems like perl is fu**ing it all!!
I'd appreciate more details about a way of triggering. Any information
is welcome.
Thanks for now!!
On Sat, 2003-05-31 at 12:16, Frank Tegtmeyer wrote:
(Continue reading)