Bluehost.com Web Hosting $6.95

Relay problem

This is a discussion on Relay problem within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; LS, I run postfix 1.11.1 and have quite a few relatives which can relay through my server. Since ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2003
Ebzdex
 
Posts: n/a
Default Relay problem

LS,

I run postfix 1.11.1 and have quite a few relatives which can relay through
my server. Since I don't know their IP addresses, and also they dynamically
change, my server is in fact an open relay. Thats why I use SMTP
authentication (SASL) for all my clients.

This is secure enough, but now I meet a problem when I try to fight spam. I
like to use RBL checking and added the following entries in main.cf:

maps_rbl_domains = relays.ordb.org,
bl.spamcop.net,
blackholes.easynet.nl,
relays.ordb.org,
sbl.spamhouse.org,
list.dsbl.org,
proxies.relays.monkeys.com,
dsn.rfc-ignorant.org,
opm.blitzed.org,
cn-kr.blackholes.us

smtpd_recipient_restrictions =
reject_invalid_hostname,
# reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain,
reject_unknown_recipient_domain,
reject_unauth_pipelining,
permit_mynetworks,
reject_unauth_destination,
reject_maps_rbl,
permit


The problem is that the permit_mynetworks directive keeps me from relaying,
since I defined $mynetworks as 127.0.0.1 only.

(The only host that can relay without smtp authentication is localhost)

So what happen for short:

When I try to relay from a remote network:
- I authenticate for relay (OK)
- I am rejected due to the permit_mynetworks.

How can I solve this?


Thanks for your time,

Mike.


Reply With Quote
  #2 (permalink)  
Old 09-23-2003
Ebzdex
 
Posts: n/a
Default Re: Relay problem

Ebzdex <nonsmoke@hotmail.com> wrote:

> How can I solve this?


Ah, fixed. Added permit_sasl_authenticated.


Mike.




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:33 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0