Author Topic: Solution, problem not send email with sendmail  (Read 19194 times)

0 Members and 1 Guest are viewing this topic.

Jhoner Perez

  • Jr. Member
  • **
  • Posts: 3
Solution, problem not send email with sendmail
« on: September 07, 2015, 07:35:57 PM »
I just wanted to share with you an error that he left me, for times when they might occur

I tell them that I could not send mail and did not know why, went out this error


[root@serverchat ~]# cd /var/log
[root@serverchat log]# tail -f 200 maillog
Sep  6 16:55:52 serverchat sm-msp-queue[3681]: t85GwX9P031926: to=xxxxx@gmail.com, ctladdr=apache (48/48), delay=1+04:57:19, xdelay=00:00:00, mailer=relay, pri=2640334, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Sep  6 16:55:53 serverchat sm-msp-queue[3681]: t85H0fiE031947: to=xxxxx@bsconsultores.com.pe, ctladdr=apache (48/48), delay=1+04:55:12, xdelay=00:00:00, mailer=relay, pri=2640342, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]



SOLUTION

# vi /etc/sysconfig/selinux

change
SELINUX=enforcing  to SELINUX=disabled

# init 6




faf

  • Mibew Staff Member
  • Native
  • *****
  • Posts: 951
    • Mibew Messenger
Re: Solution, problem not send email with sendmail
« Reply #1 on: September 07, 2015, 09:13:13 PM »
1. The whole thing has nothing to do with Mibew Messenger (thus, it was moved to the General Discussion board).

2. This so called "solution" for your problem leads to seriously weakening the system security. One should just correctly set up the mail server and not disable SELinux functionality.