🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
20 messages
20 total messages Started by Red John Wed, 30 Nov 2016 20:51
Help with Spam Mail
#287333
Author: Red John
Date: Wed, 30 Nov 2016 20:51
54 lines
2130 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How can I get rid of these constant emails to my server?

"Date: Wed, 30 Nov 2016 19:16:26 +0700
From: canon@redjohn.net
To: admin <admin@redjohn.net>
Subject: Attached Image

[-- Attachment #1: 5796_003.docm --]
[-- Type: application/vnd.ms-word.document.macroEnabled.12,
Encoding: base64,
+Size: 42K --]

[-- application/vnd.ms-word.document.macroEnabled.12 is unsupported
(use 'v' to
+view this part) --]"

Please note the email is From "canon@redjohn.net", which cannot be
the case as I have not created a user called canon on my server. Is
there anyway to block these emails. I'm using Mutt as my mail
client on a Debian 7 Server. I'm getting about 20-30 of these
emails per day.

Here's another message:

Date: Wed, 30 Nov 2016 12:26:59 +0430
From: Eloise Eaton <Eaton.Eloise@habovka.sk>
To: abuse@redjohn.net
Subject: Urgent

[-- Attachment #1 --]
[-- Type: text/plain, Encoding: quoted-printable, Size: 0.2K --]


Dear abuse, our accountant informed me that in the bill you
processed, the
+invalid account number had been specified.

Please be guided by instructions in the attachment to fix it up.

[-- Attachment #2: unpaid_abuse.zip --]
[-- Type: application/zip, Encoding: base64, Size: 4.2K --]

[-- application/zip is unsupported (use 'v' to view this part) --]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlg/Jz0ACgkQSrCPi4AVv5kjOQCfZ9JXMN+xR9TbJHH/OnYLtoQ3
+gwAnAx6ysb5SQOafJP9368Jon35veLf
=ps/Q
-----END PGP SIGNATURE-----
Re: Help with Spam Mail
#287339
Author: elvis-85514
Date: Wed, 30 Nov 2016 21:12
8 lines
949 bytes
> "Date: Wed, 30 Nov 2016 19:16:26 +0700
> From: canon@redjohn.net
> To: admin <admin@redjohn.net>
> Subject: Attached Image
>
> I'm using Mutt as my mail client on a Debian 7 Server.

Do you have procmail?
Re: Help with Spam Mail
#287334
Author: Red John
Date: Wed, 30 Nov 2016 22:49
25 lines
1288 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 30 Nov 2016 21:12:17 GMT, you wrote:
>
> > "Date: Wed, 30 Nov 2016 19:16:26 +0700
> > From: canon@redjohn.net
> > To: admin <admin@redjohn.net>
> > Subject: Attached Image
> >
> > I'm using Mutt as my mail client on a Debian 7 Server.
>
> Do you have procmail?

root$ whereis procmail
procmail: /usr/bin/procmail /usr/bin/X11/procmail
/usr/share/man/man1/procmail.1.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlg/TfMACgkQSrCPi4AVv5mFjgCcCXc9OHeQvmG8fUeGBkZP3MFO
5YEAnA6nJu4xk7X5kp2htu8875OyX6it
=y3SV
-----END PGP SIGNATURE-----
Re: Help with Spam Mail
#287338
Author: elvis-85514
Date: Thu, 01 Dec 2016 00:24
36 lines
1787 bytes
On 2016-11-30, Red John <redjohn@nym.mixmin.net> wrote:
>
> On Wed, 30 Nov 2016 21:12:17 GMT, you wrote:
>>
>> > "Date: Wed, 30 Nov 2016 19:16:26 +0700
>> > From: canon@redjohn.net
>> > To: admin <admin@redjohn.net>
>> > Subject: Attached Image
>> >
>> > I'm using Mutt as my mail client on a Debian 7 Server.
>>
>> Do you have procmail?
>
> root$ whereis procmail
> procmail: /usr/bin/procmail /usr/bin/X11/procmail
> /usr/share/man/man1/procmail.1.gz

For whatever account you are using as admin create a
  ~/.procmailrc

and have in it

### A sample small $HOME/.procmailrc:
       VERBOSE = off
       PATH=/bin:/usr/bin:/usr/bin
       MAILDIR=$HOME/Mail      #you'd better make sure it exists
       DEFAULT=$MAILDIR/mboxlow   #completely optional
       LOGFILE=$MAILDIR/from   #recommended

:0
* ^From: .*@redjohn.net
/dev/null


You may also need in ~/.forward
"|/usr/bin/procmail  -a .procmailrc #admin"
Re: Help with Spam Mail
#287342
Author: Red John
Date: Thu, 01 Dec 2016 03:07
62 lines
2468 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 01 Dec 2016 00:24:54 GMT, you wrote:
>
> On 2016-11-30, Red John <redjohn@nym.mixmin.net> wrote:
> >
<snip>
> For whatever account you are using as admin create a
>   ~/.procmailrc
>
> and have in it
>
> ### A sample small $HOME/.procmailrc:
>        VERBOSE = off
>        PATH=/bin:/usr/bin:/usr/bin
>        MAILDIR=$HOME/Mail      #you'd better make sure it exists
>        DEFAULT=$MAILDIR/mboxlow   #completely optional
>        LOGFILE=$MAILDIR/from   #recommended
>
> :0
> * ^From: .*@redjohn.net
> /dev/null
>
>
> You may also need in ~/.forward
> "|/usr/bin/procmail  -a .procmailrc #admin"

elvis could I make changes to my posfix main.cf file here:

# TLS parameters
smtpd_helo_required=yes
disable_vrfy_command=yes

and here:

# some antispam rules,recipient restrictions
smtpd_recipient_restrictions =
        reject_invalid_hostname,
        reject_unauth_pipelining,
        reject_non_fqdn_recipient,
        reject_unknown_recipient_domain,
        permit_mynetworks,
        reject_unauth_destination,
        check_client_access
                hash:/etc/postfix/friends_whitelist
        permit

Also would installing SpamAssassin be an option here noting that I
am running a middle remailer and would not want to accidentally
block any legitimate emails from being forwarded to an exit
remailer. It's my understanding that I would have a whitelist that
I would need to manage, but don't know the complexity of going down
this path.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlg/ghgACgkQSrCPi4AVv5nfvQCdH8K3j4xP1Wy2SdBOVG9f8DvO
hk8AoP4uKvW7gj9nPqAr1mvhsBmpuSMv
=Hdge
-----END PGP SIGNATURE-----
Re: Help with Spam Mail
#287347
Author: Zax
Date: Thu, 01 Dec 2016 08:52
75 lines
3834 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu,  1 Dec 2016 03:07:16 +0000 (GMT), Red John wrote in
Message-Id: <20161201030717.17099120351@fleegle.mixmin.net>:

> elvis could I make changes to my posfix main.cf file here:
>
> # TLS parameters
> smtpd_helo_required=yes
> disable_vrfy_command=yes
>
> and here:
>
> # some antispam rules,recipient restrictions
> smtpd_recipient_restrictions =
>         reject_invalid_hostname,
>         reject_unauth_pipelining,
>         reject_non_fqdn_recipient,
>         reject_unknown_recipient_domain,
>         permit_mynetworks,
>         reject_unauth_destination,
>         check_client_access
>                 hash:/etc/postfix/friends_whitelist
>         permit

After permit_mynetworks, add in a line:
check_sender_access hash:/etc/postfix/sender_access

Then create the file "sender_access" and put in a line:
redjohn.net                              550 Unauthenticated sender

Create the binary version of this file with:
postmap sender_access

Reload postfix to bring the changes into effect.

In effect, this will reject all mail coming from senders using your
domain.  The actual clients on your domain will already have been
accepted by the permit_mynetworks setting.

> Also would installing SpamAssassin be an option here noting that I
> am running a middle remailer and would not want to accidentally
> block any legitimate emails from being forwarded to an exit
> remailer. It's my understanding that I would have a whitelist that
> I would need to manage, but don't know the complexity of going down
> this path.

You can install SpamAssassin but it needs some tuning to prevent it
checking the high volume of traffic to your remailer.  You can do this
by putting the following line in your /etc/spamassassin/local.cf file:
all_spam_to remailer@redjohn.net

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

iQIcBAEBCAAGBQJYP+TaAAoJECanyOTFuuOB6TsP/AlWNNxxmaDPy/Q7V4xGS1RO
WhgCWe7YJGMwmxxh1OnamC7d1846nkLTiii8ZeKIA7I7qNnRdjrCfzm+qbMoU9Vl
PE8piABYCRzwvo6MyjL7o2KH8LmV0lljrx6GQBZjpQ0y5f38BSGshPWbHRs3xMoL
kYKf1d3BejWYrcLHIVGiPIkqDC/9z6/DKYd5TdUYldMZPQ4q26T764LBYPvh7o8c
+7NFFIT+ErlIj6aUrjXqkj6ZXmlxvtI86+4Kg+C7YzjnFOM+1voMjDPY3uEn9xXa
2Etl7of/fAmbMqwI/9J42zWXsjth0GeWB0OgIWPhlELYD9TCrqMh6q2rHK3XjYK/
X25Rt1PUy4XmpKoR7I9JoB322WTF0gzQ1GihhUYRTnMu5r6Nhps/J5nRIaOCACd7
EvIHM3IOLZ3triNZQXH8LWnjSn9rHMYtNX0HRkD3f2eNyxTCuSGMwBjIalsPTLa5
Irrig3HeEZwoKNXGOoJQZts5J6xGsnVNNdFzSUdZ4BoaWxM9pEX68kfGAnU+M35N
2kphokM48Acq7yhxYQixkKJPjo2DiF3QLFuxSlw16eJ8qa/JYo9k9N49jzucFvfk
FIYkX7F9y2Hxs16Q7eTcycyudP/8rUh/ZLtlVvWTWnF/BN7rR8aeRjUGqlBogbdm
NsmDmOPTGxuZG89suMmB
=z5Il
-----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
Re: Help with Spam Mail
#287348
Author: Anonymous
Date: Thu, 01 Dec 2016 13:56
1 lines
1357 bytes
  Where were you 5 years ago when I began needing this?
Re: Help with Spam Mail
#287358
Author: Anonymous
Date: Thu, 01 Dec 2016 20:40
64 lines
2695 bytes
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Thu,  1 Dec 2016 03:07:16 +0000 (GMT), Red John wrote in
> Message-Id: <20161201030717.17099120351@fleegle.mixmin.net>:
> 
> 
>> elvis could I make changes to my posfix main.cf file here:
>>
>> # TLS parameters
>> smtpd_helo_required=yes
>> disable_vrfy_command=yes
>>
>> and here:
>>
>> # some antispam rules,recipient restrictions
>> smtpd_recipient_restrictions =
>>         reject_invalid_hostname,
>>         reject_unauth_pipelining,
>>         reject_non_fqdn_recipient,
>>         reject_unknown_recipient_domain,
>>         permit_mynetworks,
>>         reject_unauth_destination,
>>         check_client_access
>>                 hash:/etc/postfix/friends_whitelist
>>         permit
> 
> After permit_mynetworks, add in a line:
> check_sender_access hash:/etc/postfix/sender_access
> 
> Then create the file "sender_access" and put in a line:
> redjohn.net                              550 Unauthenticated sender
> 
> Create the binary version of this file with:
> postmap sender_access
> 
> Reload postfix to bring the changes into effect.
> 
> In effect, this will reject all mail coming from senders using your
> domain.  The actual clients on your domain will already have been
> accepted by the permit_mynetworks setting.

My main.cf is setup like this:

smtpd_relay_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    check_recipient_access hash:/etc/postfix/remailer_access,
    reject_unauth_destination

smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/sender_access

smtpd_recipient_restrictions =
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unauth_pipelining,
    permit_mynetworks,
    check_recipient_access hash:/etc/postfix/recipient_access,
    check_client_access hash:/etc/postfix/client_checks

Do I need 'permit_mynetworks,' to be under 'smtpd_sender_restrictions =' for this to work?
Re: Help with Spam Mail
#287362
Author: Red John
Date: Thu, 01 Dec 2016 23:01
35 lines
2203 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 1 Dec 2016 08:52:42 -0000 (UTC), you wrote:
>
<Big Snip>
> In effect, this will reject all mail coming from senders using your
> domain.  The actual clients on your domain will already have been
> accepted by the permit_mynetworks setting.
>
> > Also would installing SpamAssassin be an option here noting that I
> > am running a middle remailer and would not want to accidentally
> > block any legitimate emails from being forwarded to an exit
> > remailer. It's my understanding that I would have a whitelist that
> > I would need to manage, but don't know the complexity of going down
> > this path.
>
> You can install SpamAssassin but it needs some tuning to prevent it
> checking the high volume of traffic to your remailer.  You can do this
> by putting the following line in your /etc/spamassassin/local.cf file:
> all_spam_to remailer@redjohn.net
>
Zax there is a permit_mynetworks in the senders and receiver
sections of main.cf file. Where should your code be added? Please
note I have only modified the TLS parameters section and the
recipient section of main.cf. I have not touched the sender section
of main.cf.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlhAkjoACgkQSrCPi4AVv5kywACcCRL9v/TUt9Iq1xSywxMw8g10
c70AmwfgZg2FIcDQKb8RfIpHRKUfblrl
=gY9g
-----END PGP SIGNATURE-----
Re: Help with Spam Mail
#287366
Author: Anonymous
Date: Thu, 01 Dec 2016 23:01
6 lines
895 bytes
In article <91cfd1946f4b91739449a10d497f45eb@hoi-polloi.org>
Anonymous <anonymous@hoi-polloi.org> wrote:
>
>   Where were you 5 years ago when I began needing this?

He was a black hat spammer then.
Re: Help with Spam Mail
#287376
Author: Zax
Date: Fri, 02 Dec 2016 10:38
56 lines
2946 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Thu, 1 Dec 2016 21:40:47 +0100, Anonymous wrote in
Message-Id: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org>:

> My main.cf is setup like this:
>
> smtpd_relay_restrictions =
>     permit_mynetworks,
>     permit_sasl_authenticated,
>     check_recipient_access hash:/etc/postfix/remailer_access,
>     reject_unauth_destination
>
> smtpd_sender_restrictions =
>     check_sender_access hash:/etc/postfix/sender_access
>
> smtpd_recipient_restrictions =
>     reject_invalid_hostname,
>     reject_non_fqdn_sender,
>     reject_non_fqdn_recipient,
>     reject_unauth_pipelining,
>     permit_mynetworks,
>     check_recipient_access hash:/etc/postfix/recipient_access,
>     check_client_access hash:/etc/postfix/client_checks
>
> Do I need 'permit_mynetworks,' to be under 'smtpd_sender_restrictions
> =' for this to work?

I'd suggest removing the smtpd_sender_restrictions section, unless
you're deliberately trying to restrict your outbound mail.  Put the
check_sender_access in the smtpd_recipient_restrictions, under
permit_mynetworks.

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

iQIcBAEBCAAGBQJYQU88AAoJECanyOTFuuOBlrsP/jHIgW4xU5FNZDT0PZka/tA5
8e05XuHttHxJ2V6/xwk3rrCuY4Th3Wi7KfMPKfz7+tt59soivYcD6NDBaUrp27jl
kT5gdJx/DxZxpJJNZQcp0B3UCmT/OHDVP25agiXj2D6jujwfYOrRrRjNXzNRXXvn
tFyKxTKtYra1DcWcf+tmVLVf8f4aQZlF52hM57LvE9tQjxcQtszyTi9Jdn1JcdY8
rsSVq6n98zqHJ9aZh4cT4FSl+sM//B0jq1gwFKkdqNZLNnsbI6+ftsIKoDtkb/el
b/n4C3pqJU4M8sNPZuOBr9qVRFVDwxQlm+WXrLl9oV+ZZpT9KnEvF8EIxyH3j07S
xEVfm6qCxPsXLcjizrzQw8usbqcqB64r0r7jLVpQX3EmswTcKSA2CN81QmSTaftf
lI+KEr/uiE+CbCIp9FqaqLRjtuyOVeohOA3UngjRT9kbJTlKIBPvjU/nORIFskE1
oUHv8Lht0JTlDDibUIqWhIPx2btANMM7P0KLsOeCGAXSpgKgj/ld2qVgo8L05RJF
uxCeslAJk2EhVuFEN22H7osVDKyGd271f0WDmhyCb+Mx4IfssHabMsfRLNWI5Ex4
thNnGyNaiJiwWLFPlHPAAN1Fd3U6rLXdiID7MMeqIoZvBGxryVTC2+ILuKk8LSVe
b56tCz+hG7Db++fndJ5g
=Vvs/
-----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
Re: Help with Spam Mail
#287378
Author: Anonymous
Date: Fri, 02 Dec 2016 13:02
37 lines
1819 bytes
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Thu, 1 Dec 2016 21:40:47 +0100, Anonymous wrote in
> Message-Id: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org>:
> 
> 
>> My main.cf is setup like this:
>>
>> smtpd_relay_restrictions =
>>     permit_mynetworks,
>>     permit_sasl_authenticated,
>>     check_recipient_access hash:/etc/postfix/remailer_access,
>>     reject_unauth_destination
>>
>> smtpd_sender_restrictions =
>>     check_sender_access hash:/etc/postfix/sender_access
>>
>> smtpd_recipient_restrictions =
>>     reject_invalid_hostname,
>>     reject_non_fqdn_sender,
>>     reject_non_fqdn_recipient,
>>     reject_unauth_pipelining,
>>     permit_mynetworks,
>>     check_recipient_access hash:/etc/postfix/recipient_access,
>>     check_client_access hash:/etc/postfix/client_checks
>>
>> Do I need 'permit_mynetworks,' to be under 'smtpd_sender_restrictions
>> =' for this to work
> 
> I'd suggest removing the smtpd_sender_restrictions section, unless
> you're deliberately trying to restrict your outbound mail.  Put the
> check_sender_access in the smtpd_recipient_restrictions, under
> permit_mynetworks.

Done thanks
Re: Help with Spam Mail
#287379
Author: Anonymous
Date: Fri, 02 Dec 2016 14:03
100 lines
3950 bytes
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On Thu,  1 Dec 2016 03:07:16 +0000 (GMT), Red John wrote in
> Message-Id: <20161201030717.17099120351@fleegle.mixmin.net>:
> 
> 
>> elvis could I make changes to my posfix main.cf file here:
>>
>> # TLS parameters
>> smtpd_helo_required=yes
>> disable_vrfy_command=yes
>>
>> and here:
>>
>> # some antispam rules,recipient restrictions
>> smtpd_recipient_restrictions =
>>         reject_invalid_hostname,
>>         reject_unauth_pipelining,
>>         reject_non_fqdn_recipient,
>>         reject_unknown_recipient_domain,
>>         permit_mynetworks,
>>         reject_unauth_destination,
>>         check_client_access
>>                 hash:/etc/postfix/friends_whitelist
>>         permit
> 
> After permit_mynetworks, add in a line:
> check_sender_access hash:/etc/postfix/sender_access
> 
> Then create the file "sender_access" and put in a line:
> redjohn.net                              550 Unauthenticated sender

  This 550 trick has already done its work.  He did manage to discover one valid user - admin, but some other instruction thru it out.

Dec 1 10:11:03  fantundeluna@me.net  
Dec 1 10:11:14  fontenot@me.net  
Dec 1 10:11:17  coleallure@me.net  
Dec 1 10:11:17  dotardly@me.net  
Dec 1 10:11:19  operator@me.net  
Dec 1 10:11:25  ebowbelfer@me.net  
Dec 1 10:11:28  reply@me.net  
Dec 1 10:11:37  design@me.net  
Dec 1 10:11:46  billing@me.net  
Dec 1 10:11:50  account@me.net  
Dec 1 10:11:51  noauth@me.net  
Dec 1 10:11:55  spam@me.net  
Dec 1 10:12:03  test@me.net  
Dec 1 10:12:07  info@me.net  
Dec 1 10:12:09  admin@me.net   'Relay access denied!'
Dec 1 10:12:10  administrator@me.net  
Dec 1 10:12:11  mail@me.net  
Dec 1 10:12:45  postmaster@me.net  
Dec 1 10:12:47  sales@me.net  
Dec 1 10:13:12  support@me.net  
Dec 1 10:13:16  webmaster@me.net  
Dec 1 10:13:36  contact@me.net  
Dec 1 10:13:43  office@me.net  
Dec 1 10:13:45  staff@me.net  
Dec 1 10:14:07  news@me.net  
Dec 1 10:14:09  careers@me.net  
Dec 1 10:14:11  fax@me.net  
Dec 1 10:14:12  abuse@me.net  
Dec 1 10:14:13  hostmaster@me.net  
Dec 1 10:14:15  noreply@me.net  
Dec 1 10:14:16  pop3@me.net  
Dec 1 10:14:17  sysadmin@me.net  
Dec 1 10:14:20  web@me.net  
Dec 1 10:16:13  sexysexy@me.net  
Dec 1 10:16:16  simon@me.net  
Dec 1 10:16:18  destroyer@me.net  
Dec 1 10:16:19  hero@me.net  
Dec 1 10:16:20  homepage@me.net  
Dec 1 10:21:14  secret@me.net  
Dec 1 10:21:19  superman@me.net  
Dec 1 10:21:44  hunter@me.net  
Dec 1 10:22:25  killer@me.net  
Dec 1 10:22:31  love@me.net  
Dec 1 10:22:33  sunshine@me.net  
Dec 1 10:22:34  access@me.net  
Dec 1 10:22:51  123123@me.net  
Dec 1 10:23:09  compaq@me.net  
Dec 1 10:23:11  bitch@me.net  
Dec 1 10:23:17  welcome@me.net  
Dec 1 10:23:21  boston@me.net  
Dec 1 10:23:23  badboy@me.net  
Dec 1 10:23:27  forever@me.net  
Dec 1 10:23:32  united@me.net  
Dec 1 10:23:40  cooper@me.net  
Dec 1 17:11:11  xbfjnq@me.net
Dec 1 17:11:11  xbfjnq@me.net
Dec 1 17:11:12  bfjmpt@me.net
Dec 1 17:11:12  bfjmpt@me.net
Dec 1 17:11:12  imo@me.net
Dec 1 17:11:14  imo@me.net
Dec 1 17:11:19  fim@me.net
Dec 1 17:11:23  fim@me.net 
Dec 1 17:11:27  xacgjl@me.net
Dec 1 17:11:32  xacgjl@me.net
Re: Help with Spam Mail
#287386
Author: Nomen Nescio
Date: Fri, 02 Dec 2016 19:48
105 lines
4405 bytes
On Fri, 2 Dec 2016 15:03:27 +0100, you wrote:
>
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > On Thu,  1 Dec 2016 03:07:16 +0000 (GMT), Red John wrote in
> > Message-Id: <20161201030717.17099120351@fleegle.mixmin.net>:
> >
> >
> >> elvis could I make changes to my posfix main.cf file here:
> >>
> >> # TLS parameters
> >> smtpd_helo_required=yes
> >> disable_vrfy_command=yes
> >>
> >> and here:
> >>
> >> # some antispam rules,recipient restrictions
> >> smtpd_recipient_restrictions =
> >>         reject_invalid_hostname,
> >>         reject_unauth_pipelining,
> >>         reject_non_fqdn_recipient,
> >>         reject_unknown_recipient_domain,
> >>         permit_mynetworks,
> >>         reject_unauth_destination,
> >>         check_client_access
> >>                 hash:/etc/postfix/friends_whitelist
> >>         permit
> >
> > After permit_mynetworks, add in a line:
> > check_sender_access hash:/etc/postfix/sender_access
> >
> > Then create the file "sender_access" and put in a line:
> > redjohn.net                              550 Unauthenticated sender
>
>   This 550 trick has already done its work.  He did manage to discover one valid user - admin, but some other instruction thru it out.
>
> Dec 1 10:11:03  fantundeluna@me.net
> Dec 1 10:11:14  fontenot@me.net
> Dec 1 10:11:17  coleallure@me.net
> Dec 1 10:11:17  dotardly@me.net
> Dec 1 10:11:19  operator@me.net
> Dec 1 10:11:25  ebowbelfer@me.net
> Dec 1 10:11:28  reply@me.net
> Dec 1 10:11:37  design@me.net
> Dec 1 10:11:46  billing@me.net
> Dec 1 10:11:50  account@me.net
> Dec 1 10:11:51  noauth@me.net
> Dec 1 10:11:55  spam@me.net
> Dec 1 10:12:03  test@me.net
> Dec 1 10:12:07  info@me.net
> Dec 1 10:12:09  admin@me.net   'Relay access denied!'
> Dec 1 10:12:10  administrator@me.net
> Dec 1 10:12:11  mail@me.net
> Dec 1 10:12:45  postmaster@me.net
> Dec 1 10:12:47  sales@me.net
> Dec 1 10:13:12  support@me.net
> Dec 1 10:13:16  webmaster@me.net
> Dec 1 10:13:36  contact@me.net
> Dec 1 10:13:43  office@me.net
> Dec 1 10:13:45  staff@me.net
> Dec 1 10:14:07  news@me.net
> Dec 1 10:14:09  careers@me.net
> Dec 1 10:14:11  fax@me.net
> Dec 1 10:14:12  abuse@me.net
> Dec 1 10:14:13  hostmaster@me.net
> Dec 1 10:14:15  noreply@me.net
> Dec 1 10:14:16  pop3@me.net
> Dec 1 10:14:17  sysadmin@me.net
> Dec 1 10:14:20  web@me.net
> Dec 1 10:16:13  sexysexy@me.net
> Dec 1 10:16:16  simon@me.net
> Dec 1 10:16:18  destroyer@me.net
> Dec 1 10:16:19  hero@me.net
> Dec 1 10:16:20  homepage@me.net
> Dec 1 10:21:14  secret@me.net
> Dec 1 10:21:19  superman@me.net
> Dec 1 10:21:44  hunter@me.net
> Dec 1 10:22:25  killer@me.net
> Dec 1 10:22:31  love@me.net
> Dec 1 10:22:33  sunshine@me.net
> Dec 1 10:22:34  access@me.net
> Dec 1 10:22:51  123123@me.net
> Dec 1 10:23:09  compaq@me.net
> Dec 1 10:23:11  bitch@me.net
> Dec 1 10:23:17  welcome@me.net
> Dec 1 10:23:21  boston@me.net
> Dec 1 10:23:23  badboy@me.net
> Dec 1 10:23:27  forever@me.net
> Dec 1 10:23:32  united@me.net
> Dec 1 10:23:40  cooper@me.net
> Dec 1 17:11:11  xbfjnq@me.net
> Dec 1 17:11:11  xbfjnq@me.net
> Dec 1 17:11:12  bfjmpt@me.net
> Dec 1 17:11:12  bfjmpt@me.net
> Dec 1 17:11:12  imo@me.net
> Dec 1 17:11:14  imo@me.net
> Dec 1 17:11:19  fim@me.net
> Dec 1 17:11:23  fim@me.net
> Dec 1 17:11:27  xacgjl@me.net
> Dec 1 17:11:32  xacgjl@me.net

What file did you read to get the data above. Is there a mail 
reject file that can be viewed?
Re: Help with Spam Mail
#287404
Author: Anonymous
Date: Fri, 02 Dec 2016 20:57
4 lines
1023 bytes
grep  "discard:" /var/log/syslog
grep  "reject:" /var/log/syslog
grep  "User unknown in virtual alias table" /var/log/syslog
grep  "User unknown in local recipient table" /var/log/syslog
Re: Help with Spam Mail
#287449
Author: Red John
Date: Sat, 03 Dec 2016 08:06
57 lines
2771 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 2 Dec 2016 10:38:52 -0000 (UTC), you wrote:
>
> On Thu, 1 Dec 2016 21:40:47 +0100, Anonymous wrote in
> Message-Id: <5ac223a411945ba59876ad1a2f192af9@hoi-polloi.org>:
>
> > My main.cf is setup like this:
> >
> > smtpd_relay_restrictions =
> >     permit_mynetworks,
> >     permit_sasl_authenticated,
> >     check_recipient_access hash:/etc/postfix/remailer_access,
> >     reject_unauth_destination
> >
> > smtpd_sender_restrictions =
> >     check_sender_access hash:/etc/postfix/sender_access
> >
> > smtpd_recipient_restrictions =
> >     reject_invalid_hostname,
> >     reject_non_fqdn_sender,
> >     reject_non_fqdn_recipient,
> >     reject_unauth_pipelining,
> >     permit_mynetworks,
> >     check_recipient_access hash:/etc/postfix/recipient_access,
> >     check_client_access hash:/etc/postfix/client_checks
> >
> > Do I need 'permit_mynetworks,' to be under 'smtpd_sender_restrictions
> > =' for this to work?
>
> I'd suggest removing the smtpd_sender_restrictions section, unless
> you're deliberately trying to restrict your outbound mail.  Put the
> check_sender_access in the smtpd_recipient_restrictions, under
> permit_mynetworks.
>
Zax thanks for the instructions above. The fix you gave me took
care of forged email addresses to my domain, but did not address
emails coming from *.zhu.com.au and others so I added these to my
sender_access file like this:

redjohn.net                         550 Unauthenticated sender
*.@zhu.com.au   REJECT

I have added about twenty items to this file and I'm sure it will
grow as I get more spam. This is a poor man's option in lieu of
SpamAssassin. I haven't received any new spam today after adding
these additional entries to my sender_access file. Please note I
used the REJECT flag and this "appears" to work.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (MingW32)

iEYEARECAAYFAlhCcE4ACgkQSrCPi4AVv5l+7QCffRK/FfHRQM31Efed1byUVrAI
MqQAn1Y6zCkobzwUv/+tiNPm4L5WsJoJ
=9RaE
-----END PGP SIGNATURE-----
Re: Help with Spam Mail
#287452
Author: Zax
Date: Sat, 03 Dec 2016 10:31
57 lines
3298 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat,  3 Dec 2016 08:06:45 +0000 (GMT), Red John wrote in
Message-Id: <20161203080645.C24D812008F@fleegle.mixmin.net>:

>> I'd suggest removing the smtpd_sender_restrictions section, unless
>> you're deliberately trying to restrict your outbound mail.  Put the
>> check_sender_access in the smtpd_recipient_restrictions, under
>> permit_mynetworks.
>>
> Zax thanks for the instructions above. The fix you gave me took
> care of forged email addresses to my domain, but did not address
> emails coming from *.zhu.com.au and others so I added these to my
> sender_access file like this:
>
> redjohn.net                         550 Unauthenticated sender
> *.@zhu.com.au   REJECT
>
> I have added about twenty items to this file and I'm sure it will
> grow as I get more spam. This is a poor man's option in lieu of
> SpamAssassin. I haven't received any new spam today after adding
> these additional entries to my sender_access file. Please note I
> used the REJECT flag and this "appears" to work.

Yes, that works fine.  You can also use DISCARD if you prefer.  REJECT
sends a bounce back to the originator while DISCARD just silently bins
it.  The problem with REJECT is generating backscatter[1].

Other useful additions to Postfix are SPF and DKIM validation to cut
down on junk[2].

[1] https://en.wikipedia.org/wiki/Backscatter_(email)
[2] https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8

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

iQIcBAEBCAAGBQJYQp8NAAoJECanyOTFuuOBr1sP/A5Gg5vSyE5HWMW89LJGzZyc
qaqFgo0YCYzHt5fPQU9syeoRDYB4w2ItPtsgn6rGHLzFYBjmzrIWS4KcFeBWo2cl
IEoLx+PItO+qx0O1m3uYDmnUBGzfuzl5F9CUmt4xVhNR9GXoE24OexHXaRsxSGYJ
Sns6bEU+jx03tMZGlFVNYbWOIkU6ibIJJtOFXg6Kh5PymjuZbMN+9/7xst+Q/YSZ
ZlFZWzIluTYAqQvoHNUNXVPSvDyiEkKA5vBL/i+43ZnFowfPi7aEjcKGsPHNKYvo
f+w+ZSi4ufGEY3lRtoEbNR/xitrnPIDG7vtY8ckcnhMRdy7BUJuCtVN28FMQNPU8
P3sgRZCZwJyX9V4XEg5eP3OaVC3GyZ3wINzfc6JMDxkEqhBObphyewYlRh+OdlIU
sOMuoUA2YKU6ABlBroojXHb+Bn7sDEtScyFByUNNyI0fwHkaICWljTbvOExtqJji
MnPXx5Iz8njMc60yRTHurxaXCQoYG+kMNtD/1AVwIrulFis8yWKTtd+F9KjZlKLY
qezcS8RoHwaW+Q4MmmIKp1pqZKS2melugA9c7TUqPPWbcJnvmgEDVAy7pqFAuDBz
iPd/hLL7Hrtk9hd5acd6JWUrS5FNZadxS+TEa+rRPVkMZXZPvUc5YukKRtQ17lk3
3ojWEZgqurZF1i3WDAqF
=uHKL
-----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
Re: Help with Spam Mail
#287454
Author: Anonymous
Date: Sat, 03 Dec 2016 13:27
19 lines
1783 bytes
Red John <redjohn@nym.mixmin.net> wrote:

>I have added about twenty items to this file and I'm sure it will
>grow as I get more spam. This is a poor man's option in lieu of
>SpamAssassin. I haven't received any new spam today after adding
>these additional entries to my sender_access file. Please note I
>used the REJECT flag and this "appears" to work.

Why not make Spam Assassin check for Mixmaster packet format?

| rawbody _LOCAL_MIXMASTER_INI /Remailer-Type: Mixmaster/
| rawbody _LOCAL_MIXMASTER_BEG /-----BEGIN REMAILER MESSAGE-----/
| rawbody _LOCAL_MIXMASTER_END /-----END REMAILER MESSAGE-----/
| meta LOCAL_MIXMASTER (_LOCAL_MIXMASTER_INI && _LOCAL_MIXMASTER_BEG && _LOCAL_MIXMASTER_END)
| score LOCAL_MIXMASTER -10.0

Sure, you have to download the complete message, but such a rule
preserves what a remailer has to do, to forward Mixmaster packets
wherever they may come from.
Re: Help with Spam Mail
#287455
Author: Anonymous
Date: Sat, 03 Dec 2016 14:08
17 lines
1555 bytes
<snip>
> 
> Yes, that works fine.  You can also use DISCARD if you prefer.  REJECT
> sends a bounce back to the originator while DISCARD just silently bins
> it.  The problem with REJECT is generating backscatter1.
> 
> Other useful additions to Postfix are SPF and DKIM validation to cut
> down on junk2.
> 
> 1 https://en.wikipedia.org/wiki/Backscatter_(email)
> 2 https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8

  Question about this.  My server has a TXT record with this:

TXT  @  1800 IN TXT "v=spf1 mx a ip4:128.199.47.171 -all"

  Does that mean that one of the above link suggestions is somehow already being taken care of in the VPS Zone records?
Re: Help with Spam Mail
#287459
Author: Zax
Date: Sat, 03 Dec 2016 15:24
59 lines
3094 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, 3 Dec 2016 15:08:57 +0100, Anonymous wrote in
Message-Id: <1c7c78c117f71be730ba2f6ce961b25d@hoi-polloi.org>:

>   Question about this.  My server has a TXT record with this:
>
> TXT  @  1800 IN TXT "v=spf1 mx a ip4:128.199.47.171 -all"
>
> Does that mean that one of the above link suggestions is somehow
> already being taken care of in the VPS Zone records?

That DNS record tells recipients (servers or clients) which mail
exchangers are responsible for sending your mail.  For example:

If a receiving servers gets a message from admin@mixmin.net, it can
lookup the SPF record for mixmin.net.  Like this:

$ host -t TXT mixmin.net
mixmin.net descriptive text "v=spf1 mx -all"

This states that mail from mixmin.net should only come from the mx
servers for mixmin.net.  These are:

$ host -t MX mixmin.net
mixmin.net mail is handled by 10 fleegle.mixmin.net.

If the mail isn't coming from fleegle.mixmin.net, it can be rejected (or
adversely scored) as fake.


In summary, SPF has two sides.  The sender needs to include DNS TXT records
to define the sending mail servers.  The recipient needs to run an SPF
process on their mail server to test inbound mail against the DNS
records.

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

iQIcBAEBCAAGBQJYQuPGAAoJECanyOTFuuOB3ogP/i7AdHAdodjLeNy8Cv5sr1lm
tuG1RwzZ/tbehvCOSNV6ycipNsoEjwYC55K5I4pBxntdB7sHGi75etB4Ro69J4Uv
nAkvyb7y+mUXcye9/N4Rbtxt9TdiCLLCamvP2ntmVHL12FKhdclRQ6gNfBnvWE0F
ay7GFKbM3yZPfX8rSq4I62nYg0k1CnQJipl9ci5CZ1JayTuQli0wKT54ooeg5gnd
MqBz9NIs6Cf1AtyC0WpnslqOn7GOznr3Kt6AHb32EXkq4dxcg5BJfS3sW3CaC4oG
VcS/XCMyK0wOsaciOI1ROxiIbo14CDV65xOxNQOkugKUVBAGC0VlqcZ/xAREkYLJ
r3LnbG34JCb/vyQsT0g5y+y3gpXn1NdCMcRNQMWbxVziGan4GPuaB9VhqmgnBUO0
9JBxVODq1atcZACVDaxw8gQAmPpJWxbyscn2armDTcZ8obDiG8HxBZgxLaW7lJd/
OMtOrWwpq/RMrPB/AuU0arVmraG+bbU1i/NHljuNHquaFBaLD4zURcqynmYsoUca
mZkjNLLIE5uMaM41MSizrYwcnQWjc4N/RqfO0OopFdIS7Tzq1Do0AGJGQUO1S0rT
8NIgxh25vrXQVgxC3T7ItVTqdmDZ2ukJQOLD/fZ0wj/Rb35x3WrTUEQj04bF+shL
BLAmfflv9SOoxtiegdpy
=WqXg
-----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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads