<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>Greetings,
all!</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>I'm having the
weirdest problem, I'm hoping someone can please help me. I'm working on
setting up RT on SuSE 9.3, apache 2, mysql and pulling down mail from MS
Exchange via POP using fetchmail and procmail to pump it into RT. My MTA
is postfix.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>My organization
currently uses simple dlists to distribute mail coming into our organization to
addresses like "support@" and "sales@". We're growing, so we're looking at
a more sophisticated method, hence RT.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>So, I set up a
single Exchange account which I called </FONT><A
href="mailto:rt@mycompany.com"><FONT face=Arial color=#000000
size=2>rt@mycompany.com</FONT></A><FONT face=Arial size=2>. To it, I
added aliases for teseting like </FONT><A
href="mailto:rtsales@mycompany.com"><FONT face=Arial color=#000000
size=2>rtsales@mycompany.com</FONT></A><FONT face=Arial
size=2>, </FONT></SPAN><SPAN class=468273416-20022006><A
href="mailto:rtsales-comment@mycompany.com"><FONT face=Arial color=#000000
size=2>rtsales-comment@mycompany.com</FONT></A><FONT face=Arial
size=2>, </FONT></SPAN><SPAN class=468273416-20022006><FONT face=Arial
size=2>and the same for support (rtsupport, etc).</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>Everything worked
flawlessly. Mail set to rtsales would be successfully pulled down via
fetchmail and imported into RT via procmail.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>This weekend I
attempted to cutover to production using the real addresses "sales@" and
"support@". So I deleted the old dlists and added "sales@" and "support@"
to the alias for the Exchange user so fetchmail would pull down the mail.
I modified my .procmailrc to specify the correct regexes for sales and support
(just removing the prefixed 'rt's from 'rtsales' and 'rtsupport'). I
logged into RT and reconfigured the queues so that their Reply Addresses and
Comment Addresses were set appropriately.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>And then something
weird started happening.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>Fetchmail would pull
down the email, but in doing so would rewrite the email headers changing the To:
field from <A href="mailto:sales@mycompany.com">sales@mycompany.com</A> into <A
href="mailto:sales@mylinuxbox.myotherdomain.com">sales@mylinuxbox.myotherdomain.com</A>.
And the regexes for procmail failed, and the mail sat in the rt linux user's
mailbox.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>But if I send email
to <A href="mailto:rtsales@mycompany.com">rtsales@mycompany.com</A>, it still
comes through fine, and doesn't get rewritten!</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>I have no "sales" or
"support" linux users on my linux box. I can't understand why
fetchmail would want to rewrite those addresses.</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial size=2>I'm not a fetchmail
expert, or a linux mail expert for that matter. Is there some setting
somewhere that would explain why fetchmail is rewriting only certain
addresses?</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2>Larry</FONT></SPAN></DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468273416-20022006><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>