[courier-users] mailbot and -T forward / forwardatt

2011-01-14 Thread Jani Ollikainen
Hi,

Noticed that there's -T in mailbot and I think that those sounds better 
to have the original message as attachment than directly reply to it.

As if the original message is long, reader might not notice the
reply text.

Did some testing:
# cat testmail.txt | /usr/lib/courier/bin/mailbot -T forward -c UTF-8 -t 
reply.txt -A 'From: u...@example.org' -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: u...@example.org' -s 'Test'

Why?

Courier is:
courier-0.65.0-1
courier-maildrop-0.65.0-1

-- 
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


Re: [courier-users] mailbot and -T forward / forwardatt

2011-01-14 Thread Sam Varshavchik

Jani Ollikainen writes:


Hi,

Noticed that there's -T in mailbot and I think that those sounds better 
to have the original message as attachment than directly reply to it.


As if the original message is long, reader might not notice the
reply text.

Did some testing:
# cat testmail.txt | /usr/lib/courier/bin/mailbot -T forward -c UTF-8 -t 
reply.txt -A 'From: u...@example.org' -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: u...@example.org' -s 'Test'


Why?


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.




pgpVuXBpAUI7x.pgp
Description: PGP signature
--
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