Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Sep 19, 2019 1:40 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Postfix Queue files and Email... Classes
PostPosted: Mon May 18, 2009 2:06 am 
Offline

Joined: Sun Jul 16, 2006 1:48 pm
Posts: 276
Location: Switzerland
Hi

I hope somebody can answer this :D
Is it possible to Process the Queuefiles of the Postfix Mailsystem with the E-mail-class Objects in RB ?

I got a Spam/Virus filtering System (Mailscanner) that stores Spam or Virus infected Mails as complete queue files.
If you open them in a Editor you got basically the complete Message with some special carracters...

thanks for your thoughts...


Top
 Profile  
Reply with quote  
 Post subject: Re: Postfix Queue files and Email... Classes
PostPosted: Mon May 25, 2009 6:47 pm 
Offline

Joined: Mon Oct 10, 2005 6:23 pm
Posts: 152
The file(s) are stored in the standard mailbox format the classes from my inspection are for TCP protocols SMTP, POP3 etc. You can have most MTAs deliver questionable mail to a specific mailbox then you may retrieve it using standard TCP mail protocols. This is not recommended it is considered very dangerous best to use read the file(s) directly in mailbox format.

_________________
Using: Linux Standard Edition,


Top
 Profile  
Reply with quote  
 Post subject: Re: Postfix Queue files and Email... Classes
PostPosted: Mon May 25, 2009 11:51 pm 
Offline

Joined: Sun Jul 16, 2006 1:48 pm
Posts: 276
Location: Switzerland
Quote:
...best to use read the file(s) directly in mailbox format.


Is there a way doing this in RB ?? I found out that i can fill in the message in a class if read it in through postcat. Which is the same as if i use pop3 or simillar, no ?
SO how can i process the files directly ? Would i need to read them binary or something ?


Top
 Profile  
Reply with quote  
 Post subject: Re: Postfix Queue files and Email... Classes
PostPosted: Tue May 26, 2009 12:54 pm 
Offline

Joined: Mon Oct 10, 2005 6:23 pm
Posts: 152
I have seen Postcat used in several situation and it was very useful. The key here is to utilize a program(s) without any implicit processing. Perl developers seem to favor processing the files in a user mailbox (~/MailDir) as root since each file is a individual message it is simple. I personally have the MTA deliver all messages to a specific account then do all my processing via the mailbox (~/MailDir). This is more of personal preference than anything.

As usual your mileage may vary,
Kevin

_________________
Using: Linux Standard Edition,


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group