|
Yes, that should work as work around. But ... it still occurs ... always exact 5 minutes (300 seconds) after timeout - independent from message. I was searching for some timeout in your code that could cause that but did not found anything.
|
|
|
|
|
Hi Ivar,
i think i found the Problem. Server goes crazy (causes excessive cpu load) if more than one session opened in same moment (more messages delivered in exact same milisecond).
Setting MaxConnections to 1 seem to solving the problem.
Robert
|
|
|
|
|
You should have another problem. Settings MaxConnections is not solution.
I run this smtp component live on few servers, so far all work ok, alowing many connections(limited to 200) at time.
|
|
|
|
|
I just tried time out, no MessageStored event riased, only MessageStoringCanceled raised.
|
|
|
|
|
Warning ==> never use DLL or EXE that you dont see the code behind.
Peace
|
|
|
|
|
please can you help me
how configration this program how use it
|
|
|
|
|
Hi,
First ensure you use latest from:
http://www.lumisoft.ee/lswww/download/downloads/MailServer/Devel/Current/[^]
In general all configured with most general settings.
You just need to create domain and add users.
Also you need to specify "host name" with your dns name(for example mail.domain.com) in binding for each service(SMTP,POP3,IMAP,..)
Thats all you need todo.
|
|
|
|
|
I tried SMTP, for 15 days but you are great.. you helped me a lot.. Thank you Ivar Lumi
|
|
|
|
|
thanks very much , this article helps me
|
|
|
|
|
Hi Ivar,
I am looking to create an SMTP Proxy Server that sits in front of another SMTP server to monitor and filter email. This Proxy needs to be able to listen to up to 10 ports (eg 25, 25000, 25001 etc) and parse the email (body and attachments) before resending it out to any one of the other ports! This server will be part of a .NET application written in C#. Would your classes be able to do this? Or should I be looking somewhere else?
Thanks
Chris
|
|
|
|
|
|
Thanks, are there any examples of these classes being used in .NET C# to create a SMTP Proxy server? For example can message attachments be saved as files before being forwarded to the next port?
I will download the latest version too...thanks
|
|
|
|
|
There are no examples of proxy.
In general you heave 2 ways:
1) Write own proxy using LumiSoft SMTP server/relay classes.
2) You write message filter for exisiting LumiSoft mail server.
With option 2 you don't need to dig into SMTP internals and is much easier for you to implement.
|
|
|
|
|
Thank you for your very quick replies.... I will have a look at option 2 as SMTP internals are not something I understand very well!
Thanks for your help.
|
|
|
|
|
Thanks,your article has helped me so much!I am a software fan,I am very like your article,though I am chinese.my site the firejay welcome you.
|
|
|
|
|
hi, i downloaded the program and registered it as service. i am using window 2008.
i telnet to the email server. able to send out email without error from telnet. but i never receive any email in that mailbox. checked the log and event viewer also no error
anything i miss out here? please help. thanks!
|
|
|
|
|
Hi,
You probably have bad DNS server name or has set IP bindings for relay.
Also be sure that you use version at leat 0.93.
I run this version on win 2008 64 bit for year now.
|
|
|
|
|
Great work! One question: Where are the SMTP Server Events (MessageSored, ValidateMailFrom, ValidateMailTo ...) gone in the new Version (version on CodeProject is ok, but i can't find them in a version on your site)? Thank you. Robert
|
|
|
|
|
Hi,
If you look a little more you see now all more clearer.
ValidateMailFrom = MailFrom
ValidateMailTo = RcptTo
MessageSored = GetMessageStream + MessageStoring completed
|
|
|
|
|
Hi Ivar,
i'm trying to find these events under SMTP_Server class, but they are not there (LumiSoft.MailServer.Server class). Is it the right place to search for ? I can't find SMTP_Server class from previous version.
Thanks for quick repsonse.
Robert
|
|
|
|
|
Oh, these are on SMTP_Session now.
1) SMTP_Server.SessionCreated
in that event, you need attach all smtp session events you like.
|
|
|
|
|
Great ! Thank you very much.
|
|
|
|
|
What liscense or copyright are you using with this? Can it be altered, used, and redistributed commercially?
|
|
|
|
|
|
i have win xp professional with workgroup setting. is this server works with thes or i have to install server technology with domain setting.
|
|
|
|