LinuxQuestions.org
Register a domain and help support LQ
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 07-12-2005, 05:23 AM   #1
dweeb
LQ Newbie
 
Registered: Apr 2004
Posts: 22

Rep: Reputation: 15
Sendmail authentication


Hi,

I work in a school in the UK. We are running a windows 2000 server and RM community connect software.

All our users currently use windows xp pro.

I have been playing around with Fedora Core 3 and would like to do the following:

Log on using windows xp as usual. Then use the Fedora as an email server.

The problem is this, I can't get my head round the authentication. How do I make it so that users can send and receive mail using their existing usernames and passwords on the windows server without re-creating the details on the Fedora box

I have done a search and read some threads, but seem to get more and more confused.

Thanks

Darren.
 
Old 07-12-2005, 09:54 AM   #2
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
You can't, you must have a user account set up on the mail server.

The mail server can't pick up each users username and password on each XP box.
 
Old 07-12-2005, 12:01 PM   #3
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 34
you must create each user account in the sendmail server itself. u must also need some tweaking with sendmail since sendmail ,by default only sends mail from the server only. u must configure it to relay mail for the entire subnet or domain. feel free to ask questions since sendmail is something difficult to configure and needs some attention. vimal.....
 
Old 07-13-2005, 05:27 AM   #4
dweeb
LQ Newbie
 
Registered: Apr 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks For the replys!

Hi,

Thanks for the replys.

Vimal,

The email server is going to be for internal email only - we only want the students to be able to email each other.

I have managed to get sendmail to work and can check this with squirrel mail.

I have read so much on the internet, my brain has become overloaded and I am just a bit confused now .

I understand that I need to create users on the sendmail server, does this mean a login username and password, or is it possible to just create a mailbox for the user?

Thanks for your patience

Darren.
 
Old 07-13-2005, 05:42 AM   #5
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
The easiest way IMO is to create a non-login account for the user(s):

Code:
groupadd joe
Code:
useradd -g joe -s /sbin/nologin -d /dev/null -c 'Joe Bloggs' joe
This creates a Linux account for the user joe with a nologin shell, and the home directory is black hole.

Code:
passwd joe
That's probably the easiest way.

By default his mail will end up in /var/spool/mail/joe until fetched via pop, http, or imap etc.

Don't let Linux screw your head up, take it slow and don't get frustrated, once you learn enough you'll love it.
 
Old 07-14-2005, 03:00 AM   #6
dweeb
LQ Newbie
 
Registered: Apr 2004
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks dudydoo!

That sounds exactly what I need from the mailbox side of things, but I will still have 2 passwords set, one on the windows server and another on the sendmail server.

Is there any way to check the password on the windows server? I have read posts talking about using ldap to do this.

Thanks

Darren.
 
Old 07-14-2005, 05:24 AM   #7
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
I have no experience with ldap personally, but the other way could be to configure the mail server (or another server) to be a file server/domain controller for the LAN using Samba, then you can sync the Windows login information with the passwd database. But that'd be rather complicated or an overkill for someone with no or little experience.
 
  


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
sendmail + smtp authentication omid1979 Linux - Networking 1 10-30-2005 10:12 AM
Sendmail Authentication sachin0178 Linux - Newbie 0 10-15-2005 03:48 PM
Sendmail Authentication KnightKrawlur Mandriva 0 08-13-2004 11:49 PM
LDAP authentication by sendmail zapperabhi Linux - Software 0 01-13-2004 09:37 PM
Authentication slow with Sendmail jgaraas Linux - Software 0 05-01-2003 11:09 AM


All times are GMT -5. The time now is 12:19 AM.

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