Welcome to WebmasterWorld Guest from 54.205.170.21

Forum Moderators: bakedjake

Message Too Old, No Replies

Sendmail user login account problem

   
2:15 pm on Jul 21, 2006 (gmt 0)

5+ Year Member



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?

12:38 am on Jul 22, 2006 (gmt 0)

10+ Year Member



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.

3:35 am on Jul 22, 2006 (gmt 0)

5+ Year Member



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?
2:13 pm on Jul 22, 2006 (gmt 0)

10+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month