Webmail doesnt play nice with system user

h2d

Verified User
Joined
Aug 11, 2006
Messages
92
I have setup
http://webmail.domain.com/

For all my domains

When the user of the actual direct admin aco**** logs in to check there email

They cant login with there full email address, they have to log in with only there username.

therefor webmail seems to append @webmail.domain.com to there outgoing email address.

As you can imagine, this is not ideal, cause when people hit reply, they dont recieve email :)

Your help is appreciated :)
 
Also i should note im not using the standard squire mail

Im using nutsmail

I understand i should be talking to the people at nutsmail, but i thought someone here may have run into this problem



It seems to be ok using the squirelmail that directadmin package together, so i assume its some settings in the config file
so squirelmail understands the users proper domain nothing when they dont specify [email protected] instead of just user.
 
Hello,

What we had to do with Uebimiau was get it to peer into the /etc/virtual/domainowners file for anyone who logs in with their system account. We coded it to set the domain to the value in the file, not the value in the hostname. That would require custom coding on either your part, or anyone at Nutsmail who feels like making it compatible.

For squirrelmail.. we use the default they include, and then just run this code on the $CONFIG file:
Code:
        /bin/cp -f ${REALPATH}/config/config_default.php $CONFIG

        /usr/bin/perl -pi -e 's/\$force_username_lowercase = false/\$force_username_lowercase = true/' $CONFIG
        /usr/bin/perl -pi -e "s/\'example.com\';/\\$\_SERVER\[\'HTTP_HOST\'\];\nwhile \(sizeof\(explode\(\'\.\', \\$\domain\)\) \> 2) {\n\t\\$\domain = substr(\\$\domain, strpos\(\\$\domain, \'\.\'\) \+ 1\);\n\}/" $CONFIG
        /usr/bin/perl -pi -e 's/\$show_contain_subfolders_option = false/\$show_contain_subfolders_option = true/' $CONFIG

        /usr/bin/perl -pi -e 's/\$smtpPort = 25/\$smtpPort = 587/' $CONFIG
        /usr/bin/perl -pi -e "s#\$smtp_auth_mech = \'none\'#\$smtp_auth_mech = \'login\'#" $CONFIG
where $CONFIG points to /var/www/html/squirrelmail/config/config.php. If that applies at all to nutsmail.. I'm not sure. See the /usr/local/directadmin/scripts/squirrelmail.sh for more details.

FYI, there is a roundcube.sh script that is going to be avaiable very shortly for anyone interested.

John
 
UebiMaiu should be scraped and RoundCube used as it's replacement..nuff said...do what I did..

I used the ELS script found elsewhere, installed RoundCube with it, then modifed my httpd.conf webmail Alias to point to the Roundcube instead...problems solved..no more listening to users cry about the 10mb limits, etc. :)

Not to mention RC is much better then either SM or Uebi
 
sullise, RoundCube webmail will be included into DirectAdmin as squirrelmail.sh is now, but we are waiting for the first release candidate of the RoundCube.
 
Good to hear...lol..but I've already implimented it with your ELS script. ;)
 
I presume you mean you'll be issuing a plug-in? that's not the same as "included into DirectAdmin".

Jeff
 
What we had to do with Uebimiau was get it to peer into the /etc/virtual/domainowners file for anyone who logs in with their system account. We coded it to set the domain to the value in the file, not the value in the hostname. That would require custom coding on either your part, or anyone at Nutsmail who feels like making it compatible.
Anyone who already has NutsMail care to write them and get them to include the code? We'd like to buy NutsMail, but we do need the functionality.

Jeff
 
I tried the fix that was offered by DA support

Unfortunately it doesnt work.
 
Back
Top