PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > Mail getting left after sending mail from PHP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Mail getting left after sending mail from PHP

Réponse
 
LinkBack Outils de la discussion
Vieux 03/03/2006, 16h04   #1
David
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Mail getting left after sending mail from PHP

I have recently started using Postfix and the mail command in PHP. (MAC
OS X)

An interesting phenomena is occuring. If i send two emails from the php
script, on a number of occasions only one goes straight out through
postfix. The other seems to be triggered when i at anytime in the
future then send out another message. The delay can even be 12 hours.

It seems that Postfix is picking the message up, but only delivering it
when another email is then fired at it!!!

is there anyway of telling postfix to clear or flush the queue. I dont
think this is a PHP issue?

A bit of a newbie, but any suggestion appreciated.

David

  Réponse avec citation
Vieux 03/03/2006, 16h40   #2
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Mail getting left after sending mail from PHP

David wrote:
The delay can even be 12 hours.
>
> It seems that Postfix is picking the message up, but only delivering it
> when another email is then fired at it!!!


Postfix doesn't work that way. It's sending and receiving processes are
independent of each other, controlled by a parent master process.

Try sending some test emails:

The "mailq" command will show you whether or not a message is in the
Postfix queue, and any reason why it's delivery has been delayed.

The delivery queue can be manually kicked off with the command
"postfix flush" or "sendmail -q".

Also, you will want to watch the syslog files in a separate window, usually
something like: tail -f /var/log/maillog

--
Greg
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h02.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07123 seconds with 10 queries