homepage Welcome to WebmasterWorld Guest from 54.204.168.212
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Sendmail user login account problem
Cary

5+ Year Member



 
Msg#: 3017248 posted 2:15 pm on Jul 21, 2006 (gmt 0)

I am requested to move a domain with email service which is currently hosted in an ISP to the company server. The requirement is to make the transfer transparent to existing email users. I've set up Sendmail and Squirrelmail to provide the service.

I am new to Linux and Sendmail. The only way I know to create a mail account is to create a user in the Linux system (Fedora 5 in my case). The problem is that the existing ISP use full email addresses as user logins for the email accounts (i.e. users enter "user@domain.com" instead of "user" in Outlook Express's user ID field). I tried to create a user in the "user@domain.com" format but fail.

Must a Sendmail user be a system user and have the same user name and password? How can I set up the system to use email address as user name?

 

NickCoons

10+ Year Member



 
Msg#: 3017248 posted 12:38 am on Jul 22, 2006 (gmt 0)

You're going to run in to another problem. Sendmail is an MTA.. it's just used to sendmail from one system to another. It is not used to receive email. For instance, when you're users enter "user@domain.com" in to Outlook Express, this is to connect to a POP3 (or perhaps IMAP) server, not an SMTP server (Sendmail is for SMTP). So you still need another application for that. Luckily, most Linux distros come with a POP3 server. However, SquirrelMail is an IMAP client, so you'd need an IMAP server.

If you want to use full email addresses, then you can't use system users, because system users can't include the domain, just the username. You'll need to authenticate against something else. My favorite setup is Postfix+Courier+MySQL. Postfix (instead of Sendmail), because it's much easier to configure for doing what you're wanting to do. Courier as both an IMAP and POP3 server, so you (or your users, if you'd like) have a choice. And MySQL, to hold the usernames in the form of "user@domain.com". Search for a Postfix Courier MySQL HOWTO to get detailed step-by-step instructions.

Cary

5+ Year Member



 
Msg#: 3017248 posted 3:35 am on Jul 22, 2006 (gmt 0)

Thank you for your reply. I've tried to install Postfix and cannot make it works. Anyway, I will check out authentication using Sendmail+MySQL as I also have MySQL up and running.
In Addition, I google around and find some messages talking about sasl authentication. May I use it to do what I want and how to do it?

NickCoons

10+ Year Member



 
Msg#: 3017248 posted 2:13 pm on Jul 22, 2006 (gmt 0)

You would use SASL authentication if you wanted people to be able to send email using your server from anywhere and require a username and password them do so. This still doesn't relate to them being able to receive their email though.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved