LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-15-2009, 07:23 AM   #1
+Yan
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware Linux
Posts: 21

Rep: Reputation: 15
Postfix force sender ("From:" field)


Hello,
We have Linux post server with Postfix running on it and 5 domains.
Everything is working fine, except one thing. I was wondering how can I force user X to be able to send email ONLY as X@domain1.com, but NOT as X@domain2.com for example. I.e. how can I create map user --> email, and force every user to be verified against this table.

--
Thank you in advance.
 
Old 01-15-2009, 10:02 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Check out smtpd_sender_login_maps and reject_sender_login_mismatch. Those enforce envelope sender.
 
Old 01-16-2009, 04:56 PM   #3
+Yan
LQ Newbie
 
Registered: Jan 2006
Distribution: Slackware Linux
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Berhanie View Post
Check out smtpd_sender_login_maps and reject_sender_login_mismatch. Those enforce envelope sender.
This is exactly what we need. Thank you very mach !
 
  


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
Postfix "Content Filter" setup to reject emails with too many recipients in TO: field bahadirtonguc Linux - Server 10 05-27-2010 02:07 AM
How to run "evolution --force-shutdown" from a script without an x session" biglesias Linux - Software 2 04-14-2008 10:36 AM
Microsoft "new" patent could "force" downloaders to view commercials!! Hitboxx General 12 12-27-2007 09:05 AM
shell script question: removing a line according to a duplicate "field" mattie_linux Linux - Newbie 1 01-12-2006 03:57 PM
Error in Sendmail Tail : "apache set sender to <> using -f" cartfanatic39 Linux - Software 0 01-30-2004 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:38 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