🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #274864

Re: IP rejections?

#274864
From: Zax
Date: Fri, 12 Jun 2015 20:54
77 lines
3795 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Fri, 12 Jun 2015 11:10:13 -0400 (EDT), Jack Ryan wrote in
Message-Id: <0f2ac079a2bbd2e02923fb867cea85e8@remailer.cpunk.us>:

>   !!!This setup below caused problems!!!
> When I tried to send the below to news through inwtx.net, I got the 
> following error (I put everything back and ok - one made it after 
> reversing):

There are a few replies to my last message so I don't know which one was
most recently sent.  The joys of dynamic mix pools!  :)

>  554 5.7.1 <mix@anemone.mooo.com>: Relay access denied
This means your MTA is refusing to relay to anemone.mooo.com (and
probably any other domain).  This is down to
smtpd_recipient_restrictions.  Read on for some more info.....

> smtpd_recipient_restrictions =
> #   check_recipient hash:/etc/postfix/recipient
>    reject_unauth_pipelining,
>    reject_non_fqdn_recipient,
>    reject_unknown_recipient_domain,
>    permit_mynetworks,
>    reject_unauth_destination,
>    permit_mynetworks,
>    permit_sasl_authenticated,
>    check_recipient_access hash:/etc/postfix/remailer_access,
>    reject_unauth_destination
>    permit

First three rejects are fine, they're pretty standard.

permit_mynetworks is probably causing you problems because your MTA's IP address
isn't listed.  As a result, messages from your server aren't permitted
before the next rule: reject_unauth_destination.  This will reject any
domains you haven't explicitly whitelisted.

You probably want this:

smtpd_recipient_restrictions =
    reject_unauth_pipelining,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,
    permit_sasl_authenticated,
    permit_mynetworks,
    check_recipient_access hash:/etc/postfix/remailer_access,
    defer_unauth_destination

Make sure your mynetworks entry is correct!

Test it, then, if everything appears to be working and nothing is being
deferred, change the last entry to: reject_unauth_destination.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVe0boAAoJEC3jHKG+PvqnAQ8QAJK7Xfbc9FRj15V70/jJL9dS
g5RjqiqWnG0M98kpL2//bjQUZ32c8+b1UKPQBODNk21AYbeeG7N674R/xh/quW/c
q4avdBH/tgYIuyX3gw6IFh6n/tFUsVO9hdq1+xBAwuq+ATlMLQ0+L7Si6qufcD5G
+o2/vefR1yUB2nrAB2/A99EdUx+gT9rlajR7WxLyL7yAuz71mmjCLK31yyL8Ixwu
hzzM6CyIhYbuUymTer/tftfBRqnWmkK2YW2yLU56AuCor8hJQ9ZaSI4V+jYLdToL
GHd8hVJQrAA8UjVQiU9Cspu0FB4/rOk+6TrsDMeEXFQJCcP9DD+nVzBM+d8wi3Qo
bl0cV9VvYUpEhHd/p3YhHCVuYug6SERBJhYOs/x+ISB+79U4FBGzeTV0r+ugvDGG
RkP2c6vrbihPz0nomY/ER/Dws5eQrPJfCtiK/vS18l93NOpq7lYH2yAg1PG0LEkJ
QVGEqWtVyLhWj/o9rF5+JFKiqWaIHzSByf355fx0lAiVaRg+9JwMo9zcSJad9qXf
iG0jBh1P3ystQYm3VULTa7uNUccj9vstSBWARqEIXmKJUlQE67UfpMc433wdVxud
coMGzSQyo+1wDp1xq58rQ5A2tkiyEJXKEl6rJMSTDmxwagLlvncv9xN4VL9YpFov
k9TFtFOYgPQblmBl/As0
=tttG
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
sub  4096R/BE3EFAA7  created: 2014-11-14  expires: 2016-11-13  usage: S
Technical Details
Message-ID: <slrnmnmhn8.o2q.admin@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <slrnmnlp8o.o2q.admin@snorky.mixmin.net> <0f2ac079a2bbd2e02923fb867cea85e8@remailer.cpunk.us>

Show Full Headers
Complete Article Headers
Message-ID: <slrnmnmhn8.o2q.admin@snorky.mixmin.net>
Subject: Re: IP rejections?
Date: Fri, 12 Jun 2015 20:54:00 +0000
From: Zax <admin@mixmin.net>
References: <slrnmnlp8o.o2q.admin@snorky.mixmin.net> <0f2ac079a2bbd2e02923fb867cea85e8@remailer.cpunk.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Fri, 12 Jun 2015 20:54:00 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="s9NafqkyQ80oN+BFAFhhela2rOs";
User-Agent: slrn/pre1.0.3-1 (Linux)
Lines: 76