ClearFoundation Tracker - ClearOS
View Issue Details
0000714ClearOSapp-smtp - SMTP Serverpublic2012-08-17 11:392018-03-07 10:23
bchambers 
user2 
normalfeaturealways
closedno change required 
6.3.0 
 
0000714: Local subnet not a trusted network by default
In 5.x, some automagic happened (I think) where you did not have to specify your local LAN subnet as trusted.

In 6, this is not the case, and will *get* a lot of people when they find they can't send mail through the server without first adding their subnet.

Some similar auto-magic should happen as in 5.x or overwrite default main.cf file (mynetworks_style = subnet?) so that sending from LAN is permitted by default.
If you install 6 and receive "Relay access denied" from your mail client while sending from the LAN, navigate to "Server --> Mail --> SMTP" and add your local subnet. For example, if your server's LAN IP is 192.168.1.1, the trusted network would be:

192.168.1.0/24
No tags attached.
Issue History
2012-08-17 11:39bchambersNew Issue
2012-08-17 11:39bchambersStatusnew => assigned
2012-08-17 11:39bchambersAssigned To => user2
2012-08-17 15:37timb80Note Added: 0000550
2012-08-20 07:00user2Note Added: 0000551
2012-08-20 07:00user2Severityminor => feature
2012-08-20 07:00user2Description Updatedbug_revision_view_page.php?rev_id=14#r14
2012-08-20 12:34user2Target Version6.3.0 Updates =>
2013-02-02 11:55user2Note Added: 0000681
2018-03-07 10:23user2Statusassigned => resolved
2018-03-07 10:23user2Resolutionopen => no change required
2018-03-07 10:23user2Statusresolved => closed

Notes
(0000550)
timb80   
2012-08-17 15:37   
Just to clarify behaviour observed in 5.2 - you must setup a trusted network range if you don't use SMTP authentication to allow mail to be sent. However Mail can be sent normally with SMTP authentication and no trusted networks.

Mail originating from a trusted network will bypass the authentication check completely, so having both configured can result in a false sense of security...
(0000551)
user2   
2012-08-20 07:00   
The default of trusting the local network is not best practices, so it was dropped in ClearOS 6. I just updated the documentation on the topic.

We may want to add a simple on/off option for allowing unauthenticated connections from the LAN, but I would still vote to leave this disabled. Or, just adding a "tooltip" in the sidebar might be better?
(0000681)
user2   
2013-02-02 11:55   
And... if a "mail server" wizard of some kind is created, highlighting this policy would be a good idea.