Thanks Paul, yes, it is the stable 2.0.x series, sorry for the confusion.
IF I run query on the database, it returns "| /path/to/script"
So according to your mail, I'm doing it right. Hmmm.. FYI, I also have email
forwards in the style of alias="[EMAIL PROTECTED]" deliver_to="
[EMAIL PROTECTED]" which doesn't work either..
I Verified it's getting to lmtpd, and doesn't get sent back to sendmail,
lmtpd rejects it as an invalid incoming address, probably the same issue as
my pipe thing.
-Micah
On 8/27/05, Paul J Stevens <[EMAIL PROTECTED]> wrote:
>
> Micah Stevens wrote:
> > Hi,
> >
> > Just upgraded to 2.x.. kind of a chore, but I now have it working with
> > postfix for local delivery via lmtp -> mysql..
>
> Would that be 2.1.2 or 2.0.6?? You better be installing 2.0.6!
>
> >
> > But now I'd like to pipe some aliases to a maillist script I wrote.. in
> > 1.x I could just put a | /path/to/script in the deliver_to field in the
> > alias table, the alias in the alias field. Worked great.. same thing
> > isn't working for me anymore..
>
> It still works.
>
> > Aug 26 19:56:44 plain dbmail/lmtpd[25923]: dbmysql.c,db_query: executing
> > query [SELECT deliver_to FROM dbmail_aliases WHERE lower(alias) =
> > lower('[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>') AND lower(alias) <>
> > lower(deliver_to)]
> >
> > Aug 26 19:56:44 plain dbmail/lmtpd[25923]:
> > authsql.c,auth_check_user_ext: user [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> not in aliases table
>
> So why do you think this address *should* be accepted? What does your
> database
> have to say about this address?
>
> Anyway, you need something like:
>
> alias | deliver_to
> ----------+-----------
> [EMAIL PROTECTED] | "|/path/to/script"
>
> in your dbmail_aliases table.
>
> --
> ________________________________________________________________
> Paul Stevens mailto:[EMAIL PROTECTED]
> NET FACILITIES GROUP PGP: finger [EMAIL PROTECTED]
> The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>