LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-22-2006, 02:16 PM   #1
zovres
Member
 
Registered: Sep 2002
Posts: 184

Rep: Reputation: 30
disable smtpd


Hi, I have a mail server on which I'd like people to be able to read their email but not send emails. Right now anybody can send anything from my server because smtpd is running.
So I edited /etc/postfix/master.cf and commented out the following line

#smtp inet n - - - - smtpd

it worked I could not send any emails anymore which was cool but unfortunately, I could not receive email too :\

Any ideas?

Thanks!
 
Old 03-22-2006, 02:35 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
you should actually read the postfix documention, instead of ust breaking the master.cf... you can just change the trusted_networks array to control who can send mail through you. might be called allowed_networks, can't remember offhand, either way it's all well documented in the main.cf
 
Old 03-23-2006, 03:41 PM   #3
zovres
Member
 
Registered: Sep 2002
Posts: 184

Original Poster
Rep: Reputation: 30
Oh cool restricting networks would be fine! thanks for your help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start qmail-smtpd Madrinator Linux - Networking 6 01-06-2006 11:06 AM
Sendmail smtpd being used for spam.. bulzbb Linux - Software 2 03-18-2004 06:17 PM
editing qmail-smtpd.c to my needs rabbate Linux - Software 0 02-15-2004 03:31 AM
Configuring qmail-smtpd tveiga Linux - Software 1 01-16-2004 03:17 PM
Smtp vs. Smtpd on Postfix BeerBust Linux - Software 1 10-10-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration