SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002814: Error message using restartsmtpscan.py - MantisBT
MantisBT - Endian Firewall
View Issue Details
0002814Endian FirewallProxy SMTPpublic2010-04-02 09:432010-11-22 11:51
baldy 
peter-endian 
normaltrivialalways
closedfixed 
2.3 
2.4 
0002814: Error message using restartsmtpscan.py
One of my clients has an EFW 2.3 system that had an entry for transparent source bypass, needed for their previous ISP which did not like the extra headers from spamassassin.
The transparent source entry was removed later on, due to the ISP change.

When using the restartsmtpscan.py script there is an error message :

2010-04-02 11:02:30,289 - restartsmtpscan.py[22694] - ERROR - Could not read byp
ass file '/var/efw/smtpscan/transparent_destination_bypass'!

The file mentioned does not exist, there is only a 0kb file transparent_source_bypass.

Removing this file also gets rid of the error.

Transparent_source_bypass is not removed when there are no entries, but left empty at 0kb, so the restartscript assumes there also should be a transparent_destination_bypass file.

When saving the configuration from the GUI there should be a check to see if the file is empty and if so the file should be deleted.

Regards,

Klaas-Jan
No tags attached.
Issue History
2010-04-02 09:43baldyNew Issue
2010-04-02 10:59peter-endianNote Added: 0004108
2010-04-02 10:59peter-endianStatusnew => feedback
2010-04-02 13:32ra-endianSeverityminor => trivial
2010-04-02 14:01baldyNote Added: 0004109
2010-04-13 10:08peter-endianNote Added: 0004140
2010-04-13 10:08peter-endianStatusfeedback => confirmed
2010-04-13 10:11peter-endianStatusconfirmed => resolved
2010-04-13 10:11peter-endianFixed in Version => codename: angry armadillo
2010-04-13 10:11peter-endianResolutionopen => fixed
2010-04-13 10:11peter-endianAssigned To => peter-endian
2010-11-22 11:51peter-endianStatusresolved => closed

Notes
(0004108)
peter-endian   
2010-04-02 10:59   
Does this cause any trouble, or print out just the error message?
(0004109)
baldy   
2010-04-02 14:01   
Peter,

Just an error message, does not appear to cause a problem.

Regards,

Klaas-Jan
(0004140)
peter-endian   
2010-04-13 10:08   
there's indeed a wrong check, so that if the source transparent file does exist, it is assumed that the destination file does also exist.