procmail and vacation

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Re: procmail and vacation

    In article <3efac72e$0$10836$3b214f66@usenet.univie.ac.at> Martin Paul
    <martin@par.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]per@hedeland.org[/email]
    Per Hedeland Guest

  2. Similar Questions and Discussions

    1. Procmail Problem
      Hi all, I am sorry if this is not the right forum for this sort of question, it seemed the best match from the forums I had on offer. Hopefully I...
    2. Going on vacation
      Hi folks! I'll be off for a few days, untill next Wednesday. We're heading for New Brunswick. I'll make to bring the cam and get back home with...
    3. ProcMail with Perl and MailAudit
      Hi! I found a website that explains how to parse the mails with procmail and MailAudit (procmail filter send each message that arrives to my perl...
    4. Spamassassin and procmail
      Hi all, I currently use fetchmail and procmail to get and sort my mail. I'd like to use spamassassin as well, however when I add :0fw:...
    5. Procmail partially working
      I have setup fetchmail to get my mail from my two pop3 accounts and to be then processed by procmail. Mail is then processed by Spamassassin,...
  3. #2

    Default Re: procmail and vacation

    Per Hedeland <per@hedeland.org> wrote:
    > Martin Paul <martin@par.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]martin@par.univie.ac.at[/email]
    University of Vienna, Austria | [url]http://www.par.univie.ac.at/[/url]
    Martin Paul Guest

Posting Permissions

  • You may not post new threads
  • You may 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