kamranazeem
04-27-2005, 05:37 PM
Hello all,
I have a confusion about SMTP and I cannot understand it nor can solve my problem.
I am working at a company, which has a web site named , say, www.services.com . The site office does not have neither the web server not the mail server in it's premisis. Rather the Web and Mail servers are some where on the internet. Now lets talk about the mail server only. At this site office, located some where in remote area of my country, we have an internet connection, which allows my office to surf the web and collaborate with the rest of the world. At this site office, I installed Sendmail (initially) on RHEL3 AS to act as an SMTP gateway for our office people. So all of these office workers could send their mail out to who so ever in the world using their Outlook / similar tools. Now I noticed something. I could do a telnet session with my SMTP gateway as follows:
[root@wokhorse root]# telnet smtpgateway 25
Trying 203.135.0.3...
Connected to smtpgateway (xxx.xxx.xxx.xxx).
Escape character is '^]'.
220 ***********************
helo services.net
250 smtpgateway
mail from: zafar@services.net
250 ok
rcpt to: kamran@services.net
250 ok
data
354 go ahead
This is test mail and I am impersonating as some one else (zafar).
I am Kamran sending this mail.
.
250 ok 1114633499 qp 90
quit
221 smtpgateway
Connection closed by foreign host.
===============
Now I did recieve this email as well and was shocked to imagine that any one of my users can impersonate any body and things may get very wrong at this site office or wher ever.
So I decided to look for solutions. I frequently stumbled on SMTP AUTH mechanisms offered by Sendmail but is probably too complicated to understand and configure. Two days ago I decided to test qmail toaster and thus installed Qmail and un-installed sendmail from my SMTP gateway. Please note that my users get mail using pop or IMAP from the remote servers and this machine under discussion is only being used to send mails out.
By using SMTP auth mechanisms, I am getting an impression that I have to create user accounts and passwords of all office mates in the (now qmail ) SMTP server so they must provide this username and password to send the mail out. But my question is that "won't it be another set of username/password" that my users have to remember and they may forget it or may not want to send mail like this. Since I am not clear on this, please guide me what to do. And "how" to do it will be much much more appreciated or any pointers?
This may have been asked preciously but I have searched so many lists and only got more and more confused.
Please help me understand and solve this dilema.
Thankyou for your time.
Regards,
Kamran
I have a confusion about SMTP and I cannot understand it nor can solve my problem.
I am working at a company, which has a web site named , say, www.services.com . The site office does not have neither the web server not the mail server in it's premisis. Rather the Web and Mail servers are some where on the internet. Now lets talk about the mail server only. At this site office, located some where in remote area of my country, we have an internet connection, which allows my office to surf the web and collaborate with the rest of the world. At this site office, I installed Sendmail (initially) on RHEL3 AS to act as an SMTP gateway for our office people. So all of these office workers could send their mail out to who so ever in the world using their Outlook / similar tools. Now I noticed something. I could do a telnet session with my SMTP gateway as follows:
[root@wokhorse root]# telnet smtpgateway 25
Trying 203.135.0.3...
Connected to smtpgateway (xxx.xxx.xxx.xxx).
Escape character is '^]'.
220 ***********************
helo services.net
250 smtpgateway
mail from: zafar@services.net
250 ok
rcpt to: kamran@services.net
250 ok
data
354 go ahead
This is test mail and I am impersonating as some one else (zafar).
I am Kamran sending this mail.
.
250 ok 1114633499 qp 90
quit
221 smtpgateway
Connection closed by foreign host.
===============
Now I did recieve this email as well and was shocked to imagine that any one of my users can impersonate any body and things may get very wrong at this site office or wher ever.
So I decided to look for solutions. I frequently stumbled on SMTP AUTH mechanisms offered by Sendmail but is probably too complicated to understand and configure. Two days ago I decided to test qmail toaster and thus installed Qmail and un-installed sendmail from my SMTP gateway. Please note that my users get mail using pop or IMAP from the remote servers and this machine under discussion is only being used to send mails out.
By using SMTP auth mechanisms, I am getting an impression that I have to create user accounts and passwords of all office mates in the (now qmail ) SMTP server so they must provide this username and password to send the mail out. But my question is that "won't it be another set of username/password" that my users have to remember and they may forget it or may not want to send mail like this. Since I am not clear on this, please guide me what to do. And "how" to do it will be much much more appreciated or any pointers?
This may have been asked preciously but I have searched so many lists and only got more and more confused.
Please help me understand and solve this dilema.
Thankyou for your time.
Regards,
Kamran