Thanks, Paul.

Can anyone suggest a manual method of testing just the procmail to dbmail
successfully, like a command I could use to pipe a test message from the
command line or a prepared text file to procmail, and watch procmail
correctly deliver it into dbmail-smtp?

This would eliminate sendmail from the picture, allow me to verify the
procmail to dbmail workings, then proceed from there.

Thank you,

- April

> April,
>
> Somehow, sendmail isnt passing the correct arguments to procmail. Therefor
> the
> mailer definition must be incorrect.
>
>  From the sendmail site I understand:
>
> - you don't want to override Mprocmail. Leave it at default. Of course you
> do
> want to enable this mailer so leave MAILER(procmail) in.
>
> - you simply set up a mailertable entry for the domain you want to deliver
> to
> dbmail via procmail:
>
> -------------/etc/mail/mailertable-----------------
> codelock.com  procmail:/etc/procmailrcs/codelock.com
> ---------------------------------------------------
> where /etc/procmailrcs/codelock.com contains:
>
> ------------/etc/procmailrcs/codelock.com----------
> VERBOSE=true
> LOGFILE=/tmp/procmail.log
>
> :0:
> * ^X-milter-siq-Report: pass=NO
> | /usr/sbin/dbmail-smtp -m Bulk -d "$2"
>
> :0:
> | /usr/sbin/dbmail-smtp -d "$2"
> ---------------------------------------------------
>
> This is really more a sendmail issue than dbmail. If the above doesn't
> help you
> should get support from a sendmail user, which I am not anymore.
>
>
>
>
>
> April Lorenzen wrote:
>> So far I haven't gotten procmail to deliver into dbmail - I get an error
>> about
>>
>> procmail: Couldn't determine implicit lockfile from
>> "/usr/sbin/dbmail-smtp"
>> procmail: Locking ".lock"
>> procmail: Executing "/usr/sbin/dbmail-smtp,-d,"
>> procmail: Non-zero exitcode (75) from "/usr/sbin/dbmail-smtp"
>> procmail: Assigning "LASTFOLDER=/usr/sbin/dbmail-smtp -d "
>> procmail: Assigning "PATH=/root/bin:/usr/local/bin:/usr/bin:/bin"
>>
>> I am wondering if the procmailrc line you suggested:
>>
>> | /usr/sbin/dbmail-smtp -m Bulk -d "$@"
>>
>> delivers to the Bulk folder under the user the message was addressed to
>> -
>> or to a system-wide Bulk folder. I need it to go to the individual
>> addressee bulk folder.
>>
>>
>>
>>>April Lorenzen wrote:
>>>
>>>>Using dbmail-pgsql, yesterday's debian pkg :)
>>>>
>>>>Sendmail inserts and anti-spam header into my inbound mail
>>>> like this:
>>>>
>>>>X-milter-siq-Report: pass=YES
>>>>
>>>>or
>>>>
>>>>X-milter-siq-Report: pass=NO
>>>>
>>>>I would like to use the simplest method to cause mail
>>>> with a pass=NO to be stored in the dbmail tables so
>>>> that it will appear in an IMAP folder named "bulk"
>>>>while the pass=YES mail goes as usual to the inbox folder.
>>>
>>>
>>>
>>>>3. add another program between sendmail and dbmail - not
>>>> sure how this would help unless LMTP makes it possible to
>>>>insert to a particular folder and SMTP doesn't. (sounds silly)
>>>
>>>By inserting procmail between sendmail and dbmail you can achieve this
>>>easily.
>>>You'll have to use dbmail-smtp for this though.
>>>
>>>in /etc/procmailrc
>>>
>>>----
>>>VERBOSE=true
>>>LOGFILE=/tmp/procmail.log
>>>
>>>:0:
>>>* ^X-milter-siq-Report: pass=NO
>>>| /usr/sbin/dbmail-smtp -m Bulk -d "$@"
>>>
>>>:0:
>>>| /usr/sbin/dbmail-smtp -d "$@"
>>>
>>>----
>>>
>>>
>>>This assumes a mailer setup along the lines of:
>>>
>>>Mprocmail, P=/usr/bin/procmail, F=mSDFMhun, S=11, R=21,
>>>                       A=procmail -m /etc/procmailrc $u
>>>
>>>
>>>
>>>--
>>>   ________________________________________________________________
>>>   Paul Stevens                                         [EMAIL PROTECTED]
>>>   NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
>>>   The Netherlands_______________________________________www.nfg.nl
>>>
>>
>>
>>
>> _______________________________________________
>> Dbmail mailing list
>> Dbmail@dbmail.org
>> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>>
>
> --
>    ________________________________________________________________
>    Paul Stevens                                         [EMAIL PROTECTED]
>    NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
>    The Netherlands_______________________________________www.nfg.nl
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>


Reply via email to