Ok So On the default server I Installed squirrelmail. I can add user under the virtualmail for the default domain and can login to squirrelmail with firstname.lastname@example.org and all is good.
I added 2 more virtual servers domains.
I Installed squirrelmail the same way with the install script for each new domain.
I can login to the squirremail using the only the name created with the domain.
server created as (example) my.abc.com
login is www.abc.com/squirrelmail
user login = abc.com
password = xxxxx
I can log in all is well.
But if I create a user as email@example.com
and go to squirrelmail It will fail.
But the email address will work with usrmin and or incredimail.
I really could use some help on this please.
Anyone at ALL have any ideas?
Are you certain that the username is actually firstname.lastname@example.org?
By default, Virtualmin creates login names as “sammie.abc”.
You can see the actual username being used by going into Edit Mail and FTP Users, and look at the “IMAP / POP3 / FTP login” column.
I set it up that way.
Currently I have three domains on the server.
I imported the first one that I had manually set up.
Installed Squirrelmail added 2 users and all is fine.
I then setup 2 more domains directly from virtualmin.
Added squirrelmail and then 2 users to each and they both do as described.
The domain created abc.com with a custom username of abc.com
I can log in to squirrelmail using the customname of email@example.com
but if I add users it will not work.
I can check through usermin.
or telnet or incredimail.
But not Squirrelmail on these two new domains…with added users
Well, the reason I recommend double-checking the actual username in Virtualmin is that Usermin is more forgiving about what usernames it will accept – it will accept usernames that other applications won’t.
However, the other thing you can do review your mail logs to see what specific error messages are being generated when you attempt to login via Squirrelmail.
Ok After reformatting and reinstalling I realize that for whatever reason that maybe virtualmin cannot handle having squirrelmail or roundcube installed into separate domains ot maybe it is that they cannot run together on the same serverl. What I know is that if squirrelmail is installed on a global level then making it work with all the domains is easy and possible.
What would be great would be to use Roundcube for each domain.
I am assuming there is a way to do this since the install scripts were put there. Are there any virtualmin instructions for doing this?
So after enabling my roundcube I see that that login format of the user in the
log file is
WHERE mail_host = ‘localhost’ AND username = BINARY ‘user\@domain.com’;
this is how virtualmin set it up.
It should be firstname.lastname@example.org where would I change this setting?
Hmm, I’m a little confused, I’m not sure I follow what’s wrong… what is it that you’re trying to change exactly?
ok the following line in the main.inc.php
line number 358 in the plugin section
//$rcmail_config[‘plugins’] = array(‘virtuser_file’);
the way the virt user plugin translates the user email login address is incorrect.
$rcmail_config[‘virtuser_file’] = ‘/etc/mail/virtuser’;
The login is working the outgoing isn’t.
I am getting an authentication falied in the smtp logs.
had to edit line
141 //$rcmail_config[‘smtp_user’] = ‘%u’; from this to
//$rcmail_config[‘smtp_user’] = ‘’;
//$rcmail_config[‘smtp_pass’] = ‘%p’; from this to
$rcmail_config[‘smtp_pass’] = ‘’;