store | blogs | forums | twitter | facebook | wiki | downloads | support portal
Atomic Secure Linux
It is currently Sat Dec 20, 2014 1:51 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Some mails are not send (from php scripts and from ssh)
Unread postPosted: Fri Jun 03, 2011 1:32 pm 
Offline
Forum User
Forum User

Joined: Fri Dec 17, 2004 11:05 am
Posts: 16
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 :|


Top
 Profile  
 
 Post subject: Re: Some mails are not send (from php scripts and from ssh)
Unread postPosted: Sat Jun 04, 2011 3:22 pm 
Offline
Forum User
Forum User

Joined: Fri Dec 17, 2004 11:05 am
Posts: 16
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.
Code:
yum remove qmail-scanner clamd qgreylist spamassassin dcc pyzor razor-agents


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


Top
 Profile  
 
 Post subject: Re: Some mails are not send (from php scripts and from ssh)
Unread postPosted: Sun Jun 05, 2011 9:42 am 
Offline
Forum User
Forum User

Joined: Fri Dec 17, 2004 11:05 am
Posts: 16
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group