|
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.
|
|
|
|
|
Hi,
Server work, it't doesn't depened on windows settings and configuration.
|
|
|
|
|
i have installed it and also sucessfuly telnet open localhost 25
now how to start sending emails, is this need email client.
i used outlook for sending and receiving mail and it works well but my question is that is there any client embeded in your mail server or we have to use third party mail clients.
thanks
modified on Wednesday, November 19, 2008 5:21 AM
|
|
|
|
|
iam currently doing research, in which i need to make a little software which will be installed on email server machine and its task will be
1) to create email accounts
2)and reading content of mail body + sender email address
3)and forwarding email to another account with in the same server or another MTA( mail server
so my question from experts is that, how many of the above 3 tasks are possible, and if possible that i need hints to make that program.
thanks alot.
|
|
|
|
|
Hi,
All possible.
>1) to create email accounts
Servers have API for that.
>2)and reading content of mail body + sender email address
Most server support smtp filters/handlers.
>3)and forwarding email to another account with in the same server or another MTA( mail server
Thats job smtp servers.
|
|
|
|
|
sir thanks for ur reply.
i understand fully the first question , which is about creating email accounts
but the remaing two need some detail to understand.
actually i want to make a program, which i wll install on machine of mail server,
and this program will check the mails content, when mail reaches to mailbox(filterling email when mail is physically saved in mail database by Mail Submission Agent MSA).
and also this program must have the ability to faward the email to any other email address (after filtering mail content and finding a specified patteren this program will farward the same email to another account either on same server or another, so how the program will farward email to another email account which is on same mail server and how the program will forward the mail outside mail server.
so is this possible and how.
plz give me hints
|
|
|
|
|
also all that depends on what mail server you use, some support filter some not.
Another approach is to code smtp proxy server which sits in front of actual mail server and does all you described.
|
|
|
|
|
thanks alot, i got it.
which mail servers has smtp filter support
1) sendmail
2) qmail
3) apache
|
|
|
|
|
i don't know 100% i code smtp server not use others ... .
|
|
|
|
|
Can I use your code for access gmail pop3 ?
thanks. its great. congratulations.
AE
|
|
|
|
|
Hi,
Offcourse ...., just you need to connect as SSL and to port 955.
Also a note about gmail: gmail deletes message once you retrieve it !!! (thats off standard and causes many confusions)
|
|
|
|
|
Hi,
your mail server is really great. However some smtp server have problem accepting mails from LumiSoft SMTP Server, because you don't use the full host name for HELO command. I've added this method to the LumiSoft.Net.Core class:
public static string GetFullHostName()
{
string domain = IPGlobalProperties.GetIPGlobalProperties().DomainName;
string computer = System.Net.Dns.GetHostName();
if (string.IsNullOrEmpty(domain))
return computer;
else
return computer + "." + domain;
}
Replacing the Dns.GetHostName() Calls in SMTP_Client.cs etc. with Core.GetFullHostName() works fine for me now.
Ciao
Karsten
|
|
|
|
|