SendMail Set Up Help!
I am a relative Newbie and am trying to run a server in a University that can simply hold Surveys for students that will subsequently E-mail them the results.
I currently have the survey up and running on a Trustix (Command Line Linux) machine. This is all well and good until the student tells me that he is not recieving any e-mails. I have got Webmin running on it and this comes with a GUI for Postfix. However I have been led to believe that for my purposes SendMail is much easier to set-up.
I need to be able to forward e-mails to the University E-Mail server, which I have a login and password for so that it can then send the e-mail to the student. I do not need to recieve e-mails and in fact would prefer not too.
Trustix does not come with Sendmail installed and after a while I gave up trying to...it seemed very involved! I have got an FC5 machine running that comes with SendMail installed on it and now plan on using it for this purpose.
As I said I am a relative Newbie and any help here would be greatly appreciated.
Even a heads up on where a HOW-TO on this could be found would be great. I have searched in vain!
open the sendmail.cf file and scroll till you see something like that says smart smtp. There enter the IP of your real email server.
That should do what you want. Your fedora 5 box should send emails to your users by default.
Also make sure your fedora box is not blocked by your firewall.
Thank you you have definately pointed my in the right direction! I actually found this line in the sendmail.mc file. It reads below. This doesnt however completely solve the problem as I need to authenticate with the SMTP server with a username and login. I am not sure where to put this...
The smtp server I am to use is fs1.ballarat.edu.au Which I have entered below. My question is whereabouts do I enter my Username and password?
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl # The following allows relaying if the user authenticates, and disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl # Please remember that saslauthd needs to be running for AUTH.
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl # cd /usr/share/ssl/certs; make sendmail.pem
dnl # Complete usage:
dnl # make -C /usr/share/ssl/certs usage
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekey file')dnl
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl