On 18.01.2011 16:11, Bowie Bailey wrote: > Have you tried importing the variable? > import SENDER
No! So that was the key! :D So now it seems to work! import SENDER MAILTO=escape($SENDER) ... SENDER=escape(`cat vacation_sender.txt`) SUBJECT=escape(`cat vacation_subject.txt`) ... cc "| /usr/lib/courier/bin/mailbot -T forward -c UTF-8 -t vacation.txt -A 'To: $MAILTO' -A 'From: $SENDER' -s '$SUBJECT' /usr/sbin/sendmail -f ''" That's basicly what I have. Please comment if that is done insecurely. -- Yhteistyöterveisin, Jani Ollikainen @ Pronetko Networks Oy ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users