Re: Squirrelmail not recognising UNIX users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Plain text mails here only, please. And please reply in-context next
time if you would.  Top-posting is a bad LookOut habit.

On 7/12/07, Richard Ellis <asparak@xxxxxxxxx> wrote:
> The Debate about Root getting email is for another place. I didn't say Root, I said 'Root
> user'.

Not sure how you can blame someone from confusing that.  I'm still not
sure I understand the two phrases to be different.

> This script will try to check some aspects of your SquirrelMail configuration and point
> you to errors whereever it can find them. You need to go run conf.pl in the config/
> directory first before you run this script.
>
>
> SquirrelMail version:1.4.10a-1.fc7
> Config file version:1.4.0
> Config file last modified:11 July 2007 17:07:28    Checking PHP configuration...
>      PHP version 5.2.2 OK.
>      PHP extensions OK.
>  Checking paths...
>      Data dir OK.
>      Attachment dir OK.
>      Plugins OK.
>      Themes OK.
>      Default language OK.
>      Base URL detected as: https://xxxxxxxxx.servehttp.com:8000/webmail/src (location base autodetected)
>  Checking outgoing mail service....
>      sendmail OK
>  Checking IMAP service....
>      IMAP server ready (* OK Dovecot ready.)
>      Capabilities: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS AUTH=PLAIN
>  Checking internationalization (i18n) settings...
>       gettext - Gettext functions are available. You must have appropriate system locales compiled.
>       mbstring - Mbstring functions are available.
>       recode - Recode functions are unavailable.
>       iconv - Iconv functions are available.
>       timezone - Webmail users can change their time zone settings.
>  Checking database functions...
>      not using database functionality.
>
>
> Congratulations, your SquirrelMail setup looks fine to me!
> Looking at the Dovecot logs, username are being appended with the @servehttp.com

SM doesn't do that by default.  You should see the value that comes
from SM in the logs, but if not, you can dump it out in
src/redirect.php around line 82, right before the line that reads:

$imapConnection = sqimap_login($login_username, $key,
$imapServerAddress, $imapPort, 0);

You can add something like this right above that:

echo "USERNAME GOING TO IMAP IS: $login_username<hr />"; exit;

> domain, when they should be treated as local users. This was working fine until last
> week. Dovecot was patched to  1.0.1 via Yum and I'm beginning to suspect that broke
> default behaviour as I can still get to my mail fine via Thunderbird on the local LAN.
>
> Rik
>
>
>
> On 7/12/07,  Chris Hilts <tassium@xxxxxxxxxxxxxxxx> wrote:
> >  -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Richard Ellis wrote:
> > > Even my root user account cannot access its email. Any ideas how to
> > > work out what I've busted?
> >
> > OK, first off - a rule of thumb.  Root doesn't get email.  Ever.  root
> > should be an alias to your regular user account.
> >
> > Now, let the debuggery begin. First off, try logging in to your IMAP
> > server manually via telnet.  If you can login there, you've eliminated
> > IMAP as the source of your woes.  Procedure:
> >
> > telnet yourImapHostname yourImapPort(usually 143)
> > . LOGIN yourUserName yourPassword
> > (There will be either success or failure reported here)
> > . LOGOUT
> >
> > Now. If the login worked, we move on to debugging SquirrelMail.  Run the
> > configtest.php script and report the results of anything unusual in there.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux