Enhanced mailgate-install procedure

Can anyone help me out with a procedure to install the enhanced mailgate.
I downloaded the script and copied it into the rt-mailgate file, but when I
send mail it doesn’t work. Does anyone have any suggestions?

Manfred

Can anyone help me out with a procedure to install the enhanced mailgate.
I downloaded the script and copied it into the rt-mailgate file, but when I
send mail it doesn’t work. Does anyone have any suggestions?

Manfred


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Hi,

I’ve done it 3 hours ago…
You have to edit your /etc/aliases & install GnuPG and 2 perl modules
if you haven’t already.
Set the script enhanced-mailgate in /etc/aliases for the queues you
want.

Andre
Andre Esser
andre@snyrre.de

Andre,

Which perl modules?
Do you have a short HOWTO?

Thank you very much in advanced.

-Wash


Odhiambo Washington wash@wananchi.com “The box said ‘Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,’
Tel: 254 2 313985-9 Fax: 254 2 313922 so I installed FreeBSD.”
GSM: 254 72 743 223 GSM: 254 733 744 121 This sig is McQ! :slight_smile:

Where humor is concerned there are no standards – no one can say what
is good or bad, although you can be sure that everyone will.
– John Kenneth Galbraith

I had to install the GnuPG stuff from CPAN

  1. http://www.cpan.org/authors/id/F/FL/FLUFFY/Class-MethodMaker-1.06.tar.gz
  2. http://www.cpan.org/authors/id/F/FT/FTOBIN/GnuPG-Interface-0.31.tar.gz

You need the 1st module to install the 2nd. If you don’t then the enhanced-mailgate
will complain about missing the modules :wink:
If The Class-MethodMaker compains about the perl version, try an erlier version
of the module. That worked for me.

Of course you must have gpg installed. I think without the mailgate won’t work
with the extra functionality. It works like the regular rt-mailgate.

Then place the pubring.gpg in the directory named in the README.
Place the script in /opt/rt2/bin. Set the modes / flags.
Than edit /etc/aliases for your needs. Seems like you can choose
which queue works with rt-mailgate or enhances-mailgate.
Dont’t forget to type newaliases :wink:

After that it worked, I could set some values by ticketcreation.
But I can’t set the priority or final-priority.
If you know something about this it would be wonderful if you let me know.

Andre
Andre Esser
andre@snyrre.de

I also have another question, if you don’t mind. What does the following
line mean:

Set the modes / flags.

The pubring.gpg goes where you want.
The path is specified in the script enhanced-mailgate

With modes / flags I meant the permissions.
I set them the same as rt-mailgate.

Andre
Andre Esser
andre@snyrre.de

After that it worked, I could set some values by ticketcreation.
But I can’t set the priority or final-priority.
If you know something about this it would be wonderful if you let me know.

You just need to make this change to enhanced-mailgate (was going to
submit this as a patch but had started working on non-RT projects, and
forgot all about it. oops.).

— enhanced-mailgate.old Thu Jun 13 14:19:47 2002
+++ enhanced-mailgate Thu Jun 13 14:30:35 2002
@@ -274,7 +274,7 @@
Owner => $values->{‘owner’},
TimeWorked => $values->{‘timeworked’},
TimeLeft => $values->{‘timeleft’},

  •                       Priority => $values->{'priority'},
    
  •                       InitialPriority => $values->{'priority'},
                          FinalPriority => $values->{'finalpriority'},
                          Due => $values->{'due'},
                        );
    

Then you can use these pseudo-headers:
RT-Priority: 30
RT-FinalPriority: 90

(note the lack of a ‘-’, I’m guessing this is probably why the final
priority was not being set for you even though the original code works
fine)

Dan

Bulletproof Networks