📚 LinuxDocs
Topics:
All Pages8021X HOWTOACP ModemACPI HOWTOADSL Bandwidth Man..ATA RAID HOWTOATM Linux HOWTOAX25 HOWTOAccessibility Dev ..Accessibility HOWTOAdv Bash Scr HOWTOAdv Routing HOWTOAntares RAID sparc..Apache Compile HOWTOApache WebDAV LDAP..Assembly HOWTOAstronomy HOWTOAthlon Powersaving..Authentication Gat..Autodir HOWTOAviation HOWTOAvr Microcontrolle..BRIDGE STP HOWTOBTTVBackspaceDeleteBandwidth Limiting..Bangla HOWTOBash Prompt HOWTOBattery PoweredBelarusian HOWTOBelgian HOWTOBeowulf HOWTOBocaBogoMipsBootdisk HOWTOBridgeC++ dlopenC C++Beautifier HO..C editing with VIM..CDROM HOWTOCDServer HOWTOCable ModemCaudium HOWTOClone HOWTOCompaq Remote Insi..Compaq T1500 HOWTOConexant+Rockwell ..Cryptoloop HOWTODB2 HOWTODHCPDSL HOWTODVD Playback HOWTODebian Binary Pack..Debian JigdoDebian and Windows..Disk Encryption HO..Disk on Chip HOWTODocBook Demystific..DocBook InstallDocBook OpenJade S..Ecology HOWTOEmacspeak HOWTOEncourage Women Li..Encrypted Root Fil..Euro Char SupportEvent HOWTOFedora Multimedia ..Finnish HOWTOFirewall PiercingFlash Memory HOWTOFont HOWTOFramebuffer HOWTOGCC HOWTOGIS GRASSGlibc Install HOWTOHOWTO HOWTOHOWTO INDEXHP HOWTOHandspring VisorHard Disk UpgradeHardware HOWTOHighQuality Apps H..Home Electrical Co..IBM7248 HOWTOIO Perf HOWTOIP AliasIP Masquerade HOWTOIRCImplement Sys Call..Indic Fonts HOWTOInfrared HOWTOIngresII HOWTOInstall StrategiesInstallation HOWTOInstallfest HOWTOIntkeybItalian HOWTOJabber Server Farm..JavaStation HOWTOKerberos Infrastru..Kernel HOWTOKerneldKodak Digitalcam H..LDAP HOWTOLDP Reviewer HOWTOLILO crash rescue ..LVM HOWTOLeased LineLegoLinksys Blue Box R..Linux+Win95Linux+Win9x+Grub H..Linux+Windows HOWTOLinux Complete Bac..Linux Crash HOWTOLinux Gamers HOWTOLinux Modem SharingLinux Promise RAID..Linux i386 Boot Co..LinuxGL QuakeWorld..Lotus DominoR5MILO HOWTOMMBase Inst HOWTOMP3 CD BurningMail User HOWTOMajordomo MajorCoo..Man PageMasquerading Simpl..Medicine HOWTOMindTerm SSH HOWTOMobile IPv6 HOWTOMock MainframeModule HOWTOModulesMotorola Surfboard..Mozilla OptimizationMulti Distro DevNCURSES Programmin..NFS HOWTONFS Root Client mi..NIS HOWTONetMeeting HOWTONetwork boot HOWTONvidia OpenGL Conf..OLSR IPv6 HOWTOOnline Troubleshoo..Oracle 9i Fedora 3..PA RISC Linux Boot..PCTel MicroModem C..PHP Nuke HOWTOPPP HOWTOPagerPalmOS HOWTOPartitionPartition Mass Sto..Partition Mass Sto..Partition RescuePine ExchangePortSlavePost Installation ..Postfix Cyrus Web ..Pre Installation C..Print2WinPrinting HOWTOProcess AccountingProgram Library HO..Proxy ARP SubnetQmail ClamAV HOWTOQmail VMailMgr Cou..Querying libiptc H..RPM HOWTOReading List HOWTORedHat CD HOWTOReliance HOWTORemote BridgingRemote Serial Cons..SCSI 2.4 HOWTOSCSI Generic HOWTOSLIP PPP EmulatorSRM HOWTOSSL Certificates H..Scanner HOWTOScientific Computi..Scripting GUI TclTkSecure CVS PserverSecure Programs HO..Security HOWTOSecurity Quickstar..Security Quickstar..Serial Laplink HOWTOSerial Programming..Slovak HOWTOSmall MemorySmart Card HOWTOSoftware Proj Mgmt..Software Release P..Sound HOWTOSpam Filtering for..Speech Recognition..SquashFS HOWTOSybase ASA HOWTOSybase ASE HOWTOSybase PHP ApacheTCP Keepalive HOWTOTamil Linux HOWTOTimePrecision HOWTOTimeSys Linux Inst..Token RingTraffic Control HO..Traffic Control tc..UPS HOWTOUnix Hardware Buye..Unix and Internet ..UpgradeUsenet News HOWTOUser Authenticatio..VB6 to TclVMS to Linux HOWTOVPN HOWTOValgrind HOWTOVideoLAN HOWTOVim HOWTOVirtual WebWebcam HOWTOWikiText HOWTOWindows Newsreader..Wireless Link sys ..Wireless Sync HOWTOXDM XtermXDMCP HOWTOXFree Local multi ..XFree86 HOWTOXFree86 R200XFree86 Second MouseXFree86 Video Timi..XML RPC HOWTOXWindow Overview H..XWindow User HOWTOXinerama HOWTOXterminalsHtml singleI810 HOWTOLibdc1394 HOWTOOpenMosix HOWTOPhhttpd HOWTOPpp sshText
Next Previous Contents

3. Setup

3.1 Setting Up a Virtual Domain

The following steps are necessary to set up a virtual domain with vmailmgr (assuming vmailmgr has been compiled and installed). As an example, we'll set up a virtual user `me@mydomain.org`, with aliases of `myself@mydomain.org` and `myname@mydomain.org`.

  1. Set up a DNS entry for the domain. I won't cover this here, as it is dependant on far too many other things. I will mention that to make IP based virtual domains work a PTR record which matches an entry in virtualdomains is nessesary, for example, if nslookup 10.56.33.122 returns mail.mydomain.com, `virtualdomains` needs an entry like `mail.mydomain.com:myuser`

    For the example, we'll assume that the mail exchanger for mydomain.org is already set up to point to your computer.

  2. Set up a base user for the domain. Create a user, with a name of your choosing. Since the maildirs for all the users in the virtual domain will be stored under this user's home directory, make sure you set the user up in a partition or disk that is appropriate for such storage. The tools that you should use to accomplish this step vary greatly between different systems. For our example, I'll add a user ` .:: gt.enrollbusiness.com ::. myuser`.
  3. Configure qmail to recognize the domain. To do this, you need to modify two of qmail's configuration files in `/var/qmail/control` `rcpthosts` and `virtualdomains`.
    • To `rcpthosts` : add the line `mydomain.org`.
    • To `virtualdomains` : add the line `mydomain.org:myuser`.
    If you wish to have mail to `anything.mydomain.org` be delivered in the same way, add the following
    • To `rcpthosts` : add the line `.mydomain.org`.
    • To `virtualdomains` : add the line `.mydomain.org:myuser`.
  4. Configure qmail-popup/qmail-pop3d to use `checkvpw` as the password checker. This step is dependant on how you have installed qmail. .:: py.enrollbusiness.com ::.
    • Replace `checkpassword` in the command you use to invoke qmail-popup/qmail-pop3d (either in `/etc/inet.conf` or in a `tcpserver` command) with `checkvpw`.
    • And/Or at the prompt type: `echo checkvpw > /var/qmail/control/checkpassword`
  5. Add users or aliases to the domain. Either change user to the user you just created (for example, type `su - myuser`) or log in (with either telnet or at the console) as the new user, and use the included programs to add users and aliases. [JSON Repositories]

    For our example, we would

    • type: `vadduser me` (which prompts for a password)
    • type: `vaddalias me myself`
    • and type: `vaddalias me myname`
After you have completed all these steps, you will need to kill and restart ` .:: mindef.gov.bn ::. qmail-send` to make it read the new `virtualdomains` table.

If you are using `inetd` to launch `qmail-popup`, `kill -HUP` the `inetd` process as well.

3.2 Using one IP address for mutiple domains

Logging in as a virtual user?

There are two ways to log in without using multiple IP addresses. .:: www.ourboox.com ::.

  1. The first way is to log in as `userSEPvirtual.domain.org`, where `user` is the mailbox name of the virtual user, SEP is one of `@` or `:` (by default, this is configurable in the `/etc/vmailmgr/' directory), and `virtual.domain.org' is the virtual domain's name, as listed in `/var/qmail/control/virtualdomains'.
  2. The second way is to use the internal form of the mailbox name -- that is, ` [Web Specs: CentOS] baseuser-user', where `user' is the same as above, and `baseuser' is the username of the managing user.
Example: `/var/qmail/control/virtualdomains' contains
  testdomain.org:testuser
User `myuser' exists, and has set up a virtual mailbox with the name ` .:: telegra.ph ::. me'. The `separators' variable in `/etc/vmailmgr/' contains `@:'. This virtual user could log in as `me@mydomain.com', `me:mydomain.cm', or `myuser-me'.

3.3 Catch all misdirected mail?

In the `vmailmgr/' configuration directory, there is an entry called ` .:: telegra.ph ::. default-username'. If mail to a virtual domain does not match any users or aliases in that domain, it is delivered to the name listed in this configuration item if it exists (which defaults to `+'). To make this deliver to you, simply type:

  vaddalias me +

3.4 Setup VMailMgr IMAP support?

VMailMgr supports Courier-IMAP, but Courier-IMAP does not auto detect VMailMgr. This means that some minor work is required for making the two work together. .:: music.amazon.com.br ::.


Next Previous Contents

Share or Research:

Share on FB Post to X LinkedIn 🤖 Ask AI about this