[Linux-bruxelles] exim et sarge
De:
Alain BarBason <alain at barbason.be>
Date:
2004-11-02 22:22:55
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bonjour,
Je n'ai toujours pas vraiment compris par quel bout prendre la
configuraiton d'exim.
Mon problème est que je voudrais avec mon serveur apapche/php/... sur
sarge envoyer des mails.
En php, suffit de faire mail("alainbb at easynet.be","affiche
table","blabla\nsuite");
En faisant cela, je retrouve dans /var/mail/www-data
- ----------------------debut----------------------------
~From MAILER-DAEMON Tue Nov 02 22:24:52 2004
Return-path: <>
Envelope-to: www-data at sabb
Delivery-date: Tue, 02 Nov 2004 22:24:52 +0100
Received: from Debian-exim by localhost with local (Exim 4.31)
id 1CP695-00044Y-PF
for www-data at sabb; Tue, 02 Nov 2004 22:24:51 +0100
X-Failed-Recipients: alainbb at easynet.be
Auto-Submitted: auto-generated
From: Mail Delivery System <Mailer-Daemon at sabb>
To: www-data at sabb
Subject: Mail delivery failed: returning message to sender
Message-Id: <E1CP695-00044Y-PF at localhost>
Date: Tue, 02 Nov 2004 22:24:51 +0100
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
~ alainbb at easynet.be
~ Mailing to remote domains not supported
- ------ This is a copy of the message, including all the headers. ------
Return-path: <www-data at sabb>
Received: from www-data by localhost with local (Exim 4.31)
id 1CP695-00044W-DO
for alainbb at easynet.be; Tue, 02 Nov 2004 22:24:51 +0100
To: alainbb at easynet.be
Subject: affihce table
Message-Id: <E1CP695-00044W-DO at localhost>
From: www-data <www-data at sabb>
Date: Tue, 02 Nov 2004 22:24:51 +0100
blabla
suite
- ----------------------fin----------------------------
j'ai bien rajouté www-data: alainbb at easynet.be dans
/etc/email-adresses
espérant une redirection , mais si je n'ai plus de message d'erreur dans
/var/mail/www-data, je n'ai plus rien du tout :-((
# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: someone at isp.com
www-data: alainbb at easynet.be
#otheruser: someoneelse at anotherisp.com
Donc, par quel bout commencer pour configurer exim4
Bien le merci.
- --
by AlainBB
http://www.barbason.be/index.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBh/qvm0bBkbX7YzERAsdQAKCBUkVfFmwR3d3Dyghq1UbxcV8n9wCfX/F9
tmYLfqBCXtsWrx2UOTiaqJs=1Gjn
-----END PGP SIGNATURE-----