LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: "out of office" in sendmail?

[ILUG] Re: "out of office" in sendmail?

John Ronan j0n at tssg.wit.ie
Fri Nov 3 10:37:54 GMT 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

man vacation
[snip]


No message is sent if the `To:' or the `Cc:' line does not
       list the user to whom the original message was sent or one
       of a number of aliases for them, if the initial From  line
       includes  one  of the strings -request@, postmaster, uucp,
       mailer-daemon, mailer or -relay or if a `Precedence: bulk'
       or  `Precedence:  junk'  or  `Precedence:  list'  line  is
       included in the header. The search for special senders  is
       made case-independant.
[snip]

man procmailex
[snip]
 SHELL=/bin/sh    # for other shells, this might need adjustment

              :0 Whc: vacation.lock
               # Perform a quick check to see if the mail was addressed to us
              * $^To:.*\<$\LOGNAME\>
               # Don't reply to daemons and mailinglists
              * !^FROM_DAEMON
               # Mail loops are evil
              * !^X-Loop: your at own.mail.address
              | formail -rD 8192 vacation.cache

                :0 ehc         # if the name was not in the cache
                | (formail -rI"Precedence: junk" \
                     -A"X-Loop: your at own.mail.address" ; \
                   echo "I received your mail,"; \
                   echo "but I won't be back until Monday."; \
                   echo "-- "; cat $HOME/.signature \
                  ) | $SENDMAIL -oi -t
[snip]



On 03-Nov-00 Paul Scollon wrote:
> Yeah, I considered that. How do I stop it replying to mailing list mails? Or
> is the answer in the man and I'm just being impatient?

- -- 
John Ronan <j0n at tssg.wit.ie>, +353-51-302411
Telecommunications Software Systems Group - WIT, http://www.tssg.org

Things You Don't Want To Hear When Lying On The Operating Table   
"Ya know, there's big money in kidneys.  Hell, the guy's got two of 
'em." 

=====================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjoClNAACgkQxRfcCNkPK4ulcQCgxoknEYydraK0mnX1kfi4Hvpn
5v8An0xo1yGAq/Xecy7jKoLAHVJJQPEL
=CTqQ
-----END PGP SIGNATURE-----




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell