Procmail rule

2003-08-14 Thread Swapana Ghosh
Hi

Thanks for your reply...

First of all, does it make a difference?

In general, it has no difference. But demand is from
client...:-)
So client does not want that his maill will be in the
mail box as client-name@www.domain.com - he wants
*To address* in his mail box will be always shown as
client-name@domain.com

.Secondly, you'd probably just do a sed filter like
this:

:0fw
* ^To:[EMAIL PROTECTED]
| sed '[EMAIL PROTECTED][EMAIL PROTECTED]/'

I set this rule under the ~user/.procmailrc  file. But
i am seeing that if i sent forcefully from
user1@www.domain.com to user2@www.domain.com ,
then also  From /To both the addresses are changing to
domain.com . That means *To* checking , before the
sed is being failed

Thank.
-Swapna

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: Procmail rule

2003-08-14 Thread Matthew Carpenter
First of all, does it make a difference?

Secondly, you'd probably just do a sed filter like this:

:0fw
* ^To:[EMAIL PROTECTED]
| sed '[EMAIL PROTECTED][EMAIL PROTECTED]/'


I might be smoking crack and forgot something (or a simpler way to do this) but I'm 
sure it will be found out if so.  Hey, it's 3:48am here!  :)


On Sat, 9 Aug 2003 11:59:31 -0700 (PDT)
Swapana Ghosh [EMAIL PROTECTED] wrote:

 Hi 
 
 Though it is really a silly qs but as i have
 not written the procmail rules yet - so asking because
 i want to patch it to the production server.
 
 Some mails are coming to our mail inbox like 
  [ [EMAIL PROTECTED] ]
 
 when it is coming to inbox it is showing as full sting
 as  above . But i want to change it as 
 
   [EMAIL PROTECTED]
 
 So what is the rule i will write in the /etc/procmail
 file 
 Hints/any site relted to my requirement will be
 helpful.
 
 Thanks
 -Swapna
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 Linux-users mailing list
 [EMAIL PROTECTED]
 Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


-- 
Matthew Carpenter
[EMAIL PROTECTED]  http://www.eisgr.com/

Enterprise Information Systems
*Network Consulting, Integration  Support
*Web Development and E-Business
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Procmail rule

2003-08-14 Thread Swapana Ghosh
Hi 

Though it is really a silly qs but as i have
not written the procmail rules yet - so asking because
i want to patch it to the production server.

Some mails are coming to our mail inbox like 
 [ [EMAIL PROTECTED] ]

when it is coming to inbox it is showing as full sting
as  above . But i want to change it as 

  [EMAIL PROTECTED]

So what is the rule i will write in the /etc/procmail
file 
Hints/any site relted to my requirement will be
helpful.

Thanks
-Swapna

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users