There isn't currently a galaxy-wide configuration for the from header address.
Most places use frm = 'galaxy-noreply@%s' % host, where host is the fqdn of the
box, as you've seen. I took a quick look, and it does look like everything
that sends mail uses util.send_mail, so you could just modify that method to
ignore the input frm parameter and immediately set it to frm =
'gal...@imb-mainz.de' and you should be good to go.
On Aug 3, 2011, at 4:52 AM, Holger Klein wrote:
> Hi all,
> for the email functionality of our local galaxy instance I'm forced to
> use SMTP authentication and to use a specific "from", which is different
> to what galaxy generates automatically.
> Now galaxy generates a "from" like
> but I want to set this to
> A quick check shows that the send_mail function defined in
> lib/galaxy/util/__init__.py is called in various places.
> Is there a way to set the "from" to a specific value?
> If not, it send_mail the only galaxy-function used to send mail?
> Dr. Holger Klein
> Core Facility Bioinformatics
> Institute of Molecular Biology gGmbH (IMB)
> Tel: +49(6131) 39 21511
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
Please keep all replies on the list by using "reply all"
in your mail client. To manage your subscriptions to this
and other Galaxy lists, please use the interface at: