Re: procmail problem...2000-12-06 19:47:05I have a feeling it isn't even getting to procmail...I tried an experement...I set the console in procmail's config.h to /tmp/console which was world writable (so other users would have no problems), and "tail -f"'ed it. I tested the new config, and there was no output to the console file. I also tried various m4 files with and without the mailer(local)dnl line. NO dice on any of them...I wonder if there is a sendmail -d flag that will help. I looked in the big book and it appears that nothing in there helps... What m4 file do you use, maybe I can look at yours.... Scott On Wed, 6 Dec 2000, D E Hammond wrote: Well it's not that I'm unwilling to look at the conf file, it's just not likely to do any good. I just set sendmail up for myself (other than local delivery only) for the first time a couple of months ago. I'm anything *but* an expert. I was just taking a flyer that maybe that was the problem. FWIW, there's nothing that sticks out in the m4 stuff below. Except... I have both the procmail mailer defined, i.e. MAILER(`procmail') and FEATURE(`local_procmail'). You seem to have the local_procmail feature without the mailer. Seems to me you'd have to have the mailer to use the feature (although the documentation does say the feature needs to be listed first). But, again I'm no expert. Also, local_procmail uses LOCAL_MAILER_ARGS not PROCMAIL_MAILER_FLAGS. You don't have either from what you've shown here, but the default LOCAL_MAILER_ARGS according to the docs are "mail -d $u". Mine says "define(`LOCAL_MAILER_ARGS', `procmail -a $h -d $u'). So a slightly-educated guess is you're never getting to procmail. But I'm ready for anyone to tell me how little I really know. Of course, it's also possible that these "missing" definitions are included from another m4 file, and not the one you've shown. My procmail mailer definition and local_procmail feature come from two different m4 files. Is the "Operating System Error" error in the system log or procmail log. I'd try setting LOG="something,anything" at the top of your first procmail rc file, send a test message, and check the procmail log to see if it's even being invoked. Hope something here might help. Don On 6 Dec, Scott Savarese wrote: | I don't think so...Sendmail is running as root, and the line is left | commented out... | | If you want, I can send my entire sendmail conf file to you...Due to its | length, I don't really want to send it to the list...However here is the | m4 file used to create the cf file... | | Thanks, | Scott | | -----start m4 file | divert(-1) | #removed comments from here... | divert(0)dnl | VERSIONID(`$Id: generic-solaris2.mc,v 8.11 1999/02/07 07:26:03 gshapiro Exp $') | OSTYPE(solaris2)dnl | DOMAIN(generic)dnl | define( `ALIAS_FILE', `/etc/mail/aliases, /etc/mail/listaliases, /etc/mail/ministeraliases' ) | define( `confMIN_FREE_BLOCKS', `1000' ) | define( `confMAX_MESSAGE_SIZE', `10000000' ) | define( `confQUEUE_LA', 5 ) | define( `confREFUSE_LA', 6 ) | define( `confTO_QUEUERETURN', `1d' ) | define( `confFROM_LINE', `From $g $d' ) | define( `confPRIVACY_FLAGS', `needmailhelo,noexpn,noetrn,noverb,authwarnings' ) | define( `confME_TOO', `true' ) | define( `confCW_FILE', `/etc/mail/domains' ) | define( `confDONT_INIT_GROUPS', `True' ) | DAEMON_OPTIONS( `Name=MTA' ) | FEATURE( local_procmail, `/usr/local/bin/procmail' ) | FEATURE(redirect) | FEATURE(use_cw_file) | FEATURE(nouucp, reject) | FEATURE(relay_entire_domain) | FEATURE(virtusertable, `hash -o /etc/mail/virtusers') | FEATURE(access_db, `hash -o /etc/mail/access') | MAILER(local)dnl | MAILER(smtp)dnl | -----end m4 file | | On Wed, 6 Dec 2000, D E Hammond wrote: | | > Just a guess, but searching sendmail.org for "Operating System Error" | > yields the following from the 8.9.1 release notes: | > | > Mail delivery to files would fail with an Operating System Error | > if sendmail was not running as root, i.e. RunAsUser was set. | > | > I would take that to mean if you're using sendmail prior to 8.9.1, and | > trying to run it as non-root (something like: "#O RunAsUser=sendmail" | > in the *.cf file, but uncommented), it will produce this error message. | > | > [I'm leaving the whole thread intact below (as much as I loathe that), | > so someone else, who may not be following closely, will be able to help | > if this isn't it.] | > | > [...] _______________________________________________ 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
|
|