Old 7th December 2005, 17:42
jas_esp jas_esp is offline
Junior Member
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail server

(My english level is poor, sorry)

I am trying to implement a new mail server in java, multiplatform. Almost every thing is done, but i have a problem in the authentication process.

Every user in the server has four option:
- Can receive mail
- Can send mail
- Can send mail only to own domain users
- Can send mail only to own server users

I have implemented three SMTP authentication mechanisms to do so:
- POP3 before SMTP

The implementation of the option "Can receive mail" is easy. But the others are not so. When a remote server connects to my SMTP server to send a mail to a local user, it doesn't authenticate, so it can send mail to any user in the server (if is a local user, of course) (if this is not right, tell me please). The rules to permit/deny users to send mail can only be applied if the users authenticates against the server, so if the user doesn't authenticate it will can send mail to all users, omiting those rules, as it were a remote SMTP server. I don't want this.

If I check the MAIL FROM command to check is a local user, and then tell him he must authenticate if he wants to send mails with that address as sender, it works fine too.

But if a local user configure his e-mail client with another address than local, and he doesn't authenticate, it will can send mails without the restrictions. I know why this happens, and i know that that is in that way.

I only want to know if the described processes of verification and operation of the server are correct, and if there is a way to prevent the problem.

Reply With Quote
Sponsored Links
Old 7th December 2005, 19:17
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Maybe this post helps you: http://www.howtoforge.com/forums/sho...3&postcount=11
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
configure as a secondary mail server xma General 6 15th February 2006 14:46
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 18:48
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 10:32
Import Mail Users from Eudora Internet Mail Server kisong Installation/Configuration 2 18th October 2005 17:22

All times are GMT +2. The time now is 14:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.