procmail
[Top] [All Lists]

Re: Fw: First time installation, help please.

2002-01-29 15:51:54
Guys,

I have some serious configuring to do. Can you please point me in the right
direction, which files to edit create, thanks. See output of command below:


# procdiag run at Wed Jan 30 09:44:29 EST 2002

# general account information:
USER:  (root)
GROUPS: root
SHELL: /bin/bash
MAIL:
hostname: server ()
FQDN: server.sentrum.net.au
HOME: /root

# user info from /etc/passwd (password is masked):

# system identifiers (if discernible):
OSTYPE: Linux
MACHTYPE:
UNAME: Linux server.sentrum.net.au 2.4.2 #4 SMP Mon Dec 3 23:59:17 EST 2001
i686 unknown

# The current shell path is (not to be confused with the MTA-defined path):
PATH: /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin

# formail and procmail information (as per versions in the current path):
0555  1 root     root       27452 Fri Apr 27 06:19:52 2001 /usr/bin/formail
formail v3.15 2000/08/25

0555  1 root     root       66712 Fri Apr 27 06:19:52 2001 /usr/bin/procmail
procmail v3.15 2000/08/25
Locking strategies: dotlocking, flock()
Default rcfile:  $HOME/.procmailrc
Your system mailbox: /var/spool/mail/root

# various procmail configuration elements:
mailbox="/var/spool/mail/root"
mta="/usr/sbin/sendmail"
host="server.sentrum.net.au"
version="3.15"
linebuf="2048"
shell="/bin/bash"
path="/root:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin"
shellmetas="&|<>~;?*["

# usage banner from grep
Usage: grep [OPTION]... PATTERN [FILE]...
Try `grep --help' for more information.

# sed version or other identifier
0755  1 root     root       46208 Sat Apr 21 10:52:15 2001 /bin/sed
Command: /bin/sed
(in sed-3.02-4)

# sh info (intended to show whether sh is sh or a symlink to another shell)
lrwxrwxrwx   1 root     root            4 Nov 21 06:13 /bin/sh -> bash

# sendmail program information:
4555  1 root     root      495808 Fri Aug 24 17:38:36 2001
/usr/sbin/sendmail
Version 8.11.1
 Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NETINET
  NETUNIX NEWDB NIS QUEUE SASL SCANF SFIO SMTP STARTTLS USERDB

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = server
  (canonical domain name) $j = server.sentrum.net.au
         (subdomain name) $m = sentrum.net.au
              (node name) $k = server.sentrum.net.au
========================================================


# Determining Mlocal in sendmail.cf
NOTE: There is no /etc/sendmail.cf file.
In /etc/mail/sendmail.cf:
Mlocal,  P=/usr/sbin/mail.local, F=lsDFMAw5:/|@qPSXfmnz9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
  T=DNS/RFC822/SMTP,
  A=mail.local -l
NOTE: procmail doesn't appear to be the LDA

# contents of /root/.forward (if it exists)
NOTE: no /root/.forward

# file permissions and ownership:
NOTE: There is no /root/.procmailrc file.
NOTE: There is no /root/.forward file.
0755 14 root     root        1024 Mon Jan 28 20:07:20 2002 /root/
NOTE: There is no /etc/procmailrc file.
NOTE: There is no /etc/procmailrcs file.
0700  2 root     root        1024 Mon Nov 26 19:52:28 2001 /root/Mail/
NOTE: There is no /root/mail file.
NOTE: There is no /root/.procmail file.
0600  1 root     root     6479995 Wed Jan 30 05:05:55 2002
/var/spool/mail/root

# procdiag report end



----- Original Message -----
From: "Professional Software Engineering" 
<PSE-L(_at_)mail(_dot_)professional(_dot_)org>
To: <procmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE>
Sent: Wednesday, January 30, 2002 9:01 AM
Subject: Re: Fw: First time installation, help please.


At 08:22 2002-01-30 +1100, Timothy Kersten did say:
Can anyone help please?

Fetch, examine, then run:

         <http://www.professional.org/procmail/procdiag.sh>

What does it claim your Mlocal is?

Do you even have procmail installed, and if so, what version?  If not,
well, uh, you should get it and install it first.  Don't forget that there
is a FAQ as well.  Now, can you manage to invoke procmail locally with a
test script?

If your intent is to invoke procmail as the LDA, then MAILER(procmail)
isn't really necessary (it is useful if you need to invoke the mailer
selectively via mailertable).

As for whether you even need to set FEATURE(`local_procmail`), that has a
lot to do with what base OSTYPE setting you're importing.  A good start
with M4 configs is to get the generated config script to match what you're
already using, THEN add features.  If you haven't tweaked your sendmail
config in the past, this might not be the point at which you're starting,
and if you're ending up with a .cf file you can't use, that would be no
surprise.  Some OSTYPE configs actually define local_procmail by default.

Note that merely having procmail as the LDA won't magically place the mail
in $HOME/mbox.

OS and package versions are always important things to convey when asking
for assistance with configuration.

---
  Sean B. Straw / Professional Software Engineering

  Procmail disclaimer:
<http://www.professional.org/procmail/disclaimer.html>
  Please DO NOT carbon me on list replies.  I'll get my copy from the
list.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>