[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] Couldn't determine implicit lockfile



The original poster (sorry, don't remember who it was) followed up with a correction to a typographical error in the recipe. I believe the erroneous last line:

:/usr/sbin/sendmail

is supposed to start with a pipe instead of a colon:

|/usr/sbin/sendmail

That's probably the correction you needed. I'm pretty sure the change you made (removing the colon after the zero) is not what you wanted.

Be seeing you...
--Lang

Andy McKell, FOCUS Internet wrote:

Solved

This caused problems:-

:0:sendmail.lock
* ... conditions here
:/usr/sbin/sendmail


Like this...

procmail: Skipped "/usr/sbin/sendmail"
procmail: Skipped "H:sendmail.lock"


I had...

:0:
* conditions
!nouser


I removed the ":" after :0 and it now works fine.

Thanks for the suggestions

Andy




At 01:05 PM 12/3/2004 -0700, you wrote:

You can specifically name a lock file on the :0 line.  Normally,
procmail guesses, but if it can't figure it out, you need to tell it by
adding a lock file with :lockfile.

Ex:

:0:sendmail.lock
* ... conditions here
:/usr/sbin/sendmail

That should get rid of any warnings.


So I should start every recipe with :0:sendmail.lock and end it with :/usr/sbin/sendmail
I'll try it

Thanks
Andy





        --Bruce

P.S. The man procmailrc entry snippet:

       A  line starting with ':' marks the beginning of a recipe.
       It has the following format:

              :0 [flags] [ : [locallockfile] ]
              <zero or more conditions (one per line)>
              <exactly one action line>

On Thu, 2004-12-02 at 00:37 +0100, Andy McKell, FOCUS Internet wrote:
> Hi
>
> Could anyone suggest what's causing the error message in /var/log/procmail.log?
>
> >procmail: Couldn't determine implicit lockfile from "/usr/sbin/sendmail"
>
>
> Thanks for any help
> Andy McKell
>
>
>
> --------------------------------------------------------------------
> PROTEUS - new anti-spam, anti-virus solution
> www.proteus.lu
>
> FOCUS Internet Services
> Domains, Design, Hosting, Custom Applications, E-Commerce
> 106 rue de Mersch, L-8181 KOPSTAL, Luxembourg
> tel. (+352) 305 197
> fax (+352) 305 188
> www.focus.lu
--
Bruce Armstrong <bruce@xxxxxxxxxxxxxxxxxxxxx>

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.804 / Virus Database: 546 - Release Date: 11/30/2004


--------------------------------------------------------------------
PROTEUS - new anti-spam, anti-virus solution
www.proteus.lu

FOCUS Internet Services
Domains, Design, Hosting, Custom Applications, E-Commerce
106 rue de Mersch, L-8181 KOPSTAL, Luxembourg
tel. (+352) 305 197
fax (+352) 305 188
www.focus.lu

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).


Main Index | Thread Index
Match: Format: Sort by:
Search: