|
All Archives /
aussie-isp /
2005-02
|
<<< Date >>> | |
| Permanent Link | ||
|
Date: Wed, 9 Feb 2005 22:45:27 +1100
From: Craig Sanders To: Craig Ian Dewick Cc: Aussie Isp Message-Id: <20050209114527.GA22066@taz.net.au> In-Reply-To: <Pine.GSO.4.58.0502052015040.19945@lios.apana.org.au> References: <Pine.GSO.4.58.0502052015040.19945@lios.apana.org.au> Subject: Re: [Oz-ISP] relaying email from Xp box using postfix |
No followups recorded. |
|
On Sat, Feb 05, 2005 at 08:16:10PM +1100, Craig Ian Dewick wrote: > I have created a local_relay_map file in /etc/postfix/maps which is hooked > into the postfix config on the machine designated to relay the mail like > this: > > relay_domains = $mydestination, /etc/postfix/maps/local_relay_map $relay_domains is for listing domains that you are willing to relay mail TO, from anyone/anywhere. e.g domains that you are backup MX or uucp host for. etc. $mynetworks is for listing IP addresses and networks that you are willing to relay mail FROM, to anywhere. e.g. your LAN. > Each time I try to send an email from Thunderbird via the relay machine, > relaying is being denied. that's because you've misunderstood how relay authorisation works. relay access is authorised by IP adress, not by domain name. add "192.168.0.0/24" to $mynetworks in main.cf and run "postfix reload". > I first thought this might be because Postfix can't resolve the > private IP address postfix doesnt even attempt to do this for relay control. craig ps: see www.postfix.org for documentation and links to howto sites etc. -- craig sanders <c a s @ t a z . n e t . a u (part time cyborg) ---- email "unsubscribe aussie-isp" to m a j o r d o m o @ a u s s i e . n e t to be removed. |
|