Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-28-2008, 06:43 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 13

Rep: Reputation: 0
Virtual users login names in postfix.

I am trying to migrate from qmail to postfix. With qmail users can use only their username to login, but in postfix they need the whole email address.

This is going to be a big problem, since all the users use only the username today and will not be able to login without changing this. Is there a way to login with just the username in postfix?
Old 02-28-2008, 11:13 PM   #2
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: OpenBSD, Slackware, XP
Posts: 347

Rep: Reputation: 31
I'm using courier-imap with postfix for my virtual mailbox. Upon reading your urgent need, something that I saw before in pop3d settings came in to my mind and I immediately got back to it. Here, if you are using courier-imap, I'm sharing this.

I edited pop3d file and provided a value for DEFDOMAIN wherein by default has no value.


I restarted the daemon and tried to log-in with only the "useranme" without "@domain" using Outlook. Yes, I was able to! And to prove it further, I modified my account settings in Outlook to put only my username, I ran "Test Account Settings", and YES, it really worked!

I used this tutorial to build my postfix server.

Old 02-29-2008, 04:13 AM   #3
LQ Newbie
Registered: Nov 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Fantastic. It worked. Thank you very much!


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
Bounce selected users in virtual domain with Postfix? annekaelber Linux - Software 5 10-18-2007 02:58 PM
Postfix Error with Virtual domains and local Users shawnbishop Linux - Software 0 09-13-2007 11:43 PM
PostFix forwardings with Virtual Users. Niels@debian Linux - Server 2 08-30-2006 11:52 AM
procmail with virtual users and postfix paul_mat Linux - Networking 0 04-06-2006 09:13 PM
Maildir, virtual postfix users sopiaz57 Linux - General 0 03-01-2004 10:19 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:22 AM.

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