LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-17-2009, 11:50 PM   #1
tamia
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
Mailserver


I have sendmail configured on PC X (also my DNS server) For PC A to use the sendmail server on PC X do I need to configure a pop3/IMAP server on PC A? Do I need to add users on PC A? Do I need to have a pop3/IMAP server on PC X? Do I need to add the username to the /etc/mail/local_host_names file on PC X? Sorry for the ignorance, I have all these pieces of the puzzle and am having a hard time putting them all together. Thanks
 
Old 05-18-2009, 04:23 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 87
Hmmm. I think you're not getting the structure of your mail server. Sendmail is an MTA which stands for Mail Transfer Agent. That is it's sole job. POP and IMAP provide authentication and access to Sendmail from other machines. Sendmail will 'send mail' once it has received any to send.

Looking at your situation: PC X is your sendmail server. To access sendmail from PC A, you need POP/IMAP/Webmail running on PC X also. You also will need a valid user account for PC X, with which to send mail. The user account on PC A does not matter.
Quote:
Do I need to add the username to the /etc/mail/local_host_names file on PC X?
This file refers to machines which can be recognised by PC X as being on the local network, hence safe to allow access. It has nothing to do with users.
 
Old 05-18-2009, 07:02 PM   #3
tamia
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you, it’s starting to come together for me. I have sendmail as my MTA and dovecot as my MDA on PC X. Do I understand correct that since PC A is on the local network I should add its hostname to the /etc/mail/local_host_names file so it can be recognized by PC X as being safe to allow access? Also to create e-mail accounts for users on my mail server do I just add them as users to the linux server machine? Thanks for your reply=)
 
Old 05-18-2009, 07:11 PM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 87
You're getting there! The ideal situation is when user and machine accounts are handled independently by an authentication server, for example OpenLDAP. However, this is probably overkill for your current situation.

You are correct that the hostname of the windows machine, or preferably the IP address should be added to the /etc/mail/local_host_names file.

What you may need to do is ensure that user accounts between linux and windows are synchronized! on the other hand, if you are setting up a website or some such, OpenLDAP is an ideal way to maintain user accounts on the linux system. It's all in front of you!
 
  


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
I need a mailserver rm22 Linux - Software 1 03-27-2008 07:34 PM
MailServer Help nixinbarrie Linux - Networking 3 04-22-2004 12:51 PM
mailserver on fd slam Linux - Software 3 06-30-2003 06:00 PM
got mailserver? fractilian Linux - Software 2 06-28-2003 03:56 PM
About Mailserver RKris Linux - Software 1 08-23-2002 08:07 AM

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

All times are GMT -5. The time now is 12:35 PM.

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