SourceForge Home | About SourceForge | WU-IMAP | Linuxconf

Virtual Domain IMAP Server

VIRTUAL DOMAINS

April 30 2003 - Patrik Hall - patrik.hall@multitronic.fi

This release of imap-2002c1 has support for linuxconf Virtual Domain Pop-users. Linuxconf offers a way to define users for virtual domains by storing passwd entries in directory /etc/vmail/passwd.domain.com, shadow entries in /etc/vmail/shadow.domain.com and aliases in /etc/vmail/aliases.domain.com Inbox is stored in /var/spool/vmail/domain.com/username and home directory in /vhome/domain.com/home/username. Home directory however is parsed from the passwd entry of the user. Passwords are stored using standard crypt()-encapsulation, no matter what kind the system uses for regular accounts. This means that PAM authentication is used for regular users and standard authentication for virtual users.

This release of imap supports two ways of determining use of virtual domain. If the client connects to imap using other IP than main system, the domainname is parsed from the hostname of the IP. If the IP resolvs to mail.domain.com, imap checks if /etc/vmail/passwd.mail.domain.com exists to validate if the domainname is ok. If not, /etc/vmail/passwd.domain.com is also checked. If both fails main domain is used. This functionality is aimed to be identical to vpop3d bundled with linuxconf.

Users can also enter "user@domain.com" as username to imap. imap will then use corresponding domainname. This enables use of virtual domains with one single IP. Aliases are also solved to account level, making it possible to use both the username@domain.com and Full.Username@domain.com if Full.Username is mapped to username in aliases file.

Some versions of Netscape will not work with "@"-character in username field, "#"-character as well as "/"-character can also be used.

All trademarks and copyrights on this page are properties of their respective owners.