[rt-users] rt postfix 302 error

Jeevan jeevan.sarkunaseelan at gmail.com
Thu Apr 17 02:03:35 EDT 2014


hello!

i have installed request tracker version 4.0.19 and installed postfix for
local use only. I seem to encounter a 302 error in my mail log whenever i
try to send a email to my rt server. Below is a summary of my files
configuration. How do I overcome the error 302? Need help desperately...


Apr 17 12:22:44 jeevan-VirtualBox postfix/local[20006]: 7F88050FBE:
to=<general at rt.example.com>, relay=local, delay=561, delays=561/0.01/0/0.21,
dsn=4.3.0, status=deferred (temporary failure. Command output:
/opt/rt4/bin/rt-mailgate: temp file is '/tmp/fNLeBJozQB/xTio2oPWY4'
/opt/rt4/bin/rt-mailgate: connecting to
http://rt.example.com/REST/1.0/NoAuth/mail-gateway An Error Occurred
=================  302 Found  /opt/rt4/bin/rt-mailgate: undefined server
error )

RT_SiteConfig.pm

Set( $rtname, 'rt.example.com');
Set( $Organization, 'rt.example.com');
Set( $WebDomain, 'rt.example.com');
Set( $WebPort, 443);
Set( $WebPath, '');
Set( $DatabasePassword, 'password');
Set( $WebExternalAuth , 1);
Set( $WebFallbackToInternalAuth , 1);
Set( $WebExternalAuto , 1);
Set( $SendmailPath , "/usr/sbin/sendmail");
Set( $MaxAttachmentSize , 500000);
Set( $FriendlyFromLineFormat, "\"%s\" <%s>");
Set( $AutoCreateNonExternalUsers, 1);
Set( @ReferrerWhitelist, qw(127.0.0.1:80 rt.example.com:80));


etc/aliases

# See man 5 aliases for format
postmaster:    root


general:	 "|/opt/rt4/bin/rt-mailgate --debug --queue General --action
correspond --url http://rt.example.com"
general-comment: "|/opt/rt4/bin/rt-mailgate --debug --queue General --action
comment --url http://rt.example.com"


rt.conf
                # Request Tracker
                ServerName rt.example.com:443
                AddDefaultCharset UTF-8
                DocumentRoot /opt/rt4/share/html
                Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
                ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
                <Location />
                    ## Apache version < 2.4 (e.g. Debian 7.2)
                    #Order allow,deny
                    #Allow from all
                    ## Apache 2.4
                    Require all granted
                </Location>
                <Directory "/opt/rt4/sbin">
                    SSLOptions +StdEnvVars
                </Directory>
                <Location /REST/1.0/NoAuth/mail-gateway>
                    Satisfy any
                    Allow from 127.0.0.1
                </Location>







--
View this message in context: http://requesttracker.8502.n7.nabble.com/rt-postfix-302-error-tp57239.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



More information about the rt-users mailing list