silvietta
2008-01-21 17:17:37 UTC
Hello you all,
I manage my company e-mail servers and I've a little problem, better a
little question, about dotqmail.
If I have my e-mail address, say ***@mycompany.it and I want to use
an alias, say ***@mycompany.it, I have just to create a
dotqmail file, say .qmail-silvietta, writing in it just
***@mycompany.it to get on silvia account any e-mail sento to
silvietta.
But if I want forwarded only some e-mail, say only e-mail from
***@myserver.mycompany.it, how can I do? I've found on the internet
that is possible to insert | statemets in qmail (http://
www.giunchi.net/wp-content/uploads/qmail-howto-3.html) so my question
is:
is it possible to have a,say, .qmail-silvia containing something like
"| /home/silvia/redirect " where redirect is a shell script in which I
tell to read the FROM field (with a cat or something else) and if it
contains the word "root" to redirect the e-mail to an external address
(like ***@external.com)?
Thank you in advance and best regards,
Silvia Z.
I manage my company e-mail servers and I've a little problem, better a
little question, about dotqmail.
If I have my e-mail address, say ***@mycompany.it and I want to use
an alias, say ***@mycompany.it, I have just to create a
dotqmail file, say .qmail-silvietta, writing in it just
***@mycompany.it to get on silvia account any e-mail sento to
silvietta.
But if I want forwarded only some e-mail, say only e-mail from
***@myserver.mycompany.it, how can I do? I've found on the internet
that is possible to insert | statemets in qmail (http://
www.giunchi.net/wp-content/uploads/qmail-howto-3.html) so my question
is:
is it possible to have a,say, .qmail-silvia containing something like
"| /home/silvia/redirect " where redirect is a shell script in which I
tell to read the FROM field (with a cat or something else) and if it
contains the word "root" to redirect the e-mail to an external address
(like ***@external.com)?
Thank you in advance and best regards,
Silvia Z.