[rt-users] unknown mailer error 2 when sending mail to rt-mailgate program
Heather Drury
heather at pcg.wustl.edu
Fri Apr 21 15:06:53 EDT 2006
Does anyone have *any* debugging ideas on why I continue to see a
"unknown mailer error 2" when attempting to mail to rt-mailgate via
sendmail?
any suggestions *greatly* appreciated.
heather
Heather Drury wrote:
> Hi,
>
> I have rt3+mod_perl2+mysql and everything is running except when I try
> to email the alias for the queue...Here is my /etc/mail/aliases
>
> pcg-support:"|/opt/rt345/bin/rt-mailgate --queue pcg-support --debug
> --action correspond --url http://xxx"
> pcg-support-comment: "|/opt/rt345/bin/rt-mailgate --queue pcg-support
> --debug --action comment --url http://xxx"
>
> I have tested rt-mailgate manually and it works fine and adds a ticket
> to the queue:
>
> cat msg.txt | /etc/smrsh/rt-mailgate --queue pcg-support --action
> correspond --url http://xxx
>
>
> However, when I try to use senmail to create a ticket I get this in my
> log:
>
> Apr 20 19:01:54 pcglinux sendmail[11476]: k3L01qFs011476:
> to=pcg-support at xxx, ctladdr=root (0/0), delay=00:00:02,
> xdelay=00:00:02, mailer=relay, pri=30050, relay=xxx. [127.0.0.1],
> dsn=2.0.0, stat=Sent (k3L01s0Q011477 Message accepted for delivery)
> Apr 20 19:01:54 pcglinux sendmail[11478]: k3L01s0Q011477:
> to="|/opt/rt345/bin/rt-mailgate --queue pcg-support --debug --action
> correspond --url http://xxx", ctladdr=<pcg-support at xxx> (2/0),
> delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30577, dsn=5.3.0,
> stat=unknown mailer error 2
> Apr 20 19:01:54 pcglinux sendmail[11478]: k3L01s0Q011477:
> k3L01s0Q011478: DSN: unknown mailer error 2
>
> I do not have a clue as to how to go about debugging this.but I
> believe it has to do with sendmail not being able to run a program
> (rt-mailgate) because of (perhaps) a permission problem?
>
> Any help/suggestions appreciated.
>
> thx, heather
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical:
> http://bestpractical.com/about/jobs.html
>
>
>
More information about the rt-users
mailing list