Switch Name in From Header of Messages

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
tma
Experienced Member
 
Posts: 122
Joined: Tue Mar 03, 2015 4:07 pm
Location: Oberursel, Germany
Has thanked: 15 times
Been thanked: 14 times

Switch Name in From Header of Messages

Tue Apr 19, 2016 5:39 pm

Today someone pulled the wrong cable and so the switch sent a message saying one leg of a LAG was down. Nice feature.

However, please put the name of the switch into the From address (instead of 'root'). Currently the name of the sending switch is appended to the message subject, but that doesn't help if you want to sort or group a collection of messages by origin of messages (we keep all such messages in an Exchange public folder).
--
Thomas Giger

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Switch Name in From Header of Messages

Tue Apr 19, 2016 5:40 pm

I alerted Eric to this request
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Switch Name in From Header of Messages

Thu Apr 21, 2016 4:43 pm

You can already do this. Under the SMTP configuration you can set the "From Address" field to whatever you desire.

User avatar
tma
Experienced Member
 
Posts: 122
Joined: Tue Mar 03, 2015 4:07 pm
Location: Oberursel, Germany
Has thanked: 15 times
Been thanked: 14 times

Re: Switch Name in From Header of Messages

Thu Apr 21, 2016 5:14 pm

Eric Stern wrote:You can already do this. Under the SMTP configuration you can set the "From Address" field to whatever you desire.


Thanks for the hint. I wasn't sure what the syntax is and so I put a pure mail address there (because the field says "address"), i.e. switchname@domain.tld. That causes the From header to be set to "root" <switchname@domain.tld> in the message and it shows up as (the display name) root in the From column of Outlook, hiding the address part, and so I cannot sort/group on that column.

Are you saying I could add the display name part of an address somehow? How? I tried setting it to "switchname" <switchname@domain.tld> (with and without the quotes and the <>) but the field had a red background always. It seems I can't add anything that is beyond a pure RFC822 address.
--
Thomas Giger

User avatar
tma
Experienced Member
 
Posts: 122
Joined: Tue Mar 03, 2015 4:07 pm
Location: Oberursel, Germany
Has thanked: 15 times
Been thanked: 14 times

Re: Switch Name in From Header of Messages

Thu Apr 21, 2016 5:25 pm

Guessing time: If you're using ssmtp, you would use it as ssmtp -F <switchname> -f <fromaddress> ... that would not require a change/addition to the GUI ... presuming everybody would be happy to see "<switchname>" instead of "root".
--
Thomas Giger

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 36 guests