Hi,
this is what I am trying to achieve. I want to configure my smtp server
such that, if a user wants to send a mail to [EMAIL PROTECTED], they should
send a mail whose recipient must be [EMAIL PROTECTED] the
subdomains can be many in number, not fixed...like
[EMAIL PROTECTED] the smtp server should collect all such mail
into one single mailbox, it should accept the mail because mydomain.com
is appended at the end of the recipient. There is a script that logs
into to the account, and processes the mail, logs the mail into MySQL,
and strips off mydomain.com from the recipient address and resends the
mail to the original recipient i.e [EMAIL PROTECTED]

I wanted to add rules to LOCAL_RULESET_0. I don't know if it is the
correct method. I was thinking that the LHS could be

R$* < $+ @ $* .$m > $*          RHS

meaning 0 or more tokens followed by < followed by one or more tokens
followed by @ then zero or more tokens followed by .mydomain.com ($m)
followed by > and then zero or more tokens. i think this rule LHS should
resolve to XYZ < [EMAIL PROTECTED] > ...

How can I write the RHS so that all mail matching the LHS goes into a
single mailbox and should this rule terminate and prevent checking of
other rules?

Can anyone direct me in this matter?
thanks
regards
rahul

-- 
---------------------------------------------------
                the bug stops here
---------------------------------------------------


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to