Re: ARG: Puling My Hair Out, Cannot Relay

From: Magnus Bäck (no email)
Date: Sat Jul 10 2004 - 11:39:21 EDT


On Thursday, July 08, 2004 at 12:57 CEST,
     Chuck Carson <> wrote:

> 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)

Note: "Open relay" is, by definition, relay access for *anyone*. It does
not make sense to talk about "open relay for a few trusted clients".

> 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

The exact file content above requires a CIDR map. For normal indexed
maps, the lookup key will be an IP address, so the map must specifically
list all IP addresses (not a very big change is required in your case).
Simpler yet is to just list the addresses or CIDR blocks in main.cf.

[...]

-- 
Magnus Bäck







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD