<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Several things:<br>
    <br>
    ls -l /etc/group<br>
    <br>
    ls -l /path/to/php.ini<br>
    <br>
    ls -l /var/spool/postfix/etc/group<br>
    <br>
    [ -f /var/spool/postfix/etc/group ] && cat
    /var/spool/postfix/etc/group<br>
    <br>
    <br>
    <br>
    Also, grep setgid from your main.cf. And whats in the mailer config
    from php? A phpinfo might be nice too.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/07/2014 03:29 PM, Livy Li wrote:<br>
    </div>
    <blockquote
cite="mid:CACPrtp64pKbaVTwsAvHXHqPCod9QQ_Z2G2xqW+kqAq5vdAYrrA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thanks Darin for your reply, but I'm not running
        anything in chroot.  :(
        <div class="gmail_extra"><br clear="all">
          <div>
            <div class="gmail_signature">
              <div dir="ltr">Livy<br>
                <br>
              </div>
            </div>
          </div>
          <br>
          <div class="gmail_quote">On Fri, Nov 7, 2014 at 2:10 PM, Darin
            Perusich <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:darin@darins.net" target="_blank">darin@darins.net</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you
              running postfix in a chroot? If so perhaps the chroot
              needs to<br>
              be updated.<br>
              --<br>
              Later,<br>
              Darin<br>
              <div class="HOEnZb">
                <div class="h5"><br>
                  <br>
                  On Fri, Nov 7, 2014 at 1:48 PM,  <<a
                    moz-do-not-send="true" href="mailto:livy@fhsu.edu">livy@fhsu.edu</a>>
                  wrote:<br>
                  > Hello All,<br>
                  ><br>
                  > I'm having a weird problem where RT can't send
                  out going emails.  I'm using<br>
                  > Postfix and running sendmail command from the
                  shell works fine, just<br>
                  > whenever a new ticket gets created or a comment
                  was added, RT is not able to<br>
                  > send outgoing emails.<br>
                  ><br>
                  > On the web interface, it says:<br>
                  > The RT System itself - Sending the previous mail
                  has failed. Please contact<br>
                  > your admin, they can find more details in the
                  logs.<br>
                  ><br>
                  > In syslogs, the following error is thrown:<br>
                  > Nov  7 09:04:30 *** postfix/sendmail[30696]:
                  fatal: file<br>
                  > /etc/postfix/<a moz-do-not-send="true"
                    href="http://main.cf" target="_blank">main.cf</a>:
                  parameter setgid_group: unknown group name: postdrop<br>
                  ><br>
                  > At first I thought a misconfigured postfix is
                  causing the problem, but again<br>
                  > I can run sendmail command from the shell and it
                  sends out email with no<br>
                  > problem.<br>
                  ><br>
                  > I do have the postdrop group in  my /etc/group
                  file.<br>
                  ><br>
                  > What's weird is there is no "setgid_group" in
                  file /etc/postfix/<a moz-do-not-send="true"
                    href="http://main.cf" target="_blank">main.cf</a>.<br>
                  ><br>
                  > Below is output of postconf -n:<br>
                  ><br>
                  > alias_database = hash:/etc/aliases<br>
                  > alias_maps = hash:/etc/aliases<br>
                  > append_dot_mydomain = no<br>
                  > biff = no<br>
                  > config_directory = /etc/postfix<br>
                  > inet_interfaces = all<br>
                  > inet_protocols = ipv4<br>
                  > mailbox_size_limit = 0<br>
                  > mydestination = [domain], [domain], localhost<br>
                  > myhostname = [domain]<br>
                  > mynetworks = <a moz-do-not-send="true"
                    href="http://127.0.0.0/8" target="_blank">127.0.0.0/8</a>
                  [::ffff:127.0.0.0]/104 [::1]/128<br>
                  > myorigin = /etc/mailname<br>
                  > readme_directory = no<br>
                  > recipient_delimiter = +<br>
                  > relayhost = [some ip]<br>
                  > smtp_tls_session_cache_database =
                  btree:${data_directory}/smtp_scache<br>
                  > smtpd_banner = $myhostname ESMTP I.T., have you
                  tried turning it off and on<br>
                  > again?<br>
                  > smtpd_client_restrictions = reject_rbl_client <a
                    moz-do-not-send="true" href="http://bl.spamcop.net"
                    target="_blank">bl.spamcop.net</a>,<br>
                  > reject_unauth_pipelining, permit<br>
                  > smtpd_data_restrictions =
                  reject_unauth_pipelining, permit<br>
                  > smtpd_helo_required = yes<br>
                  > smtpd_helo_restrictions =
                  reject_invalid_helo_hostname,<br>
                  > reject_non_fqdn_helo_hostname,
                  reject_unauth_pipelining, permit<br>
                  > smtpd_recipient_restrictions =
                  reject_non_fqdn_recipient,<br>
                  > reject_unknown_recipient_domain,
                  reject_unauth_destination,<br>
                  > reject_unauth_pipelining,
                  permit_auth_destination, permit_mynetworks<br>
                  > smtpd_timeout = 30s<br>
                  > smtpd_tls_cert_file =
                  /etc/ssl/certs/ssl-cert-snakeoil.pem<br>
                  > smtpd_tls_key_file =
                  /etc/ssl/private/ssl-cert-snakeoil.key<br>
                  > smtpd_tls_session_cache_database =
                  btree:${data_directory}/smtpd_scache<br>
                  > smtpd_use_tls = yes<br>
                  ><br>
                  ><br>
                  > I'm running RT 4.2.8 on a Debian Wheezy box with
                  MySQL server.   Anyone has<br>
                  > any insight to my problem?   Any suggestions is
                  greatly appreciated!<br>
                  ><br>
                  > Livy<br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>