Discussion Locked

smtp for linux

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi
I just finished set up web server for my company and everything is working. But how do I set up smtp so that when user visit our website they can set email to particular email address that we set up? Do I configure Sendmail MTA to do this. It seemed to me that sendmail is a bit overkill just for this purpose

5 replies

by cpfeiffe

You must already have some sort of mail server if you have user accounts set up. You can use any mail client to send the message, such as freeware blat. It is very simple to install and use and has a lot less overhead than sendmail. This will work fine if DNS domain of the web server and the mail domain for all of the users match. If that is not the case you will need relay somewhere. You can allow your current mail server to relay for the web server domain. But be careful - you don't want to enable relay on a server that faces the internet (opens up SPAM and all kinds of things). If this isn't possible you will need to configure an internal relay server and for that case you would need a mail server such as sendmail or another installation of what you are already using. Hope this helps.

by bg4

I gather you want to be able users to send email from your web site to a preset email address. I have done this using a simple perl package called "formmail.pl". It contains all the setup instructions you need and is available from "http://www.scriptarchive.com/formmail.html".

Hope this helps.

This discussion is closed to new replies.