|
One more thing.
The email address I will use here is [EMAIL PROTECTED]. The MX record is
not yet set up for this. My email server is on a different machine than
RT. I will forward email from my mail server to my RT server later.
For now I am just trying to get email into the [EMAIL PROTECTED] account to go into
RT.
Lorell Hathcock
1-713-992-2343 (cell)
From: Lorell Hathcock [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 5:27 PM To: '[email protected]' Subject: RE: [rt-users] New RT 3.4.5 install - rt-mailgate install Thanks for the help!
The line in /etc/aliases is:
support:
"|/opt/rt3/bin/rt-mailgate --queue \"00-Incoming Email\" --action correspond
--url \"http://support.emcsol.com/\""
I am using the following line to send the mail
locally:
#mail -v support -S "Test" < body.txt
Excerpt from /var/log/maillog:
Jun 22 16:04:55 tickets sendmail[16886]:
k5ML4s2t016885: to="|/opt/rt3/bin/rt-mailgate --queue \\"00-Incoming Email\\" --action correspond
--url \\"http://support.emcsol.com/\\"",
ctladdr=<[EMAIL PROTECTED]>
(8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30577, dsn=5.0.0,
stat=Service unavailable
Jun 22 16:04:55 tickets sendmail[16886]: k5ML4s2t016885: k5ML4t2t016886: DSN: Service unavailable Jun 22 16:04:55 tickets sendmail[16886]: k5ML4t2t016886: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31601, dsn=2.0.0, stat=Sent I see
that sendmail has added additional slashes "\" in the log file. Maybe I
should take them out in /etc/aliases and change over to single
quotes?
<time lapse>
I went
ahead and did that. SO now here's what is in
/etc/aliases:
support:
'|/opt/rt3/bin/rt-mailgate --queue "00-Incoming Email" --action correspond --url
"http://support.emcsol.com/"'
And
here's what /var/log/maillog says:
Jun 22
16:35:15 tickets sendmail[16992]: k5MLZFD5016991: to='|/opt/rt3/bin/rt-mailgate
--queue "00-Incoming Email" --action correspond --url "http://support.emcsol.com/"',
ctladdr=<[EMAIL PROTECTED]>
(8/0), delay=00:00:00, mailer=local, pri=120340, dsn=5.1.1, stat=User
unknown
Jun 22 16:35:15 tickets sendmail[16992]: k5MLZFD5016991: k5MLZFD5016992: DSN: User unknown Jun 22 16:35:15 tickets sendmail[16992]: k5MLZFD5016992: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31595, dsn=2.0.0, stat=Sent With
double quotes, I get DSN: Service unavailable
With
single quotes, I get DSN: User unknown
Here's what I have in the Configuration->Tools->System
Configuration section of RT:
<snip>
Lorell
Hathcock From: Niels Huylebroeck [mailto:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 9:35 AM To: Lorell Hathcock Cc: [email protected] Subject: Re: [rt-users] New RT 3.4.5 install - rt-mailgate install There should be no need for a separate user to inject mail using rt-mailgate. If this is a true copy&paste line it has an error, try replacing with support: "|/opt/rt3/bin/rt-mailgate --queue\"'00-Incoming Email\" --action correspond --url \"http://support.emcsol.com/\"" I'm not 100% sure about replacing the ' with " but this is how I use it and it works. on a sidenote, please supply which MTA you're using. I have never tried the --debug option so don't know how it should respond. Depends a bit on what your MTA shows in it log files, does your mail bounce or does it not appear in queue ? Hope this helps you. --
Vriendelijke groeten, ^ Bubbles IT
^ Oude Heerweg 175
Niels Huylebroeck ^ 9160 Lokeren, Belgie
Systeembeheerder, Programmeur ^ Tel: +32(0)9/355 13 31
[EMAIL PROTECTED] ^ Fax: +32(0)9/355 13 41
.. Key : http://www.bubbles-it.be/pgp/niels.asc ..
.. Fingerprint : 3885 CC0B C7A4 78CC 47DE 47AF 896A 6C40 80FA AF0F ..
.. Keyserver : http://pgp.mit.edu Key-ID : 0x80FAAF0F ..
A diplomat is a person who can tell you to go to hell in such a way
that you actually look forward to the trip.
- Caskie Stinnett, "Out of the Red"-- -- -- -- |
_______________________________________________ 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
