Re: Puling My Hair Out, Cannot Relay

From: John Fawcett (no email)
Date: Thu Jul 08 2004 - 07:13:08 EDT


----- Original Message -----
From: "Chuck Carson" <>
To: <>
Sent: Thursday, July 08, 2004 12:57 PM
Subject: ARG: Puling My Hair Out, Cannot Relay

>
> I have some mail servers based in a colo. I host a couple personal domains
on that server. It is
> accepting mail correctly and sending mail correctly from the local
machine. However, I cannot for
> the life of me get relaying to work.
>
> I addded each specific IP address I want to allow open relaying to but it
seems to be ignoring
> this. (by open relay I mean I want postfix to relay mail to ANY
destination if the sender is in my
> relay domains table)

You really mean "if the client ip is in your mynetworks table". If you
really did do this
by sender address and domain name, you would leave your server to abuse.

>
> I first created postfix/trusted_networks which contained this:
> 127.0.0.0/8
> 130.94.106.77/32
> 66.27.59.66/32
> 66.27.59.67/32
>
> I then build the table with "postmap trusted_networks". Note, that
x.x.106.77 is the IP address of
> the mail server itself. (I added this later in my debugging efforts. I
originally only had the
> last 2 entries present in the file)
>
> If I try and send mail to a yahoo account for example, using my mail
server as a relay, I get this
> in the logfile:
>
> Jul 8 03:49:39 mail postfix/smtpd[5949]: connect from
gw1.echeeba.com[66.27.59.66]
> Jul 8 03:49:39 mail postfix/smtpd[5949]: NOQUEUE: reject: RCPT from
gw1.echeeba.com[66.27.59.66]:
> 554 <>: Relay access denied; from=<>
to=<>
> proto=ESMTP helo=<[192.168.1.11]>
> Jul 8 03:49:41 mail postfix/smtpd[5949]: lost connection after RCPT from
> gw1.echeeba.com[66.27.59.66]
>
> Here is my current configuration but note that I have tried scores of
different permutations of
> settings, etc.... But here is my current non-working config: (sorry kinda
long)
>

It would help if you posted the result of postconf -n

Regards,
John








Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD