[rt-users] procmail call to rt-mailgate fails

Asif Iqbal vadud3 at gmail.com
Fri Aug 28 14:56:19 EDT 2015


On Fri, Aug 28, 2015 at 1:52 PM, Asif Iqbal <vadud3 at gmail.com> wrote:

>
> MAILDIR=$HOME/Maildir
> DEFAULT=$MAILDIR/mbox
> LOGFILE=$HOME/procmail.log
> LOCKFILE=$HOME/lockmail
> VERBOSE=on
> :0
> |/usr/sbin/rt-mailgate --queue IPANEMA --action correspond --url
> https://ticket.example.net
>
> procmail: [15376] Fri Aug 28 13:19:04 2015
> procmail: Assigning "LASTFOLDER=/usr/sbin/rt-mailgate --queue IPANEMA
> --action correspond --url https://ticket.example.net"
> procmail: [15376] Fri Aug 28 13:19:04 2015
> procmail: Executing
> "/usr/sbin/rt-mailgate,--queue,IPANEMA,--action,correspond,--url,
> https://ticket.example.net"
> procmail: Notified comsat: "ipanema@:/usr/sbin/rt-mailgate --queue
> IPANEMA --action correspond --url https://ticket.example.net"
> From axisys  Fri Aug 28 13:19:04 2015
>   Folder: /usr/sbin/rt-mailgate --queue IPANEMA --action correspo    660
> procmail: Unlocking "/home/ipanema/lockmail"
> /usr/sbin/rt-mailgate: Couldn't create temp file, using memory
> error: Error in tempdir() using /tmp/XXXXXXXXXX: Could not create
> directory /tmp/Rf_FTTAo4f: Permission denied at /usr/sbin/rt-mailgate line
> 273
>
> An Error Occurred
> =================
>
> 500 Can't connect to ticket.example.net:443 (connect: Permission denied)
>
> Any suggestion why rt-mailgate is failing?
>
> This works just fine
>
> foo: "|/usr/sbin/rt-mailgate --queue IPANEMA --action correspond --url
> https://ticket.example.net"
>
> I am using rt-mailgate from rt4-mailgate-4.0.19-2.sdl6.noarch on centos 6.7
>
>
It was selinux issue. Now all good.




-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150828/3f26f2a6/attachment.html>


More information about the rt-users mailing list