Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Ballarat, Australia

    Exclamation 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 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!

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Seattle, Washington
    open the 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.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

  3. #3
    Just Joined!
    Join Date
    Aug 2006
    Ballarat, Australia
    Thank you you have definately pointed my in the right direction! I actually found this line in the 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 Which I have entered below. My question is whereabouts do I enter my Username and password?

    dnl #
    dnl # Uncomment and edit the following line if your outgoing mail needs to
    dnl # be sent out through an external mail server:
    dnl #
    dnl define(`SMART_HOST',`')dnl
    dnl #
    dnl define(`confAUTO_REBUILD')dnl
    define(`confTO_CONNECT', `1m')dnl
    define(`ALIAS_FILE', `/etc/aliases')dnl
    define(`STATUS_FILE', `/var/log/mail/statistics')dnl
    define(`UUCP_MAILER_MAX', `2000000')dnl
    define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
    define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
    define(`confAUTH_OPTIONS', `A')dnl
    dnl #
    dnl # The following allows relaying if the user authenticates, and disallows
    dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
    dnl #
    dnl define(`confAUTH_OPTIONS', `A p')dnl
    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 #
    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 #
    dnl define(`confCACERT_PATH',`/etc/pki/tls/certs')dnl
    dnl define(`confCACERT',`/etc/pki/tls/certs/ca-bundle.crt')dnl
    dnl define(`confSERVER_CERT',`/etc/pki/tls/certs/sendmail.pem')dnl
    dnl define(`confSERVER_KEY',`/etc/pki/tls/certs/sendmail.pem')dnl
    dnl #
    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 #
    dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekey file')dnl
    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
    define(`confTO_IDENT', `0')dnl
    dnl FEATURE(delay_checks)dnl
    FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
    FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
    dnl #

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts