Posts Tagged e-mail
Create *.db files for sendmail
Posted by Lincoln Zuljewic Silva in General Unix on January 20, 2011
You can use the following command to create a *.db file to be used, for example, in sendmail:
makemap btree /etc/userdb.db < /etc/userdb
It will create a userdb.db based in the userdb file
Adding new users to Xmail SMTP server
Posted by Lincoln Zuljewic Silva in E-Mail server on April 7, 2009
There are three different ways to add an user on XMail:
- Using “telnet localhost 6017”
- Using XMailAdmin (a Windows client)
- Using phpxmail (a php script that run in the browser
– need apache and PHP in some server that can access the XMail server).
The most important thing is configure a user/passwd as XMail administrator:
- # /var/MailRoot/bin/XMCrypt SOME_PASSWORD
- Edit the /var/MailRoot/ctrlaccounts.tab and add the following line:
"USERNAME"<TAB>"string returned from XMCrypt command"
Note: SOME_PASSWORD is the desired password for the administrator user, USERNAME is the desired user and <TAB> means a TAB.
Assuming that you have apache, php and phpxmail installed, access it thru http://YOUR_SERVER/phpxmail/ and fill the following data:
- Server hostname: XMail server hostname
- Server ip address: XMail server IP address
- Server port: XMail CTRL service port (usually 6017)
- CTRL account: the user created above
- CTRL password: the password defined above Once you are now able to login on that XMail CTRL console, go to “server domains”, click on the domain you wish to add the user and “new user”.