Setting the Return-Path in TMail?

Hello,

I was wondering if it’s possible to set the return-path in TMail?

I didn’t see any way on here on how to do that:
http://www.railsmanual.org/class/TMail::Mail

Here’s a theoretical scenario:

  • You offer a hosted mail service, which allows people to use their own
    POP accounts etc.

  • When your clients send mail, the return-path should be back to your
    client’s mail server. (since you’re just pop’ing in and receiving it
    that way)

I know there must be lots of spam-related issues regarding the
return-path and setting all the headers properly. Is that why it can’t
be set by default?

  • Shanti