Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-22-2006, 01:12 AM   #1
LQ Newbie
Registered: May 2006
Posts: 16

Rep: Reputation: 0
How to create users to POSTFIX/Courier POP3


I am still anthony and still a newbie for thoes who may have read my other post, i am laerning fast though.

I setup my debian server with the following setup.

All went well i think.

Instead of internet domains, i filled in my local domain as i want to make this postfix a local serving email server.

I want to now connect my outlook 2003 clients to the debian server.

My problems are now with creating NEW users to connect to the debian box, IE create a new user named john smith on the system(username jsmith), have him have a mailbox(or maildir) created in his home directory, and have emails sent to john.smith@mylocaldnsdomain.local go to his email store. Which i can then log in with outlook 2003 with a pop3/smtp account, username jsmith, password smithJOHN123.

The creating new users, creating new users on postfix, creating new users on courier, passwords for the 3 systems, and maildirectorys in home directorys is the problem that i have now.

And the succesful logon with outlook 2003.

Can anyone help me? I am so close to getting this thing to work, and when it does i can be free of my exchange server and costs!

Please help.

Thanks anthony.
Old 05-22-2006, 08:35 AM   #2
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
HI Anthony,

We have one postfix mail server that I have to mess with occasionally. I didn't install it, so I am not positive that the following is default behavior, but here is how it works for us:

1. Create a normal *nix user account and set the desired password. In your example,

#useradd jsmith
#passwd jsmith
2. Add the user and corressponding email address in the mapping file. Edit this file (on our box it is /etc/postfix/virtual ) and add the following line:

john.smith@mylocaldnsdomain.local jsmith

Save and exit.

3. Process the mapping file so that the new information is added to the postfix database file.

#postmap /etc/postfix/virtual
Hopefully that will work for you as well. I'll be interested in knowing the outcome. Good luck.

Last edited by zaichik; 05-22-2006 at 08:38 AM.
Old 05-22-2006, 05:29 PM   #3
LQ Newbie
Registered: May 2006
Posts: 16

Original Poster
Rep: Reputation: 0
this didnt work for me , i dont host any virtual domains, therefore the postmap /etc/postfix/virtual doesnt exist.

Thanks for your help though, not many seem to be keen or able to troubleshoot postfix issues. Perhaps i am over my head!

I am still at a loss though. Thanks anyway, perhaps i should buy a postfix book instead haha
Old 05-23-2006, 08:22 AM   #4
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30
Hi Anthony,

Have you looked this over?

I know that it doesn't address specifically how to add users, but I am pretty sure that, like sendmail out of the box, it will just use standard *nix users.
Old 05-23-2006, 09:38 AM   #5
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,247
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I simply use adduser to add users to my postfix / Courier system.. I did not use the exact same setup described there, but nothing jumps out at me saying yours should be any differnet..

adduser --shell /sbin/nologin testusr2
(/sbin/nologin means the user cannot login locally to the server, mail users have no need to ever login to the mail server )

What happens when you try to log into the pop server through telnet ?
itg-debian:~# telnet 110
Connected to
Escape character is '^]'.
+OK Hello there.
user someusername
+OK Password required.
pass somepassword
+OK logged in.
+OK Bye-bye.
Connection closed by foreign host


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
Migrate emails from POP3 server to Courier dlublink Linux - Networking 3 03-04-2006 04:18 PM
courier pop3 0.45 login problem bougnul Linux - Software 0 04-12-2004 05:18 PM
SMTP/ Postfix / IMAP-POP3 / Courier ?? vladimir-dk Linux - Software 3 04-09-2004 04:31 AM
Courier IMAP, pop3 problem sopiaz57 Linux - General 1 03-13-2004 11:02 AM
Courier POP3 authetication jay_gonzales Linux - Security 1 03-05-2004 02:09 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration