On 15.01.2011 03:40, Sam Varshavchik wrote: >> # cat testmail.txt | /usr/lib/courier/bin/mailbot -T forward -c UTF-8 >> -t reply.txt -A 'From: [email protected]' -s 'Test' >> 511 Headers specify no receipients. >> sendmail: Unable to submit message. >> >> But without -T parameters it works >> # cat testmail.txt | /usr/lib/courier/bin/mailbot -c UTF-8 -t >> reply.txt -A 'From: [email protected]' -s 'Test' > A forward is not a reply. -T controls not just how the content of the > generated message is formatted, but also the headers. > When you hit the "Forward" menu item or button in your mail client, the > new message comes up without any listed recipients. Same thing here.
Ok, then I would need to add -A 'To: $VARIABLE' to mailbot line in mailfilter. After reading documentation there is FROM but "This information may or may not be available to maildrop on your system." /etc/courier/courierd: DEFAULTDELIVERY="|| /usr/lib/courier/bin/dotforward | /usr/lib/courier/bin/maildrop -w 90" And documentation also says "If the -f option is not given, maildrop looks for the From_ line in the message.". And when doing `set >/tmp/variables.txt` in .mailfilter I don't see FROM. So if I would like to use -T forward or -T forwardatt in mailfilter to send auto replies what is needed? -- 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 [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
