[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aliases problem



On Mon, Jun 28, 2004 at 09:32:38PM +0400, Eugene Crosser wrote:
> That's why I've been using a small patch to allow Smail3-style
> "real-username" syntax instead of troublesome "\username" for many
> years...  Somewhere around line 850 in proto/cf/aliases.cf:
> 
> # check for "real-userid" and deliver locally bypassing aliasing
>        ssift "$user" in
>        real-(.*) db add expansions "$key" local
>                return (((local \1$plustail$domain \1$plustail$domain $attr))) ;;
>        tfiss

I incorporated this into aliases.cf,  but also worked on
the successfull recognition of   \realuserid   syntax.
Unfortunately there still lurks strict RFC-822 syntax processing,
which dislikes non-quoted backslash:
  bad:    \realuserid
  ok:    "\realuserid"

This does mean, that things do work as documented, but not
the exact same way as with sendmail's  .forward  files..

Indeed there is a builtin  "if the line begins with \,  do replace
it with space"  processing rule used in 'run_listexpand()' function,
which does result in bitbucketing the address...


> On Fri, 2004-06-25 at 02:51 +0300, Matti Aarnio wrote:
> > On Thu, Jun 24, 2004 at 04:34:36PM -0400, Peter Ip wrote:
> > > I'm trying to get vacation working in aliases in 2.99.56. I followed the
> > > instructions on the manpage and put in an entry like:
> > > 
> > > peter:	"\peter", "/usr/local/lib/mail/vacation peter"

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi