LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2010, 09:11 AM   #1
tkdraco
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Lightbulb Qmail Webmin/ Terminal guide pls


Dear all,

pls bear with me as i'm very new at this, and posting this solely because I have tried searching here as well as google but cant seem to get an answer.

am using qmail and have webmin, all is running smoothly, but i have users spamming other staff accounts.

The question: How do I block a user from sending out mails but still able to receive mails. Just denying access to sending mails?

Would greatly appreciate if anyone can guide me to do it via terminal as well as webmin.

Why webmin you ask, because I have tried it once it works but sadly it block both incoming and outgoing mails.
 
Old 03-19-2010, 10:12 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi and welcome to LQ

You can put the email address(es) you want to block from sending mail in /var/qmail/badmailfrom
Code:
user1@domain.com
user2@domain.com
Regards
 
Old 03-22-2010, 07:47 AM   #3
tkdraco
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
hi,
thanks for ur reply,

firstly i thought /var/qmail/badmailfrom is where we put unwanted incoming mail addresses.
and secondly i tried what you suggested but the user is still able to send mails to other users? after placing the email address in this list should i restart and service?
 
Old 03-22-2010, 07:56 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,602

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
Hi,

The correct file location is /var/qmail/control/badmailfrom and there is no need to restart qmail

Regards
 
  


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
Pls Guide Me As I Am A Starter akt7488 Linux - Newbie 2 09-24-2007 01:21 PM
Installing SUSE guide pls LinuxNewbie999 Linux - Newbie 16 11-09-2006 02:55 AM
get /cgi_bin/formmail.cgi to work on fedroa3 with webmin and qmail installed help Hcard Linux - General 2 05-18-2005 03:06 PM
guide me pls!!!! maharaskal Linux - Newbie 4 03-03-2005 01:55 AM
pls guide me ho to install maharaskal Linux - Newbie 1 03-01-2005 07:21 AM


All times are GMT -5. The time now is 07:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration