Click here to Skip to main content
15,887,135 members
Articles / Programming Languages / C#
Article

SMTP and POP3 Mail Server

Rate me:
Please Sign up or sign in to vote.
4.88/5 (96 votes)
29 Sep 20031 min read 1M   18.9K   315   313
An SMTP and POP3 mail server written using the .NET Framework and C#.

Sample Image - smtppop3mailserver.jpg

Introduction

The MailServerComponent implements POP3 and SMTP (core) servers. It Handles lowlevel POP3 and SMTP commands and raises events according to it. The MailServer service just handles MailServerComponent events and does mail retrieving and storing job.

Features

General:

  • SMTP/POP3/IMAP4/WebMail
  • IP access filtering
  • User mailbox size limit
  • Supports XML or MSSQL databases
  • Nice GUI for administation
  • Well commented source code included

SMTP:

  • All basic SMTP features  
  • Supports multiple domains  
  • Supports multiple e-address for one mailbox  
  • Supports aliases(Mailing lists). Supports public and private(needs authentication) lists.
  • Supports email routing. eg *ivar* pattern routes all addresses containing ivar to specified mailbox or remote address  
  • SMTP AUTH (LOGIN CRAM-MD5) (supported authentication types)  
  • SMTP SIZE, PIPELINING, 8BITMIME, CHUNCKING support  
  • SMTP custom message filters  
  • Relay can be controlled by IP access or authentication

POP3:

  • All basic POP3 features
  • APOP command for secure authentication
  • POP3 AUTH (LOGIN CRAM-MD5) (supported authentication types)
  • POP3 remote accounts

WebMail (ASP.NET):

  • Standalone webmail, can be used any with IMAP based mailserver
  • Supports XML or MSSQL databases
  • Multiple UI languages (ENG,EST,RUS)

Notes

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Estonia Estonia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralRe: Cross-Domain Pin
Ivar Lumi27-Jul-07 8:09
Ivar Lumi27-Jul-07 8:09 
GeneralMail Robot? [modified] Pin
Anthony Baraff25-Jul-07 9:09
Anthony Baraff25-Jul-07 9:09 
GeneralRe: Mail Robot? Pin
Ivar Lumi27-Jul-07 8:04
Ivar Lumi27-Jul-07 8:04 
GeneralMono + SuseLinux + smtp (sending mail) Pin
ravivertis12-Apr-07 1:43
ravivertis12-Apr-07 1:43 
GeneralRe: Mono + SuseLinux + smtp (sending mail) Pin
Ivar Lumi13-Apr-07 0:28
Ivar Lumi13-Apr-07 0:28 
Question"Catch all" POP3 collection possible ? Pin
Quietlife18-Mar-07 13:57
Quietlife18-Mar-07 13:57 
AnswerRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi18-Mar-07 20:16
Ivar Lumi18-Mar-07 20:16 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 4:37
Quietlife19-Mar-07 4:37 
Thanks, but I think I am still a little confused.

I'd like to collect via pop3 from a remote mailserver for delivery into a domain on the luimusoft mailserver, which in turn splits the incoming pop3 and "delivers" it to the user(s) mailbox(s) according to the rules.

So to clarify - the lumisoft mailserver would be collecting from not delivering to a catch all pop3.

I can see what looks like where you can configure the collection for individual users but what about for entire domain(s) ?

Sorry if this is a no brainer - just can't seem to see it in the manager interface.

Many thanks in advance.
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 4:50
Ivar Lumi19-Mar-07 4:50 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 8:28
Quietlife19-Mar-07 8:28 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 8:46
Ivar Lumi19-Mar-07 8:46 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife19-Mar-07 9:35
Quietlife19-Mar-07 9:35 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi19-Mar-07 20:21
Ivar Lumi19-Mar-07 20:21 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife20-Mar-07 0:14
Quietlife20-Mar-07 0:14 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi20-Mar-07 0:18
Ivar Lumi20-Mar-07 0:18 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Quietlife20-Mar-07 0:37
Quietlife20-Mar-07 0:37 
GeneralRe: "Catch all" POP3 collection possible ? Pin
Ivar Lumi20-Mar-07 0:46
Ivar Lumi20-Mar-07 0:46 
General550 Relay not allowed Pin
Ret Orrick15-Mar-07 6:11
Ret Orrick15-Mar-07 6:11 
GeneralRe: 550 Relay not allowed Pin
Ivar Lumi15-Mar-07 6:21
Ivar Lumi15-Mar-07 6:21 
GeneralHelp! (BodyText is blank) Pin
luiz antonio7-Nov-06 8:51
luiz antonio7-Nov-06 8:51 
GeneralRe: Help! (BodyText is blank) Pin
Ivar Lumi7-Nov-06 8:53
Ivar Lumi7-Nov-06 8:53 
GeneralRe: Help! (BodyText is blank) Pin
luiz antonio7-Nov-06 9:01
luiz antonio7-Nov-06 9:01 
GeneralRe: Help! (BodyText is blank) Pin
Ivar Lumi7-Nov-06 9:02
Ivar Lumi7-Nov-06 9:02 
GeneralNow works linux + mono Pin
Ivar Lumi4-Aug-06 3:13
Ivar Lumi4-Aug-06 3:13 
GeneralRe: Now works linux + mono Pin
Quietlife18-Mar-07 13:30
Quietlife18-Mar-07 13:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.