Ignore:
File:
1 edited

Legend:

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

    r402b138 rc5c522c  
    1515}
    1616
    17 # some kind of ldap problem, try again later
    18 id "Administrator" >/dev/null || end 111
    19 
    20 #does the user exists?
    21 if ! 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
    27 fi
     17#check if user exists or fail permanent
     18#(id will generate a nice error message)
     19id "$USER" >/dev/null || end 100
    2820
    2921#store mail temporary
     
    6961#no backend mailstorage up, so fail temporary
    7062echo "All mailbackends are down, retry again later..."
    71 end 111
     63end 1
Note: See TracChangeset for help on using the changeset viewer.