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:
[EMAIL PROTECTED], 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=<[EMAIL PROTECTED]> (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: [EMAIL PROTECTED]
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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
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