procmail
[Top] [All Lists]

Re: Wierd formatting

2003-02-25 19:09:19
On Tue, 25 Feb 2003, Professional Software Engineering wrote:

Is there some way I can get procmail to deal with this?

You'd have to know what is different between the messages before and the 
messages now.  Once you isolate that, report what needs to be transformed, 
and we can see what we can do for you.  If it it indeed some sort of 
transformation of the message, then yea, it should be doable in procmail.

You need to isolate the _problem_ in order to arrive at a solution.

It looks like all the linebreaks are disappearing...
Basically, the text will go from something like:

cbos#show nat

NAT is currently enabled

Port      Network        Global
eth0      Inside
wan0-0    Outside      123.456.789.55
vip0      Outside
vip1      Outside
vip2      Outside

      Local IP : Port      Global IP : Port      Timer Flags    Proto 
Interface
       10.0.0.2:3389            *****:3389         0   0x02041  ***   eth0
       10.0.0.4:3525            *****:10000    22010   0x00046  tcp   eth0
       10.0.0.4:3523            *****:10002    22010   0x00046  tcp   eth0
       10.0.0.4:3524            *****:10003    22010   0x00046  tcp   eth0
       10.0.0.4:3525            *****:10000    22010   0x04046  tcp   eth0
       10.0.0.3:1482            *****:10004    22010   0x00046  tcp   eth0
       10.0.0.4:3522            *****:10005    22010   0x00046  tcp   eth0
       10.0.0.3:1482            *****:10004    22010   0x04046  tcp   eth0
       10.0.0.4:3523            *****:10002    22010   0x04046  tcp   eth0
       10.0.0.4:3524            *****:10003    22010   0x04046  tcp   eth0
       10.0.0.4:3525            *****:10000    22010   0x04046  tcp   eth0
       10.0.0.3:1482   123.456.789.55:10004    22010   0x04366  tcp   eth0 
wan0-0
       10.0.0.4:3526   123.456.789.55:10006    22010   0x00366  tcp   eth0 
wan0-0
       10.0.0.4:3527   123.456.789.55:10007    22070   0x00366  tcp   eth0 
wan0-0


To something like:

cbos#show nat  NAT is currently enabled Port      Network        Global 
eth0      Inside wan0-0    Outside      123.456.789.55 vip0      Outside 
vip1      Outside vip2      Outside      Local IP : Port      Global IP : 
Port      Timer Flags    Proto 
Interface       10.0.0.2:3389            *****:3389         0   0x02041  
***  eth0       10.0.0.4:3525            *****:10000    22010   0x00046  
tcp  eth0       10.0.0.4:3523            *****:10002    22010   0x00046  
tcp  eth0       10.0.0.4:3524            *****:10003    22010   0x00046  
tcp  eth0       10.0.0.4:3525            *****:10000    22010   0x04046  
tcp  eth0       10.0.0.3:1482            *****:10004    22010   0x00046  
tcp  eth0       10.0.0.4:3522            *****:10005    22010   0x00046  
tcp  eth0       10.0.0.3:1482            *****:10004    22010   0x04046  
tcp  eth0       10.0.0.4:3523            *****:10002    22010   0x04046  
tcp  eth0       10.0.0.4:3524            *****:10003    22010   0x04046  
tcp  eth0       10.0.0.4:3525            *****:10000    22010   0x04046  
tcp  eth0       10.0.0.3:1482   123.456.789.55:10004    22010   0x04366  
tcp  eth0 wan0-0       10.0.0.4:3526   123.456.789.55:10006    22010   
0x00366  tcp   
eth0  wan0-0       10.0.0.4:3527   123.456.789.55:10007    22070   0x00366  
tcp   eth0 wan0-0



-- 
Phuc Tram
Master Pivot - Wielder of the Coherent Light Bokken
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
pivot(_at_)CrystalTokyo(_dot_)com


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>