Server IP : 85.214.239.14 / Your IP : 3.142.197.111 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/2/cwd/proc/3/root/usr/share/doc/procmail/examples/ |
Upload File : |
divert(-1) # Copyright 2001, Philip Guenther, The United States of America # # This file should be copied to the cf/feature directory of the # sendmail distribution. The following blurb is roughly what would # go in the list of FEATURES in the cf/README file: # # `local_procmail_lmtp # Use procmail as an LMTP capable local mailer. By using # LMTP for the connection between sendmail and procmail, # delivery to multiple recipients can be performed more # efficiently while still allowing a separate status code # for each recipient. With this feature, the local mailer # can make use of the "user+indicator@local.host" syntax; # normally the +indicator is just tossed, but by default # it is passed as the -a argument to procmail. # # This feature can take up to three arguments: # 1. Path to the mailer program # [default: PROCMAIL_MAILER_PATH or /usr/local/bin/procmail] # 2. Argument vector including name of the program # [default: procmail -Y -a $h -z] # 3. Flags for the mailer [default: PSXhmnz9] # # Empty arguments cause the defaults to be taken. # WARNING: This feature sets LOCAL_MAILER_FLAGS unconditionally, # i.e., without respecting any definitions in an OSTYPE setting.' # # This feature would probably be better implemented on top of the # local_lmtp or local_procmail features that are currently distributed, # but the following is known to work with Sendmail 8.11 divert(0) VERSIONID(`$Id: local_procmail_lmtp.m4,v 1.3 2001/09/11 04:45:48 guenther Exp $') divert(-1) define(`LOCAL_MAILER_PATH', ifelse(defn(`_ARG_'), `', ifdef(`PROCMAIL_MAILER_PATH', PROCMAIL_MAILER_PATH, `/usr/local/bin/procmail'), _ARG_)) define(`LOCAL_MAILER_ARGS', ifelse(len(X`'_ARG2_), `1', `procmail -Y -a $h -z', _ARG2_)) define(`LOCAL_MAILER_FLAGS', ifelse(len(X`'_ARG3_), `1', `PSXhmnz9', _ARG3_)) define(`LOCAL_MAILER_DSN_DIAGNOSTIC_CODE', `SMTP')