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

Re: exim and pipe aliases?



On Wed, Jan 15, 2003 at 05:05:38PM -0500, Robert L. Harris wrote:

> I'm trying to create and alias as such:
> 
> robert-pager:   | /usr/local/bin/Pager.pl 6787586413

Quoting the right part of the alias should help:


robert-pager:   "| /usr/local/bin/Pager.pl 6787586413"


Please, as I'm not absolutely sure, verify the follwing in the exim
documentation (info exim):

Afair, exim understands your setting as to send mail that is addressed
to the 'robert-pager' alias to the three users '|',
'/usr/local/bin/Pager.pl' and '6787586413'. These users probably do
not exist, thus exim cannot determine their UIDs. The sender should
get an error message, telling him that his mail couldn't be delivered
because the users he sent it to do not exist. --- Running newaliases
is not neccessarily required.

BTW, what about users named '|' or '/usr/local/bin/Pager.pl'? Are such
usernames allowed? Does anyone know what MTAs are supposed to do when
they encounter such usernames (cd to /home/usr/local/bin/Pager.pl to
deliver the mail to the users mailbox ...)?

As an example, the following entries in /etc/aliases work fine for me
(needed for a mailing list I'm running):


# Aliases for 'xk-users' mailing list.
xk-users: "|/usr/lib/listar/listar -s xk-users"
xk-users-request: "|/usr/lib/listar/listar -r xk-users"
xk-users-repost: "|/usr/lib/listar/listar -a xk-users"
xk-users-admins: "|/usr/lib/listar/listar -admins xk-users"
xk-users-moderators: "|/usr/lib/listar/listar -moderators xk-users"
xk-users-bounce: "|/usr/lib/listar/listar -bounce xk-users"
xk-users-owner: lee@yun.yagibdah.de


GH
-- 
Flying in shared space, keep your vidcom open.



Reply to: