<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Check the 'my_destinations' parameter for $mydomain.  Make sure this is _NOT_ in the list (it is by default).  Reading the tread I suspect you have created a mail loop where postfix gets mail and resends to itself.  This doesn't work obviously so it bounces the message.<BR>
<BR>
I suggest you draw a mail flow-chart so you can visualize how the mail should flow.  Should your rt server take mails directly?  (<A HREF="mailto:rt@host.example.com">rt@host.example.com</A>) or shall all mail be relayed through an existing host (<A HREF="mailto:rt@example.com">rt@example.com</A> via MX server).  That's up to you...  But here's the magic Postfix formula for the later case.  Make sure you enable smtp in master.conf and also don't have any firewalls running.<BR>
<BR>
------------ <snip> -------------------<BR>
<BR>
# For a mail server that does NOT answer mail for other machines or relay mail for<BR>
# other machines $mydomain must NOT be listed.  This will create a mail loop!<BR>
#<BR>
mydestination = $myhostname, localhost.$mydomain<BR>
<BR>
# This is the default I beleave...  But just in case:<BR>
#<BR>
relay_domains = $mydestination<BR>
<BR>
# If your site has a proper DNS setup you'll have an MX entry for your local domain.<BR>
# In this case, setting this to $mydomain will cause postfix to find your mail server(s)<BR>
# automatically.  This is ideal, but change this to the hostname of your mail server if<BR>
# it does not work.<BR>
#<BR>
relayhost = $mydomain<BR>
<BR>
# You need to tell postfix where the aliases are.  This file should have your aliases for<BR>
# rt that pipe in to the mail program.  Use "dbm:/etc/aliases" on Linux.<BR>
#<BR>
alias_maps = hash:/etc/aliases<BR>
<BR>
# Always fall back to localhost.  If you set this to a domain name and want to recieve<BR>
# local mail things will get very nasty very fast.<BR>
#<BR>
mydomain_fallback = localhost<BR>
<BR>
<BR>
------------ <snip> -------------------<BR>
<BR>
Another thing for you to check if this doesn't clear up your problem...  You may get a bounce message if RT cannot create a new case due to access rights.  If this is true, you'll see a message show up in your Apache error_log.<BR>
<BR>
<BR>
<BR>
On Tue, 2004-02-10 at 13:15, Josiah Ritchie wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>I've played around a lot and think I've managed to apply everything you
mentioned here. It looks like I'm getting further. I'm not getting the message
bounced with the message: "550 Relay denied" from the exchange server. I'm not
sure if it is getting this from postfix or if It's simply saying Exchange won't
do it. I'm assuming Exchange is the problem. I think I told it to relay for my
hosts, but not sure. Anyway, I'm still looking into that possibility and
wanted to just mention that I'm getting closer.

Any tips on things to check in the postfix main.cf that might cause this?

Guillaume Perréal scripted ::

>As your main mail server (mail.domain.com) handles mail for the whole 
>domain domain.com, it may strip any subdomain parts, i.e. 
>user@server.domain.com becomes user@domain.com. So you have to 
>explicitely enable mail forwarding to rt-server. You may have to create 
>the following aliases on your main mail exchanger :
>
>rt-address : rt-address@rt-server.domain.com
>(reads "rt-user@*.domain.com redirects to rt-user@rt-server.domain.com, 
>without recursion")
>rt-address-comment : rt-address-comment@rt-server.domain.com
>
>Then set up the mailgate aliases normally on rt-server.domain.com, as 
>indicated in RT documentation.
>
>> I also seem to be unable to send
>>messages off the server.
>>
>Try to set up the following parameters in postfix main.cf file :
>
># Only relay mails originating from $mydestination ($myhostname + 
>localhost by default) :
>mynetworks_style = host
>
># Relay all outgoing mails to $mydomain mail exchangers as indicated by 
>DNS MX records,
>relayhost = $mydomain

Maybe I need to setup an MX record on my AD server...

JSR/
_______________________________________________
rt-users mailing list
rt-users@lists.bestpractical.com</FONT>
<A HREF="http://lists.bestpractical.com/mailman/listinfo/rt-users"><U>http://lists.bestpractical.com/mailman/listinfo/rt-users</U></A>
<FONT COLOR="#737373">
Have you read the FAQ? The RT FAQ Manager lives at </FONT><A HREF="http://fsck.com/rtfm"><U>http://fsck.com/rtfm</U></I></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<BR>
<BR>
<TABLE BGCOLOR="#ffffff" CELLSPACING="0" CELLPADDING="0" WIDTH="368" BORDER="1">
<TR>
<TD>
<TABLE WIDTH="100%">
<TR>
<TD>
<IMG SRC="cid:1076455203.6567.32.camel@NevDull.int.vexcel.com" ALIGN="top" ALT="" BORDER="0">
</TD>
<TD>
<BR>
</TD>
</TR>
<TR>
<TD NOWRAP VALIGN="top">
<FONT COLOR="#0000ff"><B>Dean J. Brissinger</B><BR>
Senior Systems Administrator</FONT><BR>
<BR>
</TD>
<TD NOWRAP VALIGN="top">
<FONT COLOR="#0000ff">303-583-0278 (direct)<BR>
303-583-0200 (main)<BR>
303-583-0246 (fax)</FONT>
</TD>
</TR>
<TR>
<TD NOWRAP VALIGN="bottom">
<FONT COLOR="#0000ff">Dean.Brissinger@vexcel.com<BR>
<A HREF="http://www.vexcel.com/"><U>www.vexcel.com</U></A>
</TD>
<TD NOWRAP VALIGN="bottom">
<BR>
<FONT COLOR="#0000ff">1690 38th Street<BR>
Boulder, CO  80301  USA</FONT>
</TD>
</TR>
</TABLE>

</TD>
</TR>
</TABLE>

</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>