Anzej Becan wrote:
>
> > > I would like to catch multiple mails of standard form...
> > > [EMAIL PROTECTED]
> > > ...
> > > [EMAIL PROTECTED]
> > > into one mailbox [EMAIL PROTECTED]
>
> > Yes. Make mydomain.net a virtual domain. For instance:
> > In /var/qmail/control/virtualdomains :
> > mydomain.net:mydomain
> > And in ~mydomain/.qmail-default :
> > ./Maildir/
>
> Ronny thanks for your reply, but your solution doesn't suit my requirements
> because I'm not admin of the host and acc [EMAIL PROTECTED] already exist.
Then what you ask cannot be done exactly. However, you can catch
all of the mail to anzej-*@mydomain.net very simply:
echo "<otheruser>" > ~anzej/.qmail-default
or, if you only want addresses like [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]:
for n in 100 101 102; do echo "<otheruser>" > ~anzej/.qmail-mail$n; done
(there's probably a much better way to do this)
Users are not allowed to take over or change the mail accounts
of other users, specifically because this would be a huge security
hole.
> Also the other emails should be delivered to other recipient on
> mydomain.net.
> I have only permission to create .qmail-xxx files with commands. Probably I
> should create perl script for filtering emails. Can someone advise me some
> examples - major problem seems to me how to forward emails without parsing
> and sending them again - problem with attachemnts?
>
> Sorry for annoying!
>
> Anzej
--
NEEDHAM'S ELECTRONICS
Device Programmers
(916) 924-8037 (Voice)
http://www.needhams.com