Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Email
(view source)
Revision as of 19:58, 6 January 2014
687 bytes added
,
19:58, 6 January 2014
→Disable mail to a user from an external network
Line 555:
Line 555:
===Disable mail to a user from an external network===
===Disable mail to a user from an external network===
+
However, this seems to only affect /var/qmail/control/badrcptto - denying external delivery to your users but allowing outbound emails:
+
http://forums.contribs.org/index.php?topic=40449.5
+
Can be either a user, pseudonym or group
Can be either a user, pseudonym or group
db accounts setprop groupname/username Visible internal
db accounts setprop groupname/username Visible internal
+
signal-event email-update
+
+
If you want to remove
+
db accounts delprop groupname/username Visible
+
signal-event email-update
+
+
* If you need to restrict emails for all users you can perform this command line
+
+
db accounts show | awk -F "=" '/\=user/ {print $1}' |while read USER; do db accounts setprop $USER Visible internal; done
+
signal-event email-update
+
+
If you want to remove
+
db accounts show | awk -F "=" '/\=user/ {print $1}' |while read USER; do db accounts delprop $USER Visible; done
signal-event email-update
signal-event email-update
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search