LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-14-2006, 07:36 AM   #1
onyangoliech
Member
 
Registered: May 2003
Location: Kenya
Posts: 45

Rep: Reputation: 15
how do i prevent a user from sending mail


I want to prevent a user....who has left the organization from sending email using our server.I'm using FC4 and Postfix
 
Old 12-14-2006, 07:40 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Unless your server can be used as an open relay, all you should have to do is remove or disable his account.
 
Old 12-14-2006, 09:35 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by fordeck
Unless your server can be used as an open relay, all you should have to do is remove or disable his account.
Which should be standard practice in most organizations or companies I hope..
 
Old 12-15-2006, 12:40 AM   #4
onyangoliech
Member
 
Registered: May 2003
Location: Kenya
Posts: 45

Original Poster
Rep: Reputation: 15
I want the user to keep receiving mail for a certain period but not send.If I disable the account will they be able to receive,If so how do I do that.
 
Old 12-15-2006, 11:24 AM   #5
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
I would create a different account, setup their old username as an alias to the new account then create a .forward rule to forward any mail that arrives at that address to a personal account they own, or a webmail account at someplace like gmail.

So mail would still be received at their original address and forwarded to an account they can access, yet they wouldn't have login information for the real account. and since it's forwarded to an account they own any replies from them wouldn't come form your company email server..

A bit screwy but it could work...

You can also set an expiry date on the user account so it will expire automatically.
 
  


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
prevent user from sending mail in postfix onyangoliech Linux - Networking 2 12-15-2006 07:37 AM
prevent user from sending mail in postfix onyangoliech Linux - Networking 1 12-14-2006 07:29 AM
Sending Mail via cron every hour without user input. cpope67 Linux - Software 1 10-25-2004 01:55 PM
Postfix+Courier-IMAP virtual user not found when sending mail hawkpaul Linux - Software 0 05-03-2004 11:02 AM
Sending Greeting mail to new user ranjit001 Linux - Networking 1 01-02-2001 11:58 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration