Ignore:
File:
1 edited

Legend:

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

    rc5c522c 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.