tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* procmail setup
@ 1999-02-05 21:29 Kevin Maguire
  0 siblings, 0 replies; only message in thread
From: Kevin Maguire @ 1999-02-05 21:29 UTC (permalink / raw)
  To: tru64-unix-managers

Hi

I am trying to configure procmail on my DUnix 4.0E system.  I
understand this has newer version of sendmail than earlier releases of
the OS to overcome some security/spam problems.

I compiled and installed procmail.  I then followed the procedure
given in:

ftp://rtfm.mit.edu/pub/usenet/news.answers/mail/filtering-faq

for setting up .forward, .procmailrc, etc.

When I placed the .forward file in place I sent myself a test message.
The following appeared in the
/var/adm/syslog.dated/05-Feb-13:51/mail.log

Feb  5 20:44:03 tca1 sendmail[1593]: UAA0000002131: to="|IFS=' ' && exec /usr/local/bin/procmail -f- || exit 75 #kcm", delay=00:00:01, xdelay=00:00:01, mailer=smtpr, relay=mail.dl.ac.uk. [148.79.160.65], stat=Data format error
Feb  5 20:44:03 tca1 sendmail[1593]: UAA0000002131: UAA0000001593: postmaster notify: Data format error

root received a mail regarding this failure, which included:

"Cannot mail directly to programs."

Looking at the FAQ which comes with procmail.

---
14. When sending mail to someone with procmail in his/her .forward I sometimes
    get back an error saying: "Cannot mail directly to programs."

        This is a known bug in some older sendmails that mistakenly drop
        their root privileges when they are given the -t flag.  Either
        make sure that your sendmail always forwards to a mailserver first or
        upgrade to sendmail 6.x or later.
---

Since I am way past sendmail 6.x and don't want my incoming mail to be
held on the server, I am looking for suggestions.  Note I am only
really interested in setting things up so *I* can use procmail, not a
general system-wide solution.

I setup e-mail with mailsetup, I can send anyone my sendmail.cf file
if they really want it.  The setup is that incoming and outgoing mail
must go via a mailserver.  At the server outgoing mail strips the user
id (kcm in my case) and replaces it with a canonical address.
Incoming mail is either held there, the usual story, or in other cases
forwarded to the appropriate workstation.  Mostly it works well.

I will summarise.

Cheers
Kevin
-- 
             ___________________________________________________
   /\___/\   | Kevin Maguire                    DisCo Support  |
   | o o |   | DCI                  CLRC Daresbury Laboratory  |
  __\_^_/__  | e-mail:                     K.Maguire@dl.ac.uk  |
 (__/   \__) | Tel: 01925 603221            Fax: 01925 603634  |
  _|  :  |_  |     -     -     -     -     -     -     -       |
 (__\___/__) |__  http://www.dci.clrc.ac.uk/Activity/DISCO  ___|

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-05 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-05 21:29 procmail setup Kevin Maguire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox