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
>


Reply via email to