Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th March 2012, 23:39
basmevissen basmevissen is offline
Junior Member
 
Join Date: Sep 2009
Posts: 10
Thanks: 3
Thanked 1 Time in 1 Post
 
Default Add mail user disable sending option

Hi,

I was looking for a way to disable smtp access (to send e-mail over the server) from the control panel. There is a field "disablesmtp" in the mail_user table already.

This field needs to be added to the sasl2 sql query as well:
File /etc/postfix/sasl2/smtpd.conf:
Code:
sql_select: select password from mail_user where email = '%u@%r' and disablesmtp = 'n'
For now, this option needs to be set in the database directly using for example phpmyadmin.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email being accepted but not delivered punto Installation/Configuration 8 25th May 2011 01:13
installing squirrelmail on Debian with ispconfig3 saco721 Installation/Configuration 18 1st April 2011 18:57
Stange mail problem The-Ghost Installation/Configuration 6 25th April 2010 20:59
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 17:27
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 18:51


All times are GMT +2. The time now is 12:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.