Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 5th April 2013, 00:18
Riothamus Riothamus is offline
Junior Member
Join Date: Apr 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual UsersWith Sendmail, Dovecot MySQL And Roundcube

I've been trying to learn some basic server configuration with an unmanaged VPS running CentOS and a domain name I have, and right now I'm trying to get e-mail set up. I've got Dovecot running and set up to check system users first when a user tries to log in, and if it can't find them, then it checks a MySQL Database for virtual users, and I set up Sendmail by basically just following this tutorial: http://www.wikihow.com/Configure-Sendmail

My virtusertable file just has this one line in it:
me@domain.com me
(I've replaced my actual username and domain to avoid spam.)

The problem is right now, this is only working for sending e-mails to me, and I'm not clear on what to put when I want it to accept e-mails to virtual user addresses too (users who can have e-mail addresses at my domain but aren't system users on my VPS). I've looked around for tutorials on the Net, but I've had trouble finding any that explain how to do this. This one on the Dovecot Wiki, for instance http://wiki2.dovecot.org/LDA/Sendmai...ullsearch=Text doesn't explain how to make the virtusertable forward the addresses to Dovecot. Another one I found mentioned creating a system alias for each virtual e-mail address and having a separate config file for each of them, and modifying the virtusertable each time I want to add a new address.

So I'm just wondering if anyone can explain whether there's a simpler way to do this, or if I'm going to have to do all this server configuration each time I want to add a new e-mail address. I understand there are some HowTo's for this on this site but it seems like they're for Postfix rather than Sendmail. And I understand a lot of people feel Postfix is better, and I'll definitely use that next time. But for right now, I just want to get this all working with what's set up so far.
Reply With Quote
Sponsored Links


dovecot, sendmail, virtusertable

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upgrade Roundcube 0.3 to 0.7 on Ubuntu 10.04 LTS cbj4074 Tips/Tricks/Mods 1 19th January 2012 20:50
ISPConfig reports SMTP-server down, with Roundcube installed toffie Installation/Configuration 2 1st December 2011 11:55
Virtual Users With Postfix, Dovecot, MySQL, RoundCube, iRedAdmin On Debian 6 kimbundo Server Operation 3 11th May 2011 19:06
VboxAdm + Postfix + Dovecot + Virtual Users (MySQL). asilva Suggest HOWTO 2 12th March 2011 14:46
Postfix + Dovecot + Mysql + Sasld hmbsandman Installation/Configuration 2 20th September 2009 10:03

All times are GMT +2. The time now is 04:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.