[rt-users] NTLM and fetchmail

Raphaël MOUNEYRES raphael.mouneyres at sagemcom.com
Tue May 24 05:31:12 EDT 2011


hi,

on a RT3.8.8 i've successfully configured NTLM authentification, but now i 
have a problem with fetchmail wich takes the emails from an imap server.
Fetchmail is able to grab the messages, but when forwarding to 
/opt/rt3/sbin/rt-mailgate, apache is answering an "401 Authorization 
required" so emails are not passed to RT (nor deleted from the server)

I beleive i have a misconfiguration either in apache or fetchmail rc file, 
but can't get it to work correctly, may someone have a look ?

/etc/crontab
*/1 * * * 1-5 root fetchmail -f /root/.fetchmailrc -v

.fetchmailrc   (placed in /root/)
poll imapserver proto imap
user user at yy.com
pass xxxxx
mda "perl /opt/rt3/bin/rt-mailgate --url http://myserver --queue General 
--action correspond"

rt3.conf
<VirtualHost myserver:80>
   ServerName myserver
   ServerAdmin xx at yy.com

   DocumentRoot /opt/rt3/share/html
   AddDefaultCharset UTF-8
 
 <Directory /opt/rt3/share/html/>
       Order allow,deny
       Allow from all
       AuthName "Request Tracker"
       AuthType NTLM
       NTLMAuth on
       NTLMAuthoritative on
       NTLMDomain mydomain
       NTLMServer machine.mydomain
       require valid-user
   </Directory>

   PerlModule Apache2::compat
   PerlModule Apache::DBI
   PerlRequire /opt/rt3/bin/webmux.pl

   <Location />
            SetHandler perl-script
            PerlHandler RT::Mason
   </Location>
   <Location /NoAuth>
        Satisfy any
        Allow from all
   </Location>

</VirtualHost>

Raphaël
#
" Ce courriel et les documents qui lui sont joints peuvent contenir des
informations confidentielles ou ayant un caractère privé. S'ils ne vous sont
pas destinés, nous vous signalons qu'il est strictement interdit de les
divulguer, de les reproduire ou d'en utiliser de quelque manière que ce
soit le contenu. Si ce message vous a été transmis par erreur, merci d'en
informer l'expéditeur et de supprimer immédiatement de votre système
informatique ce courriel ainsi que tous les documents qui y sont attachés."


                               ******

" This e-mail and any attached documents may contain confidential or
proprietary information. If you are not the intended recipient, you are
notified that any dissemination, copying of this e-mail and any attachments
thereto or use of their contents by any means whatsoever is strictly
prohibited. If you have received this e-mail in error, please advise the
sender immediately and delete this e-mail and all attached documents
from your computer system."
#

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110524/3fd17273/attachment.htm>


More information about the rt-users mailing list