<div dir="ltr">Wow... that fixed it.   It almost drive me nuts...  Thank you so much Scott... You saved my day!</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Livy<br><br>Wei Li<br>Computing and Telecommunications Center<br>Fort Hays State University<br>785.628.4643<br><a href="mailto:livy@fhsu.edu" target="_blank">livy@fhsu.edu</a><br><div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 7, 2014 at 2:52 PM, Scott Undercofler <span dir="ltr"><<a href="mailto:scottu@huenix.com" target="_blank">scottu@huenix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>
      <div><span class="">-rw------- 1 root root 733 Nov  5 14:45 /etc/group<br>
        <br></span>
        Lol. That is hyper super bad. Do you see why?<br>
        <br>
        Chmod 644 /etc/group.Restart postfix. Test again. Id check
        /etc/passwd (0644) and /etc/shadow (0640) too.<br>
        <br>
        <br>
        <br>
        <br>
      </div>
    </div><div><div class="h5">
    <div>On 11/07/2014 03:48 PM, Livy Li wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Thanks Scott, here is the output:
        <div><br>
        </div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">ls
            -l /etc/group</span><br>
        </div>
        <div>
          <div>-rw------- 1 root root 733 Nov  5 14:45 /etc/group</div>
        </div>
        <div><br>
        </div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">ls
            -l /path/to/php.ini</span><br>
        </div>
        <div>-rw-r--r-- 1 root root 63K Oct 20 04:03 php.ini<br>
        </div>
        <div><br>
        </div>
        <div>there is no group file in /var/spool/postfix/etc/. 
          Contents:</div>
        <div>
          <div>-rw-r--r-- 1 root root   276 Nov  5 16:12 hosts</div>
          <div>-rw-r--r-- 1 root root  3543 Nov  5 16:12 localtime</div>
          <div>-rw-r--r-- 1 root root   475 Nov  5 16:12 nsswitch.conf</div>
          <div>-rw-r--r-- 1 root root    82 Nov  5 16:12 resolv.conf</div>
          <div>-rw-r--r-- 1 root root 19398 Nov  5 16:12 services</div>
          <div>drwxr-xr-x 3 root root    18 Nov  5 14:19 ssl</div>
        </div>
        <div><br>
        </div>
        <div>grep setgid /etc/postfix/<a href="http://main.cf" target="_blank">main.cf</a><br>
        </div>
        <div>output nothing.</div>
        <div><br>
        </div>
        <div>Not sure about mailer config, but below is phpinfo:</div>
        <div><a href="https://www.dropbox.com/s/iifcc3cb4cw1kx5/phpinfo.txt?dl=0" target="_blank">https://www.dropbox.com/s/iifcc3cb4cw1kx5/phpinfo.txt?dl=0</a><br>
        </div>
        <div><br>
        </div>
        <div>Thank you so much for looking into it!</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div>
            <div dir="ltr">Livy<br>
              <br>
              Wei Li<br>
              Computing and Telecommunications Center<br>
              Fort Hays State University<br>
              <a href="tel:785.628.4643" value="+17856284643" target="_blank">785.628.4643</a><br>
              <a href="mailto:livy@fhsu.edu" target="_blank">livy@fhsu.edu</a><br>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Fri, Nov 7, 2014 at 2:35 PM, Scott
          Undercofler <span dir="ltr"><<a href="mailto:scottu@huenix.com" target="_blank">scottu@huenix.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div 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 <a href="http://main.cf" target="_blank">main.cf</a>. And
              whats in the mailer config from php? A phpinfo might be
              nice too.
              <div>
                <div><br>
                  <br>
                  <br>
                  <div>On 11/07/2014 03:29 PM, Livy Li wrote:<br>
                  </div>
                  <blockquote 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>
                            <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 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>
                              <div><br>
                                <br>
                                On Fri, Nov 7, 2014 at 1:48 PM,  <<a href="mailto:livy@fhsu.edu" target="_blank">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 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 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 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 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>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>