procmail in v4 vs v5

Giorgos Keramidas keramida at
Fri Aug 26 21:38:09 GMT 2005

On 2005-08-26 13:01, "Brian W." <bri at> wrote:
>On Fri, 26 Aug 2005, Giorgos Keramidas wrote:
>>On 2005-08-26 12:36, "Brian W." <bri at> wrote:
>>>> Right.  Now, if it's not too much trouble to ask, please run the
>>>> following commands and show me the output.  You don't have to be
>>>> root when these are run:
>>>>	# cd /etc/mail
>>>>	# diff -u `hostname`.mc
>>>>	# cat
>>>>	# ls -ld /usr/local/bin/procmail
>>> ok, my listing shiows different filenames.
>> Yes, yes.  Pardon the mindslip.  I was sitting on a Solaris machine and
>> forgot we call our template file ``''.
>>> > pwd
>>> /etc/mail
>>> > ls
>>> Makefile                    mailertable.sample
>>> README               relay-domains
>>> access.sample 
>>> aliases                 helpfile      
>>> aliases.db              local-host-names        virtusertable.sample
>>>              mailer.conf
>> I don't see a `hostname`.mc file here :-/
>>> > ls -ld /usr/local/bin/procmail
>>> -rwsr-sr-x  1 root  mail  76828 Aug  1 04:22 /usr/local/bin/procmail
>>>This is a box that went right from 5.3 release to 5-stable.

Nothing weird here.  My procmail executable even has the same size :-)

>> It seems you have no local `hostname`.mc file, so you probably lost some
>> changes in the mergemaster run of the update.  Can you check out the
>> differences of your ``/etc/mail/'' file and the one that is
>> part of the source tree, at ``/usr/src/etc/sendmail/'' ?
> No difference sir..

If we assume that you did generate your current from the
source version of, then this looks a lot like a procmail
ruleset problem.  I'll take another good look at your procmail rules,
but in the mean time can you try with a minimal .procmailrc and see
if this unbreaks it all?

	$ cd
	$ cp .procmailrcA dot.procmailrc~
	$ echo 'DEFAULT="$HOME/Mailbox"' > .procmailrc

If that works, then we are certain that the old rules are broken.

More information about the freebsd-questions mailing list