Re: [Tutor] Formatting text file with python

2018-02-07 Thread Alan Gauld via Tutor
On 06/02/18 21:07, Hüseyin Ertuğrul wrote: > "hMailServer SpamProtection rejected RCPT (Sender: > valeria0...@mikelsonconstruction.com, IP:187.62.63.218, Reason: Rejected by > Spamhaus.)" > "hMailServer SpamProtection rejected RCPT (Sender: veronika07...@etb.net.co, > IP:190.25.189.74, Reason:

[Tutor] Formatting text file with python

2018-02-07 Thread Hüseyin Ertuğrul
Hello friends, I want to format the log (text) file my email's server. The text file (named s1.txt) contains the following information, text file has about 3000 lines. "hMailServer SpamProtection rejected RCPT (Sender: valeria0...@mikelsonconstruction.com, IP:187.62.63.218, Reason: Rejected by