LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-05-2011, 05:05 PM   #1
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Rep: Reputation: 23
Linux with Active Directory authentication - how to automatically forward user's mail


Hello,

I have Linux servers set up to authenticate users from AD. Say user "joe" logs in, then a Unix user "joe" is created. When that user receives mail, it goes into his system mailbox. How can I configure my system so that when "joe" gets email, the mail is automatically forwarded to his email "joe.smith@ourdomain.com" ? I've looked at a few tutorials, and they require putting the specific user and their forwarding address in /etc/aliases. Is there a way to have the system automatically check if the user is an AD user, then send it to their correct email?

I'm using Centos 5.3, with Samba/winbind authentication against Active Directory, and procmail. I can use any other mail agent if necessary.

Thanks!
 
Old 08-06-2011, 08:09 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Sorry, I haven't used winbind but why are you creating unix users ? ... and why not have central home directories ?
 
Old 08-11-2011, 09:27 AM   #3
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by kbp View Post
Sorry, I haven't used winbind but why are you creating unix users ? ... and why not have central home directories ?
I'm not creating users. More precisely, a local mailbox for the user is created. The user is defined in winbind.
 
Old 08-11-2011, 06:32 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Quote:
then a Unix user "joe" is created
.. sorry, this was a little misleading

You could configure your mail servers to use AD as an ldap source for looking up email recipients

Last edited by kbp; 08-11-2011 at 06:34 PM.
 
Old 08-12-2011, 12:03 PM   #5
slinx
Member
 
Registered: Apr 2008
Location: Cleveland, Ohio
Distribution: SuSE, CentOS, Fedora, Ubuntu
Posts: 106

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by kbp View Post
.. sorry, this was a little misleading

You could configure your mail servers to use AD as an ldap source for looking up email recipients
Yes, that's what I don't know how to do.
 
  


Reply

Tags
active directory, ldap, mail



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
Active Directory Authentication FC12 New user logins jgoodyear Linux - Security 0 03-11-2010 07:59 AM
Integrating vsftpd with Active Directory for user authentication greensuman Linux - Server 1 12-22-2009 04:54 PM
RHEL 4/5 Active Directory authentication question - can I user AD groups? laggerific Linux - Software 1 10-11-2009 01:28 PM
PAM Active Directory user authentication for Samba shares in RHEL 4 rockfx01 Linux - Server 3 12-02-2008 01:02 PM
winbind- cannot make user authentication with Active Directory chenboly Linux - Networking 1 04-12-2008 09:09 AM

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

All times are GMT -5. The time now is 08: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
Open Source Consulting | Domain Registration