IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Apache Discussion :

php et sendmail(postfix)


Sujet :

Apache

  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2004
    Messages
    489
    Détails du profil
    Informations personnelles :
    Âge : 51
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Janvier 2004
    Messages : 489
    Points : 388
    Points
    388
    Par défaut php et sendmail(postfix)
    Bonjour,

    Dans mon fichier log d'apache (error_log) je trouve ces deux lignes assez regulierement :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    sendmail: option requires an argument -- f
    sendmail: fatal: usage: sendmail [options]
    Et l'envoi du mail ne se fait pas, sans pour autant provoquer de message d'erreur php..

    D'ou cela peut il venir ??

    Serveur Debian Sarge, Apache 2, php 5..

  2. #2
    Membre du Club Avatar de maKyo
    Femme Profil pro
    Chef de projet
    Inscrit en
    Août 2006
    Messages
    49
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 43
    Localisation : Belgique

    Informations professionnelles :
    Activité : Chef de projet
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2006
    Messages : 49
    Points : 55
    Points
    55
    Par défaut
    bonjour,

    Dans une doc trouvé à ce lien :
    http://www.unix.org.ua/orelly/networ...il/ch36_07.htm

    on peut voir :

    36.7.21 -f and -r

    Set sender's address
    (All versions)
    The -f and -r command-line switches are interchangeable. [8] Either causes sendmail to take the address of the sender from the command line rather than from the envelope or message header. The -f switch is used by UUCP software and by mailing list software. The form of the -f switch is:
    [8] The only difference is that the -r command-line switch is deprecated, and there is no guarantee that it will be included in future versions of sendmail.
    -faddr
    -f addr
    Space between the -f and the addr is optional. If addr is missing, sendmail prints the following error message and ignores the -f switch:

    sendmail: option requires an argument - f

    :
    :

    Si ça peut aider... , tu trouvera surement d'autres détails en parcourant le lien.

    maKyo

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Janvier 2004
    Messages
    489
    Détails du profil
    Informations personnelles :
    Âge : 51
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Janvier 2004
    Messages : 489
    Points : 388
    Points
    388
    Par défaut
    Merci bien, parce que j'avais cherche sans trouver !

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. php - mail() via postfix
    Par Squalthor dans le forum Debian
    Réponses: 2
    Dernier message: 07/09/2011, 17h51
  2. Sendmail / Postfix et php
    Par yozart dans le forum SUSE
    Réponses: 0
    Dernier message: 04/03/2010, 12h01
  3. sendmail vs postfix
    Par sliderman dans le forum Internet
    Réponses: 0
    Dernier message: 01/08/2007, 13h56
  4. [Mail] Sendmail et php
    Par webby238 dans le forum Langage
    Réponses: 3
    Dernier message: 24/01/2007, 15h22
  5. Sendmail et fonction mail php !!
    Par Mike91 dans le forum Apache
    Réponses: 1
    Dernier message: 18/06/2006, 14h41

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo