Hi.
Since 1 week ago I do not receive mails from php scripts (like forum registration or new PM) and if I try to send from ssh it is not beig delivered too.
Not sure where to look for this error...
# mail yourname@tourdomain.com
Subject: Test
Test
Then Control + D
No error, but mail never arrives
I tried with domains hosted in diferent places, including hosted at same server and never arrive.
I cant find any reference to the test in /usr/local/psa/var/log/maillog
But if I send it thought a pop3 client the mail works fine.
Any help is very apreciated
Some mails are not send (from php scripts and from ssh)
Re: Some mails are not send (from php scripts and from ssh)
Definitively is something wrong with QMAIL.
I think the problem is since I aplied 10.2.0 MU #5 from plesk on 26 May.
http://download1.parallels.com/Plesk/PP ... html#10205
Messages from webmail, PHP scripts or ssh are not being send.
I was using qmail-scanner, so I removed it.
The problem persist. So I changed to use Postfix and sudendly I received all the tests I did last days.....
I change again to QMAIL and the problem stills there :/
Any idea about where to look or what to do?
Tnx very much
I think the problem is since I aplied 10.2.0 MU #5 from plesk on 26 May.
http://download1.parallels.com/Plesk/PP ... html#10205
Messages from webmail, PHP scripts or ssh are not being send.
I was using qmail-scanner, so I removed it.
Code: Select all
yum remove qmail-scanner clamd qgreylist spamassassin dcc pyzor razor-agents
I change again to QMAIL and the problem stills there :/
Any idea about where to look or what to do?
Tnx very much
Re: Some mails are not send (from php scripts and from ssh)
Solved.
Using Qmail, the symbolic links was wrong (acording to this KB)
# ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 May 2 17:54 /usr/sbin/sendmail -> /etc/alternatives/mta
# ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 26 Jun 5 15:20 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix (<- Here has to be /var/qmail/bin/sendmail).
So this did the trick:
# ln -s -f /var/qmail/bin/sendmail /etc/alternatives/mta
Now mail is delivered as expected.
Using Qmail, the symbolic links was wrong (acording to this KB)
# ls -l /usr/sbin/sendmail
lrwxrwxrwx 1 root root 21 May 2 17:54 /usr/sbin/sendmail -> /etc/alternatives/mta
# ls -l /etc/alternatives/mta
lrwxrwxrwx 1 root root 26 Jun 5 15:20 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix (<- Here has to be /var/qmail/bin/sendmail).
So this did the trick:
# ln -s -f /var/qmail/bin/sendmail /etc/alternatives/mta
Now mail is delivered as expected.