Professional Web Applications Themes

procmail and vacation - Sun Solaris

In article <3efac72e$0$10836$3b214f66usenet.univie.ac.at> Martin Paul <martinpar.univie.ac.at> writes: >I'm using Solaris 9, sendmail 8.12.9, procmail 3.22 and Solaris' >vacation in /usr/bin/vacation. To enable vacation messages, I put >this into .procmailrc: > > :0c > | /usr/bin/vacation $LOGNAME > >This works find, but now and then I see a message like this in >procmail's $LOGFILE: > > procmail: Error while writing to "/usr/bin/vacation" But it still works, doesn't it? I think the only effect is that if this had been a "delivering" recipe, procmail wouldn't consider it as having done delivery, but continue through the procmailrc after "recovering" - with a copying ...

  1. #1

    Default Re: procmail and vacation

    In article <3efac72e$0$10836$3b214f66usenet.univie.ac.at> Martin Paul
    <martinpar.univie.ac.at> writes:
    >I'm using Solaris 9, sendmail 8.12.9, procmail 3.22 and Solaris'
    >vacation in /usr/bin/vacation. To enable vacation messages, I put
    >this into .procmailrc:
    >
    > :0c
    > | /usr/bin/vacation $LOGNAME
    >
    >This works find, but now and then I see a message like this in
    >procmail's $LOGFILE:
    >
    > procmail: Error while writing to "/usr/bin/vacation"
    But it still works, doesn't it? I think the only effect is that if this
    had been a "delivering" recipe, procmail wouldn't consider it as having
    done delivery, but continue through the procmailrc after "recovering" -
    with a copying recipe, it's purely an informational message (and
    vacation should be happy and do its job).
    >Use the "i" option in procmail to ignore the errors. It seems
    >to work (supress the error message), but doesn't give me a
    >warm feeling (what if other, real errors happen and don't
    >show up in the logfile later ?).
    According to the docs, the only error it ignores is the one you're
    getting - e.g. it wouldn't ignore the error of the vacation binary not
    being present or not executable - and given that the error doesn't have
    any effect, why worry.

    --Per Hedeland
    [email]perhedeland.org[/email]
    Per Hedeland Guest

  2. #2

    Default Re: procmail and vacation

    Per Hedeland <perhedeland.org> wrote:
    > Martin Paul <martinpar.univie.ac.at> writes:
    >> procmail: Error while writing to "/usr/bin/vacation"
    >
    > But it still works, doesn't it?
    Yes.
    > I think the only effect is that if this
    > had been a "delivering" recipe, procmail wouldn't consider it as having
    > done delivery, but continue through the procmailrc after "recovering" -
    I see, so it's not going to be a problem for me, as the vacation recipe
    will always be a copying recipe. Everything else doesn't make sense.
    > According to the docs, the only error it ignores is the one you're
    > getting - e.g. it wouldn't ignore the error of the vacation binary not
    > being present or not executable - and given that the error doesn't have
    > any effect, why worry.
    I guess I agree on that, and will take this route. Thanks for your answer.

    Sun should still fix their vacation program, to eat the complete
    message before exiting, if only to be more compatible to sendmail's
    vacation.

    mp.
    --
    Martin Paul | Systems Administrator
    Institute for Software Science | [email]martinpar.univie.ac.at[/email]
    University of Vienna, Austria | [url]http://www.par.univie.ac.at/[/url]
    Martin Paul Guest

Similar Threads

  1. [procmail] [sed] [awk] cleaning up mail headers
    By Troy Piggins in forum Linux / Unix Administration
    Replies: 6
    Last Post: June 7th, 07:38 AM
  2. Procmail Problem
    By mat in forum Linux / Unix Administration
    Replies: 8
    Last Post: November 26th, 07:29 AM
  3. ProcMail with Perl and MailAudit
    By Pablo Fischer in forum PERL Beginners
    Replies: 0
    Last Post: August 31st, 01:21 AM
  4. Procmail partially working
    By J. Zidar in forum Debian
    Replies: 5
    Last Post: August 7th, 02:50 PM
  5. Spamassassin and procmail
    By Antony Gelberg in forum Debian
    Replies: 8
    Last Post: August 4th, 09:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139