Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Send mail

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 4.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Airy
      last edited by

      Hi every one,

      when I add a user, I want to automatically send a mail to him with his password and his username.
      I'm trying to configure pfSense for smtp. I looked in the php.ini but there's no smtp configuration.
      pfSense has not sendmail too, I have tried to install Ssmtp but the make command is not found.
      The response I had on the forum is that pfSense is a firewall.

      So how can I send mail with pfSense, does a Package exist or should I install an other server behind pfSense just for smtp ?

      thank you,
      best regards,
      Airy

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        There are no development tools in pfSense, like make, as you have discovered but you can add FreeBSD packages. You have to use the 8.1 archive for pfSense 2.0.x:

        pkg_add -r ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest/ssmtp.tbz
        

        However you can easily break pfSense if you're not careful!  ;)

        pfSense can already send mail for notifications though I do not use that function.

        Steve

        1 Reply Last reply Reply Quote 0
        • P
          podilarius
          last edited by

          pfSense doesn't use an internal mail server to send notifications. It requires and external one. This is setup in the Advanced configuration menu.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Ah Ok, like I said I've never used it.
            So it's just acting as a mail client then?

            Steve

            1 Reply Last reply Reply Quote 0
            • P
              podilarius
              last edited by

              Yes. Basically that is all that it does.

              1 Reply Last reply Reply Quote 0
              • A
                Airy
                last edited by

                Ok, thank you for your answers.
                I'm trying to install an Ubuntu with Ssmtp on it.
                I'm trying to install postfix forward package too, but I'm having trouble with it, i don't know what to write in the "domains to forward"

                EDIT: I've put in domain "gmail.com" and in ip "smtp.gmail.com", am I right ?
                EDIT 2: Should I modify something in the php.ini to use the mail() function ?

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  You should ask this in the postfix thread in the packages subforum.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.