furrbear: (FreeBSD Daemon)
[personal profile] furrbear
*head* *desk* *head* *desk* *head* *desk* *head* *desk* *head* *desk*

Another project I've been working on is an email robot. I fixed all the flaws from it being
very old code, using very old versions. But testing is driving me nuts.

If it is invoked via the mail aliases, the GPGme library returns an "Invalid engine"
error.

Here's the entry from etc/mail/aliases:
rosie: /home/rosie/rosie-log, "|/home/rosie/rosie-wrapper"
That chokes.

*BUT*

rosie@yogi:~$ cat /home/rosie/rosie-log | /home/rosie/rosie-wrapper
works fine and mails me the results I expect.

Date: 2008-03-15 06:40 pm (UTC)
From: [identity profile] tmaher.livejournal.com
This is sendmail, not postfix, right?

The error you're getting makes me think there's some environment variable or something that's present for the rosie user, but not for sendmail.

su -l (or whatever the less-privliged sendmail user is) and see if piping stuff through rosie-wrapper still works.

Alternatively, strip down the alias listing to just the pipe to rosie-wrapper and see if that makes a difference.

Profile

furrbear: (Default)
furrbear

May 2013

S M T W T F S
   12 34
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 12th, 2025 08:04 am
Powered by Dreamwidth Studios