Probléme d'evoi des emails apache et debian 7 (VPS)

Bonjour Gurus,
Je suis un developpeur web et je suis debutant avec debian, j’ai installé apache et php5…etc, et pour configurer les emails j’ai install sendmail et postfix mais ça marche pas pour moi et j’ai trouvé une solution dans votre forum mais ça marche pas pour moi :confused: dans cette article :

[quote]j’ai réussi a réglé le problème, cela était tous bête ^^

dans le fichier php.ini quand on marque /usr/sbin/sendmail -i -t il faut le mettre avec des “” donc

“/usr/sbin/sendmail -t -i”[/quote]

http://www.debian-fr.org/probleme-fonction-mail-de-php-avec-postfix-t22224.html

Pour info j’utilise Virtualmin pour controller mon panel et c’est la dernier version, vous pouvez me dire c’est quoi le probléme? ou bien une solution?

la dernier ligne dans le fichier log mail :

Jan 7 21:58:43 vmi19469 postfix/postqueue[19401]: warning: Mail system is down – accessing queue directly

le code error dans la navigator :

[code]An Error Was Encountered

220 mx.google.com ESMTP v1sm98698524qas.15 - gsmtp

hello: 250-mx.google.com at your service, [80.241.216.212]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN
250-ENHANCEDSTATUSCODES
250 CHUNKING
from: 250 2.1.0 OK v1sm98698524qas.15 - gsmtp
data: 503 5.5.1 RCPT first. v1sm98698524qas.15 - gsmtp
The following SMTP error was encountered: 503 5.5.1 RCPT first. v1sm98698524qas.15 - gsmtp
502 5.5.1 Unrecognized command. v1sm98698524qas.15 - gsmtp
The following SMTP error was encountered: 502 5.5.1 Unrecognized command. v1sm98698524qas.15 - gsmtp
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
220 mx.google.com ESMTP ks9sm5206009qeb.11 - gsmtp
hello: 250-mx.google.com at your service, [80.241.216.212]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN
250-ENHANCEDSTATUSCODES
250 CHUNKING
from: 250 2.1.0 OK ks9sm5206009qeb.11 - gsmtp
data: 503 5.5.1 RCPT first. ks9sm5206009qeb.11 - gsmtp
The following SMTP error was encountered: 503 5.5.1 RCPT first. ks9sm5206009qeb.11 - gsmtp
502 5.5.1 Unrecognized command. ks9sm5206009qeb.11 - gsmtp
The following SMTP error was encountered: 502 5.5.1 Unrecognized command. ks9sm5206009qeb.11 - gsmtp
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
User-Agent: CodeIgniter
Date: Wed, 8 Jan 2014 02:10:24 +0100
Reply-To: “” <>
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <52cca5823ec01>
Mime-Version: 1.0

Content-Type: multipart/alternative; boundary=“B_ALT_52cca5823ec72”

This is a multi-part message in MIME format.
Your email application may not support this format.

–B_ALT_52cca5823ec72
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

–B_ALT_52cca5823ec72
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

–B_ALT_52cca5823ec72–[/code]

plus d’info je bosse avec Codeigniter !

Pour info, je n’ai jamais eu à installer sendmail pour que mon serveur envoie des mails.

dpkg-reconfigure postfix, choisir configuration internet site et c’est tout.

Pour tester:

Sinon: google.fr/search?q=codeignit … g+PHP+SMTP