Changeset 402b138 for npl


Ignore:
Timestamp:
09/25/17 17:36:44 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
c6da4cb
Parents:
072d3d5
Message:

no longer bounce mails that are send to invalid adresses (too much bounchspammers)

Location:
npl/mailserver/netqmail
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/netqmail/netqmail.build

    r072d3d5 r402b138  
    1 6345
     16347
  • npl/mailserver/netqmail/netqmail.md5

    r072d3d5 r402b138  
    11604085a48a5bbb909a67a9a0cedbb173  ./helodnscheck2.c
    224c03848af9d37e281f3b82cc59230d9b  ./netqmail-1.05.tar.gz
    3 4fdd0da2cd330fe40167da1bedbcf888  ./netqmail.pkg
     3c0f9e13fda7f2824929d9acf5da295a2  ./netqmail.pkg
    442fbb3489040f1d869f6a653c00f9f72d  ./netqmail.SlackBuild
    5 4a6f732e1fa749228065fea1e3fde06b  ./netqmail.SlackBuild.log.gz
     507e0b95565051cf920261f1d4d45417b  ./netqmail.SlackBuild.log.gz
    669140ad2b03017145cd7963c84bb24f16  ./qmail-103.patch
    7749c6b7898cc85df03dfabb190c7ffc4a  ./qmailctl
     
    111113356ef41ba7a8508fa570d569b117cf  ./qmail-spp-spf-20091020.c
    1212bcafe3f1412a9eef6efe09a97234c04c  ./qmail-tap.diff
    13 c792b7df655910b6c918d59acc672e0c  ./syn3-dagent
     13a23a39d1e0321a8d4fc6eeea60df829b  ./syn3-dagent
  • npl/mailserver/netqmail/syn3-dagent

    r072d3d5 r402b138  
    1515}
    1616
    17 #check if user exists or fail permanent
    18 #(id will generate a nice error message)
    19 id "$USER" >/dev/null || end 100
     17# some kind of ldap problem, try again later
     18id "Administrator" >/dev/null || end 111
     19
     20#does the user exists?
     21if ! id "$USER" >/dev/null; then
     22        #we're sure theres no ldap problem?
     23        id "Administrator" >/dev/null || end 111
     24        #probably a bounce spammer, drop mail silently
     25        echo "User does not exist, dropping mail."
     26        end 0
     27fi
    2028
    2129#store mail temporary
     
    6169#no backend mailstorage up, so fail temporary
    6270echo "All mailbackends are down, retry again later..."
    63 end 1
     71end 111
Note: See TracChangeset for help on using the changeset viewer.