You are here

How do I change the from address on opsview emails

1 post / 0 new
oyhfs
oyhfs's picture
How do I change the from address on opsview emails

For reasons outside my control I need to have the notification emails that Opsview sends out come from a particular email address (joe_schmoe@example.com)

I have the relay server set up properly in opsview, I can see that the emails are hitting that server but are then going to the badmail folder.

I edited the main.cf file for postfix and changed "myorigin" to joe_schmoe@example.com but when I check the relay server I can see that the emails are coming from "nagios@joe_schmoe"@.example.com so I've obviously goofed something up. 

How can I change this from address? Thanks in advance!