> I have spent several hours going over the postfix.org site
> nothing but saying u need a virtual file setup
> I have searched the imgate archives back as far as they went 3/03 and
> nothing.
> I searched google and got one about a relayhost setting but that
> is blank below.

It should be blank in most configurations.

A relayhost is a next hop to send everything to.  If you use it
improperly, your outbound mail can never make it out.

http://archives.neohapsis.com/archives/postfix/2003-02/0757.html

> And this url but doesn't seem right.
> http://www.topology.org/linux/postfixloop.html

This assumes you are hosting mail with Postfix.

> Aug 30 21:46:32 spamcop postfix/smtp[25869]: warning: mailer loop:
> best MX host for mailserver.buyersadvantage4homes.com is local

One thing to note: postfix/smtp <-- no d.  The smtp program is the
outbound mail, smtpd is the inbound daemon that listens for mail.  So you
know the machine has accepted the mail, and the error is not in the
receiving, but in the passing it on to the next hop.  This is a very
important forensic clue.

On the page you reference it states, "If you configure main.cf as above,
then host1.domain1.org knows that it is the final destination for the
e-mail."

That is not the situation in an IMGate.  It is not the destination,
therefore this fix is improper for you.

> Here is a postconf:   ignore the > Thats from outlook express on
> repling. I sent it from the fubared machine and just hit reply.

Please, use postconf -n which will only show changed settings, and not the
defaults.

I had to skim that because it was too long, and too full of correct
defaults which are of no interest.  In skimming, I almost missed the
problem.

In fact, I did delete the problem area.  It dawned on me to dig for one
setting, which I found to be incorrect, and which should solve this issue
for you.

> > mydestination = $myhostname, localhost.$mydomain

OK.  So it is not set to locally accept mail for
@wirelesscommunitynetworks.com, which is correct.

> > mydomain = wirelesscommunitynetworks.com
> > myhostname = spamcop.wirelesscommunitynetworks.com
> > mynetworks = 68.156.89.0/25 127.0.0.0/8

That looks OK.

> > relay_domains = $mynetworks, hash:/usr/local/etc/postfix/transport.map

What is in your transport.map?

> > transport_maps =

And why is it only part of the accept for relay list, and not the
transport list?

Try changing this last entry to:

transport_maps = hash:/usr/local/etc/postfix/transport.map

and see what happens.

Explanation:

relay_domains = Whom may I relay for.
transport_maps = What to do with mail I am relaying.

The $0.10 documentation you missed is titled "Running Postfix on a
Firewall," but it is not exceptionally clear to people who have not
submerged in the river of Postfix till it occupies every pore.

http://www.postfix.org/faq.html#firewall

--Eric


Reply via email to