# SUMA: smpt address rewrite

**URL:** <https://forums.suse.com/t/suma-smpt-address-rewrite/43490>\
**Category:** SUSE Multi Linux Manager\
**Created:** [June 26, 2024, 1:05pm UTC](https://forums.suse.com/t/suma-smpt-address-rewrite/43490 "2024-06-26T13:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)\
**Post date:** [June 26, 2024, 1:05pm UTC](https://forums.suse.com/t/suma-smpt-address-rewrite/43490/1 "2024-06-26T13:05:43Z")

</div>

Hi,  
I am trying to get email to work.  
I found a post saying I had to put  
java.smtp\_server = ip of smtp server  
in /etc/rhn/rhn.conf

I did that and the relay now gets mail sent by SUMA.  
I am trying to test that with creating (and deleting and again creating) an user (who should get a welcome email).  
Unfortunately the sender is root@localdomain and I cannot figure out how to configure a rewrite.

Postfix rewrite and sending email from command line is perfectly working.

Thanks for any hint.  
Kind regards, Igor
