Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-2010, 11:58 PM
Active Member
 
Posts: 32
Default EHLO vs HELO

This question is intended for the audience whose smtp authentication is working & the server is able to authenticate when the session starts from EHLO.
I want to ask, what is the behavior when the user just connects from a HELO session?
In my case, from a HELO session, it doesn't ask for authentication & the user is able to send the mail?
Should there be a way to disable HELO & only allow EHLO ?

Can you please tell me the exact expected behavior ? & the solution to resolve this ?
Reply With Quote
  #2 (permalink)  
Old 01-09-2010, 12:21 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Anyone can connect to port 25 and send mail without authentication, it will deliver the mail if it's destined for a domain that's hosted on that server (unless you've modified Zimbra to be an open relay ). When you change this to authenticate then that user can send mail to the domains hosted on that server and relay mail to other (external) domains. If you are actually using port 25 for authenticated users then that isn't correct, you should be using port 587 which is the correct (RFC) Submissions port.

Quote:
Originally Posted by atevewr View Post
Can you please tell me the exact expected behavior ? & the solution to resolve this ?
Resolve what, exactly? If you have a problem perhaps you'd describe that in more detail.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-09-2010, 06:37 AM
Active Member
 
Posts: 32
Default EHLO vs HELO

I will try to explain my problem,
Our mailserver is behind a firewall. The firewall scans all the inbound & all outbound mails for A/V, spam etc.
The problem comes with the internal mailserver, now when a user sends a mail to another user on the same server/domain.
He can basically connect through a telnet session, & send a mail via HELO, in this case i am unable to authenticate the user.
Few days back somebody launched a script for sending mails like that & our mailserver was clogged.
So all i want is to block the HELO & only allow EHLO, since my authentication is working.
Have i explained the problem enough ?
Reply With Quote
  #4 (permalink)  
Old 01-09-2010, 06:41 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Please update your forum profile with the output of the following command (do not post it in this thread):

Code:
zmcontrol -v
You should search the forums and wiki for the word 'ZimbraMtaMyNetworks' you'll find details on what you need to do to obtain the behaviour you want.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 01-09-2010, 08:08 AM
Active Member
 
Posts: 32
Default

I have seen the ZimbraMtaMyNetworks setting, the user is not is my trusted networks.
If the user is in my trusted network, i know that their is no need for authentication.
Let me restate my problem,
The user when starts from a HELO session, can send a mail, even when he is not in my trusted network.
I just want to deny the HELO session to the user & force him to start with the EHLO session.
Is it possible?
Reply With Quote
  #6 (permalink)  
Old 01-09-2010, 08:43 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by atevewr View Post
I have seen the ZimbraMtaMyNetworks setting, the user is not is my trusted networks.
If the user is in my trusted network, i know that their is no need for authentication.
Let me restate my problem,
I understood what you wrote earlier.

Quote:
Originally Posted by atevewr View Post
The user when starts from a HELO session, can send a mail, even when he is not in my trusted network.
I just want to deny the HELO session to the user & force him to start with the EHLO session.
Is it possible?
So are you saying that this user is relaying through your server or just sending mail to your domain?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 01-09-2010, 10:00 AM
Active Member
 
Posts: 32
Default

Basically the user is sending mail to the domain only, but the case is without authentication he started the script & shot 5000 mails with it.

With no authentication, the 'Mail From' attribute was set to root@domain.com and the script was ran overloading our servers.
We do not want this to happen in the future and for that we want the mails to be authenticated, so even if he uses the script again, we know his real credentials.
Reply With Quote
  #8 (permalink)  
Old 01-09-2010, 10:08 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by atevewr View Post
Basically the user is sending mail to the domain only, but the case is without authentication he started the script & shot 5000 mails with it.
That is how email is sent. You need to improve the anti-spam system, look at this wiki article and add the 'reject unlisted recipients' to your postfix configuration (don't forget to restart postfix or Zimbra). If you have a specific IP that's a problem then you can blacklist that but I'd suggest that before you do that you should add some RBLs (such as spamhaus) to your system and see how you get on with that.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 01-09-2010, 10:39 AM
Active Member
 
Posts: 32
Default

Look you are right, thats how an email is sent.
First thing- I cannot block any particular IP unless any such activity is done, after that i can take any action.
Second thing- None of the users in the script were unlisted recipients, so even that attribute won't help me, by the way, we have implemented that already.

I am still unsure how the RBL will help me for my inside network, i do not want to do any lookup for my internal clients.

let me restate the problem if there has been a misunderstanding till now.
I want my Internal User to authenticate, for sending any mail, Internal or External and even if he is not in my trusted networks, he is able to send an email.
Just tell me what i can do for blocking HELO command and only allow EHLO command.
Moreover if this information will help, my Internal server does not talk to any other mail servers on Internet, it sends all the outbound mail to my gateway where the gateway appliance does the rest.
So all i am worried about is my internal users scripting mails without authentication?
Reply With Quote
  #10 (permalink)  
Old 01-11-2010, 06:46 AM
Active Member
 
Posts: 32
Default

Can anyone please answer my question?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.