🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: IP rejections?

#274860
From: Jack Ryan
Date: Fri, 12 Jun 2015 15:10
142 lines
5031 bytes
  !!!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):

Sending mixmaster packet 1 of 5
Proxy: none
Connected to mail.inwtx.net:2526
 220 mail.inwtx.net ESMTP Postfix (Debian/GNU)
 250-mail.inwtx.net
 250-PIPELINING
 250-SIZE 10240000
 250-VRFY
 250-ETRN
 250-STARTTLS
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250 DSN
 220 2.0.0 Ready to start TLS
 250-mail.inwtx.net
 250-PIPELINING
 250-SIZE 10240000
 250-VRFY
 250-ETRN
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250 DSN
 250 2.1.0 Ok
 554 5.7.1 <mix@anemone.mooo.com>: Relay access denied
 ERROR: 554 Not a Winsocket error
 Error at Request Done
Connection closed!
Failed


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On Fri, 12 Jun 2015 08:19:44 -0400 (EDT), Anonymous wrote in
> Message-Id: <6476d8096d239381f6083aaf4511d17d@foto.nl1.torservers.net>:
>
>
>>   These are my current main.cf smtpd_... params.  If the #
>> delimiter has been working, then it looks like
>> reject_unknown_sender_domain had already been removed.
>>
>> # Some anti-spam rules, sender restrictions
>> smtpd_sender_restrictions =
>>    permit_mynetworks,
>>    reject_non_fqdn_sender,
>> #   reject_unknown_sender_domain,
>>    permit
> I'd suggest removing this entire section.  As the default at the bottom
> is "permit", it's only working to reject non-fqdn senders.
>

  Removed section.

>
>> # Some anti-spam rules, recipient restrictions
>> 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
>>
>> # Zax's code to allow QSL sending access to a server
>> #smtpd_relay_restrictions =      # this is used in postfix3.0+ only
> Postfix <2.10 didn't have smtp_relay_restrictions.  That's quite an old
> version now so you might want to check if you're running 2.10 or newer.

postconf -d mail_version
mail_version = 2.9.6

  That seems to be the current Dabian paqckage:
apt-get download postfix
Get:1 Downloading postfix 2.9.6-2 [1,546 kB]

  I would like to update postfix to 3.0+, but I think I remember 
that you had some kind of problem with it after installation, some 
parameters had to be changed for it to work correctly.

>
>> smtpd_recipient_restrictions =
>>    permit_mynetworks,
>>    permit_sasl_authenticated,
>>    check_recipient_access hash:/etc/postfix/remailer_access,
>>    reject_unauth_destination
> This is fine, if you have a remailer_access file with all the remailer
> addresses listed in it.
>
>
>>   I just took out smtpd_recipient_restrictions /
>> reject_unknown_sender_domain.  I am wondering if either the
>> reject_non_fqdn_recipient and/or reject_unknown_recipient_domain is
>> also causing some problems.  There are two
>> 'smtpd_recipient_restrictions =' sections.  Is that ok are should
>> they be combined?
>
> Combined if you're running postfix <2.10, otherwise the second one
> should be smtpd_relay_restrictions.

  Here is what I have now:

# Some anti-spam rules, sender restrictions
# Removed per Zax's suggestion
#smtpd_sender_restrictions =
#   permit_mynetworks,
#   reject_non_fqdn_sender,
#   reject_unknown_sender_domain,
#   permit

# Some anti-spam rules, recipient restrictions
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

# Zax's code to allow QSL sending access to a server
# Combined in above per Zax's suggestion
#smtpd_relay_restrictions =      # this is used in postfix3.0+ only
#smtpd_recipient_restrictions =
#   permit_mynetworks,
#   permit_sasl_authenticated,
#   check_recipient_access hash:/etc/postfix/remailer_access,
#   reject_unauth_destination

  Should the check_recipient_access and reject_unauth_destination 
be higher in the list?

Thanks.
Technical Details
Message-ID: <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
References: <slrnmnlp8o.o2q.admin@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <0f2ac079a2bbd2e02923fb867cea85e8@remailer.cpunk.us>
Subject: Re: IP rejections?
Date: Fri, 12 Jun 2015 15:10:13 +0000
From: Jack Ryan <noreply@remailer.cpunk.us>
References: <slrnmnlp8o.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
Newsgroups: alt.privacy.anon-server
Organization: dizum.com - The Internet Problem Provider
X-Abuse: abuse@dizum.com
Injection-Info: sewer.dizum.com - 194.109.206.211
Lines: 142