LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 02-28-2008, 05:43 AM   #1
alex6666
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, 10:13 PM   #2
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
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.

DEFDOMAIN="@domain.com.ph"

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.
http://www.postfixvirtual.net/

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

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


Reply



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

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

All times are GMT -5. The time now is 09:16 AM.

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