You are not logged in.
Pages: 1
Hi,
Taking first steps in bash-scripting in making an autoreply-script to go along with an email-filter.
However, this:
/usr/bin/mail -s "Re: $1" "$2" < $EMAILMESSAGE
Seems to give the OK-status (in an if-structure, the 'then'-statement is shown), but the mail never arrives, although it is a local mail-address. I have checked the vars (I print them in the then-statement), and they are all good.
On the other hand, executing
/usr/bin/mail -s test my@emailadress.com text
will only show me a blinking cursor. So it might be related to the mail-bin?
Zl.
Offline
Pages: 1