PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001333PacketFenceweb adminpublic2011-11-09 13:072011-11-21 12:05
Reporterpacketfence4me 
Assigned Toobilodeau 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.0.1 
Target Version3.0.3Fixed in Version3.0.3 
Summary0001333: Request to be able to modify from the GUI, the sending email address
DescriptionMy corporate email blocks emails that contain the word root. I would be great to be able to have the option via the GUI to customize the sending email address. I've done this manually via the util.pm, but this gets overwritten every upgrade.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision2308834662652e14f51527ec2a74b54cee3fadfc
Attached Files

- Relationships

-  Notes
(0002433)
obilodeau (reporter)
2011-11-11 10:16

Have you tried modifying the configuration parameter alerting.emailaddr? I'm pretty sure that's what you are looking for.
(0002435)
packetfence4me (reporter)
2011-11-11 11:03

alerting.emailaddr is for who the email is sent to, correct? I want to be able to modify the email address that these alerts are sent from via the GUI.

Currently in the util.pm it is set for something like this if I recall correctly 'root@' . $fqdn

I'd like to be able to update that via the GUI to something like pfalert@pf.test.com as the sending email address and have that carry across via updates.

Thanks,
(0002436)
obilodeau (reporter)
2011-11-11 11:27

I meant alerting.fromaddr.. And now I realize that this parameter is not documented...

but the code should do the right thing:

my $from = $Config{'alerting'}{'fromaddr'} || 'root@' . $fqdn;
(0002441)
packetfence4me (reporter)
2011-11-11 17:07

cool. Thanks
(0002442)
obilodeau (reporter)
2011-11-14 09:36

Turns out that it was documented but not visible from the Web Admin because it didn't have a default value in pf.conf.default. I provided a default value (empty) and documented that empty means root@<domain-name>.
(0002455)
obilodeau (reporter)
2011-11-21 12:04

Fixed released in 3.0.3 today.

- Issue History
Date Modified Username Field Change
2011-11-09 13:07 packetfence4me New Issue
2011-11-11 10:15 obilodeau Status new => assigned
2011-11-11 10:15 obilodeau Assigned To => obilodeau
2011-11-11 10:16 obilodeau Note Added: 0002433
2011-11-11 10:16 obilodeau Status assigned => feedback
2011-11-11 11:03 packetfence4me Note Added: 0002435
2011-11-11 11:27 obilodeau Note Added: 0002436
2011-11-11 17:07 packetfence4me Note Added: 0002441
2011-11-14 09:36 obilodeau mtn revision => 2308834662652e14f51527ec2a74b54cee3fadfc
2011-11-14 09:36 obilodeau Note Added: 0002442
2011-11-14 09:36 obilodeau Status feedback => resolved
2011-11-14 09:36 obilodeau Fixed in Version => +1
2011-11-14 09:36 obilodeau Resolution open => fixed
2011-11-14 09:36 obilodeau Category feature => web admin
2011-11-21 12:04 obilodeau Note Added: 0002455
2011-11-21 12:04 obilodeau Target Version => 3.0.3
2011-11-21 12:05 obilodeau Status resolved => closed
2011-11-21 12:05 obilodeau Fixed in Version +1 => 3.0.3


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker