> >one thing i've thought would be useful since people mail from
> >many places with many names is a translation from a set of from
> >addresses to a mailbox name so that, e.g. the ned f command doesn't
> >end up creating a bunch of folders for the same person.
> >  
> >
> I'll consider that when I get round to pipeto

that has nothing to do with pipeto.  it would be a big mistake
to modify the sender in an email!  the dread libcommon needs
modification.

little known fact:  mail quanstro/folder will deliver directly to
folder rather than inbox.  many email gateways dislike this,
so you can rewrite
\l\.quanstro.net!([^+]+)\+([^+]+)       alias           \1/\2

if you're using nupas, which is a good idea if you have an internet-
facing smtpd, i'll consider patches.  but i'm a little leery of adding
yet more complicated rules for frobnication of the sent message.
does your script work with mail sent through the imap server?

since you set upasname, marshal already tries to add
/mail/box/upasname/headers, this already solves all of your problem
except setting upasname automaticly.

finally, the reason your To: address did get rewritten is that send, which
is invoked by marshal does yet more rewriting of the from,

- erik

Reply via email to