spam - WeOnlyDo Discussion board

spam (General questions)

by tarun, Tuesday, September 16, 2008, 10:59 (5912 days ago)

Thanks for quick reply,

1)
That means i have to check whole mail body against the word which is in spam list and if it found than i have to change SUBJECT of mail.is this correct?

2)
for domain blacklist and email blacklist, i have to check received mail's domain and email against our blacklisted domain amd email and if i found than i have to deny that message in MailFrom event.is this correct?

3)i have to Implement Authentication Scheme in the smtp server LOGIN PLAIN and CRAM-MD5 authentications. LOGIN PLAN i already implemented. but i have no idea about how to configure Outlook so i can implement CRAM-MD5 authentications?

Re: spam

by woddrazen, Tuesday, September 16, 2008, 11:39 (5912 days ago) @ tarun

Tarun,


Yes to first and second question.

I think CRAM-MD5 authentications isn't supported in Outlook Express. So I don't think you can use it there.

Please use reply at the bottom of forum post instead opening new forum topic each time if you can.


Drazen

Re: spam

by tarun, Tuesday, September 16, 2008, 11:53 (5912 days ago) @ woddrazen

So, for CRAM-MD5 authentications which mail Client i can use.

Tarun,


Yes to first and second question.

I think CRAM-MD5 authentications isn't supported in Outlook Express. So I don't think you can use it there.

Please use reply at the bottom of forum post instead opening new forum topic each time if you can.


Drazen

Re: spam

by woddrazen, Tuesday, September 16, 2008, 12:34 (5912 days ago) @ tarun

Tarum,


I google it and find some list of client that supports CRAM-MD5 authentication:
http://members.elysium.pl/brush/smtp-auth/client.html


Drazen

Re: spam

by tarun, Wednesday, September 17, 2008, 13:16 (5911 days ago) @ woddrazen

Hi,

As we discuss yesterday about spam, domain blacklist and email blacklist, i implemented this except SMTP CRAM-MD5 auth..

Now, i want to improve spam detection for that i have to know about
QueryDNS property and DNSResponse Event of wodSmtpServer with example if possible(how to use i don't get idea from .chm help file). in spam which DnsQueryTypes use. and how.

Thanks,
Tarun

Tarum,


I google it and find some list of client that supports CRAM-MD5 authentication:
http://members.elysium.pl/brush/smtp-auth/client.html


Drazen

Re: spam

by wodDamir, Wednesday, September 17, 2008, 14:27 (5910 days ago) @ tarun

Hi Tarun,

I would suggest that you check the following link:

http://www.howtodothings.com/computers/a871-how-to-use-dns-blocklists-to-detect-spam.html

Basically, you should get sender's IP from Received header, and check it against some of DNSBL providers.

Can you please check it out?

Regards,
Damba

HostName

by tarun, Thursday, September 18, 2008, 07:08 (5910 days ago) @ wodDamir

Hi,

Currently, i using wodPop3server and wodSmtpServer.Is it possible to set Hostname for this componant like Mail.test.com. Default it takes machine name.i change MyHostName Property but when i change setting in mail client it gives error.

Thanks
Tarun.

Hi Tarun,

I would suggest that you check the following link:

http://www.howtodothings.com/computers/a871-how-to-use-dns-blocklists-to-detect-spam.html

Basically, you should get sender's IP from Received header, and check it against some of DNSBL providers.

Can you please check it out?

Regards,
Damba

Re: HostName

by woddrazen, Thursday, September 18, 2008, 09:46 (5910 days ago) @ tarun

Tarun,


In order to do that, you will need to have some domain. When you send email to something@weonlydo.com

weonlydo.com is domain that will accept email send to something@weonlydo.com


Drazen

Connection between Outlook and wodImapserver

by tarun, Tuesday, September 23, 2008, 06:44 (5905 days ago) @ woddrazen

Hi,

When i send big mail from outlook through wodSmtpServer mail is not send. so, any setting i have to do on wodSmtpserver for send big mail.

currently, i using wodImapserver componant and outlook as mail client. My wodImapserver is running still when i click IMAP folders in outlook it gives the connection to the server is unavailable. Outlook must be online or connected to complete this action. sometimes it is connected and gives list of folders on server when i press query. what is problem my outlook is not connect to server.

Tarun,


In order to do that, you will need to have some domain. When you send email to something@weonlydo.com

weonlydo.com is domain that will accept email send to something@weonlydo.com


Drazen

Re: spam

by wodDamir, Tuesday, September 23, 2008, 08:55 (5905 days ago) @ tarun

Tarun,

Did you try our samples? Does it work with them?

Also, what environment are you using the component in?

Regards,
Damba

Re: spam

by tarun, Tuesday, September 23, 2008, 11:04 (5905 days ago) @ wodDamir

Thanks for reply,

yes, i am using example provide by componant. it is working sometimes disconnect from server. when i delete folder from outlook,
i delete folder from server and user's folder collection. but in outlook it is still there. when i reconnect server and press query it does not display folder that time. so, if possible provide example. Actually, when i delete folder from outlook it should be deleted from server from outlook also.

i am working in c#.net...

Tarun,

Did you try our samples? Does it work with them?

Also, what environment are you using the component in?

Regards,
Damba

Re: spam

by tarun, Tuesday, September 23, 2008, 11:07 (5905 days ago) @ tarun

Thanks for reply,

yes, i am using example provide by componant. it is working sometimes disconnect from server. when i delete folder from outlook,
i delete folder from server and user's folder collection. but in outlook it is still there. when i reconnect server and press query it does not display folder that time. so, if possible provide example. Actually, when i delete folder from outlook it should be deleted from server from outlook also.

i am working in c#.net...

Tarun,

Did you try our samples? Does it work with them?

Also, what environment are you using the component in?

Regards,
Damba

Re: spam

by wodDamir, Tuesday, September 23, 2008, 11:22 (5905 days ago) @ tarun

Tarun,

Actually, you need to delete directory from user directory also. Did you do so? Can you please try?

Also, The folder will not dissappear from the list until you refresh the directory structure in your e-mail client.

regards,
Damba

Re: spam

by tarun, Tuesday, September 30, 2008, 08:01 (5898 days ago) @ wodDamir

Hi,

Curently, i getting one error msg :

The connection to the server is unavailable. Outlook must be online or connected to complete this action

when i click to connect server or create new folder or IMAP Folders....Server is running on other end, Is this problem of time out or any other?

Some times it is connected and fires all events...
Second problem i get is when i create new folder, folder is created on server but it is not listdown on Qutlook?

If possible provide example, i already using example provided by Componant.

Tarun,

Actually, you need to delete directory from user directory also. Did you do so? Can you please try?

Also, The folder will not dissappear from the list until you refresh the directory structure in your e-mail client.

regards,
Damba

Re: spam

by woddrazen, Tuesday, September 30, 2008, 09:16 (5898 days ago) @ tarun

Tarun,


I'm unable to duplicate both your problems. Which version of Outlook you are using and which sample from wodImapServer? Which OS are you using?

Did you receive that problem before? Can you maybe reinstall wodImapServer and try it again?

Are you running ImapServer and Outlook on same machine or maybe on different machines?

sorry for all my questions but we have to isolate your problem in order to resolve it.


Drazen

Re: spam

by tarun, Tuesday, September 30, 2008, 11:06 (5898 days ago) @ woddrazen

Hi,

i am using Outlook 2003, Windows server 2003, wodImapServer 2.1.1 and using wodImapserver and Outlook running on same machine.

Yes, i receive this problem before when i create new folder.

Tarun,


I'm unable to duplicate both your problems. Which version of Outlook you are using and which sample from wodImapServer? Which OS are you using?

Did you receive that problem before? Can you maybe reinstall wodImapServer and try it again?

Are you running ImapServer and Outlook on same machine or maybe on different machines?

sorry for all my questions but we have to isolate your problem in order to resolve it.


Drazen

Re: spam

by woddrazen, Tuesday, September 30, 2008, 12:30 (5898 days ago) @ tarun

Tarun,


Which sample are you using? I'm testing with ImapServer\Samples\VB\Component\2. Full sample and it work without any issue. I'm using Outlook 2003.


Drazen

Re: spam

by tarun, Tuesday, September 30, 2008, 12:37 (5898 days ago) @ woddrazen

Hi,

i am using same sample but in c#.net.
is there any more setting in qutlook except IMAP/SMTP server configuration.

I still getting same error when i click IMAP Folders.

Thanks
Tarun

Tarun,


Which sample are you using? I'm testing with ImapServer\Samples\VB\Component\2. Full sample and it work without any issue. I'm using Outlook 2003.


Drazen

Re: spam

by woddrazen, Tuesday, September 30, 2008, 13:19 (5898 days ago) @ tarun

Tarun,


Can you please show us your code inside wodImapServer CreateFolder Event?

More help for CreateFolder Event you can find here:
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~wodImapServer~CreateFolder_EV.html


Drazen

Re: spam

by tarun, Wednesday, October 01, 2008, 14:57 (5896 days ago) @ woddrazen

Hi,

yesterday's problem to connect server is solved.
Now, i get one new problem, when i click on folder it fire IMAPServer_ListMessages Event for folder and code for this event is below, which is same as full example means it add's message in folder's message collection but i do not get in outlook 2007?

if (IMAPServer.Activated)
{
if (Folder != null)
{
//objImapMessages = Folder.Messages;
location = Folder.Tag.ToString().Trim();
System.IO.DirectoryInfo dir = new System.IO.DirectoryInfo(location);
foreach (System.IO.FileInfo fileInfo in dir.GetFiles( *.txt ))
{
ImapMessage objImapMessage = new ImapMessage();
objImapMessage = Folder.Messages.Add(objImapMessage);
objImapMessage.Filename = location + @ + fileInfo.Name.Trim();
objImapMessage.Tag = location + @ + fileInfo.Name.Trim();
objImapMessage.UID = Convert.ToInt32(fileInfo.Name.Trim().Substring(0, fileInfo.Name.Trim().IndexOf( . )));
// Folder.Messages.Add(objImapMessage).Tag = location + @ + fileInfo.Name.Trim();

// Temp Comment
ReadMessageProperty(User, objImapMessage);
}
}
}
So, why i am not getting message in outlook? is there any setting i have to do in IMAPServer_ReadMessage event?

Tarun,


Can you please show us your code inside wodImapServer CreateFolder Event?

More help for CreateFolder Event you can find here:
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~wodImapServer~CreateFolder_EV.html


Drazen

Re: spam

by wodDamir, Wednesday, October 01, 2008, 16:02 (5896 days ago) @ tarun

tarun,

You also need to set message's flag to Recent in case you didn't. Can you please try it?

Also, if this doesn't solve your problem, please send us a sample which we can run on our side in order to duplicate the problem. You can send it to techsupport@weonlydo.com

Regards,
Damba

Re: spam

by tarun, Friday, October 03, 2008, 06:06 (5895 days ago) @ wodDamir

Hi damba,

I get messages in folder's properly. But sometimes when i click on folder like inbox or any other folder i get below error.

Your server reported a UID that does not comply with the IMAP standard. This typically indicates a server bug.
Your function does not function properly after this

i manage UID for folder properly and this error occur sometimes for same folder. So, what will be the reason for this?

Thanks,
Tarun

tarun,

You also need to set message's flag to Recent in case you didn't. Can you please try it?

Also, if this doesn't solve your problem, please send us a sample which we can run on our side in order to duplicate the problem. You can send it to techsupport@weonlydo.com

Regards,
Damba

Re: spam

by woddrazen, Friday, October 03, 2008, 09:20 (5895 days ago) @ tarun

Tarun,


Can you please what is suggest in wodImapServer UID Property (ImapFolder):
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapFolder~UID.html


Drazen

Re: spam

by tarun, Friday, October 17, 2008, 09:23 (5881 days ago) @ woddrazen

Hi,

I want to know how to implement secondary domain concept using WOD componant means how i can bind local IP [Machine where my smtp and pop server is running] to secondary domain?

Or

i have to create directory structure for each domain and check sender and receiver domain and store message file according to that domain.

Thanks,
Tarun

Tarun,


Can you please what is suggest in wodImapServer UID Property (ImapFolder):
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapFolder~UID.html


Drazen

Re: spam

by wodDamir, Friday, October 17, 2008, 10:10 (5881 days ago) @ tarun

hi Tarun,

Both of our server components (wodSmtpServer and wodPop3Server have BindIP property. Is that what you had in mind?

You can make multiple instances of components, and bind them to different IP's.

Also, perhaps i misunderstood the question? In that case, please try to explain what you had in mind.

Hope this helps.

Regards,
Damba

Re: spam

by tarun, Friday, October 17, 2008, 10:44 (5881 days ago) @ wodDamir

Hi damba,
i just want to know, how can i implement primary and secondary domain using server components???

Thanks,
Tarun

hi Tarun,

Both of our server components (wodSmtpServer and wodPop3Server have BindIP property. Is that what you had in mind?

You can make multiple instances of components, and bind them to different IP's.

Also, perhaps i misunderstood the question? In that case, please try to explain what you had in mind.

Hope this helps.

Regards,
Damba

Re: spam

by wodDamir, Friday, October 17, 2008, 10:58 (5881 days ago) @ tarun

Tarun,

You would have to check sender/receiver's domain in order to do so. In that case the best solution would be to create sepaparate directory structure and store messages.

Hope this helps.

Regards,
Damba

Re: spam

by tarun, Thursday, October 23, 2008, 07:05 (5875 days ago) @ wodDamir

Hi damba,

i still have UID problem. I just create INBOX folder and drag and drop one message into INBOX. when i click on INBOX folder below UID message is display in Outlook. only one folder is there - INBOX. So,
any other folder with same UID.
So, please help to solve this problem.

Thanks,
Tarun.

Tarun,


Can you please what is suggest in wodImapServer UID Property (ImapFolder):
http://www.weonlydo.com/ImapServer/Help/WODIMAPSERVERLib~ImapFolder~UID.html


Drazen

Re: spam

by wodDamir, Thursday, October 23, 2008, 08:26 (5875 days ago) @ tarun

tarun,

Did you try the Full VB6 sample that comes with the component? Can you please check it out how it's done there?

Is that what you had in mind?

Regards,
Damba

Re: spam

by tarun, Friday, October 24, 2008, 14:57 (5873 days ago) @ wodDamir

Hi,

I have one requirement that when i check that Leave copy or message on server in Outlook Express then i don't want to delete message from Mailbox. but how i know that such a configaration is set on Outlook Express.

Thanks,
Tarun

tarun,

Did you try the Full VB6 sample that comes with the component? Can you please check it out how it's done there?

Is that what you had in mind?

Regards,
Damba

Re: spam

by woddrazen, Friday, October 24, 2008, 15:30 (5873 days ago) @ tarun

Tarun,


This is client side implementation.I cannot find it when I create IMAP account in Outlook Express.

Only POP3 account has this option and I think you are using wodImapServer. So you should use IMAP account in Outlook Express.


Drazen

Re: spam

by tarun, Saturday, October 25, 2008, 05:43 (5873 days ago) @ woddrazen

Hi,

Yes, I am talking about POP3 account and i am also using wodPOP3Server. So, for POP3 account when i check this option in Outlook Express how i can know on server that this option is set? because as POP3server do, i delete messages from mailbox, as it is downloladed first time.

Thanks,
Tarun

Tarun,


This is client side implementation.I cannot find it when I create IMAP account in Outlook Express.

Only POP3 account has this option and I think you are using wodImapServer. So you should use IMAP account in Outlook Express.


Drazen

Re: spam

by woddrazen, Saturday, October 25, 2008, 10:47 (5873 days ago) @ tarun

Tarun,


Please use wodPOP3Server Command Event. When you select Leave copy or message on server in OE settings. DELE (DELE 1, DELE 2...) command will not be executed.

DELE command is used to delete messages on server.


Drazen