Ignore:
Timestamp:
09/26/17 13:30:36 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
07ead96
Parents:
9ec1a22 (diff), c6da4cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'gcc484'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/mailserver/netqmail/syn3-dagent

    r9ec1a22 r2758a4b  
    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.