-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian,

On 8/28/12 5:16 PM, bwedd...@sbcglobal.net wrote:
> I ended up fixing this at the smtp server.  I added an entry in 
> /etc/postfix/generic with the "undesired address         desired
> address"
> 
> Re-ran the postmap command and reloaded postfix.
> 
> It is somewhat of a hack, but customers won't see a "tomcat at 
> some.local.server.org address".
> 
> They now see "donot-reply at corporate.com".

That's an awful hack and I'm sure you will find that when moving this
software to another machine you'll never figure out why "Tomcat" is
suddenly reverting to sending email messages from a different email
address.

Read the documentation for your email component (which surely uses
JavaMail under the hood) and how to set the "from" header. You can
also look at the JavaMail docs to see what system properties can
affect that kind of thing even if the email component doesn't expose it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlA9Y/AACgkQ9CaO5/Lv0PBxmQCfQFXzRHhXMDvsFALe+ZUY7yUd
nOsAn1RBr0Mo/DuwZ0lDr5jKMjwA1CJj
=9dlA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to