OVH Cloud OVH Cloud

postfix, fetchmail

10 réponses
Avatar
COLAS Yves
Bonjour

Après avoir passé une bonne partie de la nuit à tenter de configurer mon
serveur de mèls je fais appel à vous.

- 1 serveur (courrier et ntp pour l'instant) avec une debian testing.
- 2 postes clients (un sous ubuntu, l'autre sous debian sid)
- 2 utilisateurs : coco et bebe
- 1 connection adsl avec un speedtouch 510 (wanadoo 2048) qui fait
office de passerelle (et firewall) et de serveur dns pour mon réseau local.

- 2 bal chez wanadoo dont je voudrais récupérer le courrier
- 1 serveur imap sur le serveur pour que bebe et coco puisse lire leur
courrier depuis l'un ou l'autre poste

Le domaine pour mon réseau local : chezcoco.vyc (je sais, c'est moche
mais je ne savais pas quoi mettre !)
Le nom de mes machines :
- serveur : familybox.chezcoco.vyc
- poste 1 : ubuntu.chezcoco.vyc
- poste 2 : debian.chezcoco.vyc


POSTFIX
Mon /etc/postfix/main.cf
# /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
append_dot_mydomain = no
myhostname = familybox.chezcoco.vyc
mydomain = chezcoco.vyc
mydestination = $hostname, $mydomain
relayhost = [smtp.wanadoo.fr]
mynetworks = 127.0.0.0/8, 192.168.0.0/24
inet_interfaces = $myhostname
sender_canonical_maps = hash:/etc/postfix/sender_canonical
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/

Mon /etc/aliases# /etc/aliases
(...)
root: coco

Mon /etc/postfix/sender_canonical
coco adress.coco@wanadoo.fr
bebe adress.bebe@wanadoo.fr

J'ai installé mailx pour tester
coco peut envoyer un mail à bebe en local, et à adress.bebe@wanadoo.fr
bebe peut faire de même pour coco

Depuis les postes clients, je peux envoyer des courriers en local à coco
et bebe, et à l'exterieur avec comme smtp 'familybox.chezcoco.vyc'
Ca tombe bien, c'est ce que je voulais !

Vous êtes encore là ?
Bon, merci je continu :
FETCHMAIL
Mon /root/.fetchmailrc
# wanadoo
poll pop.wanadoo.fr with proto POP3
user 'adress.coco' there with password 'xxx' is coco here options keep
user 'adress.bebe' there with password 'xxx' is bebe here options keep

Et mon message d'erreur quand je lance fetchmail (en root ou coco, c'est
pareil):

familybox:/home/coco# fetchmail
13 messages pour adress.coco dans pop.wanadoo.fr (47742 octets).
lecture du message adress.coco@pop.wanadoo.fr:1 parmi 13 (4006 octets)
fetchmail: Échec de connexion SMTP avec localhost
fetchmail: erreur Transaction SMTP durant la réception de pop.wanadoo.fr
fetchmail: État de la requête=10 (SMTP)

En googleisant, je suis bien tomber sur ce type d'erreur, mais personne
n'a mis quand c'était résolu (c'est bien dommage !)
J'ai donc fait un telnet localhost 25 qui me dit :

familybox:/home/coco# telnet localhost 25
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

mon /etc/hosts
familybox:/home/coco# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.0.5 familybox.chezcoco.vyc familybox

mon /etc/resolv.conf
familybox:/home/coco# cat /etc/resolv.conf
search chezcoco.vyc
nameserver 192.168.0.1

Mais là je ne sais pas quoi faire !
Donc, si quelqu'un voit où ça pèche je le remercie d'avance.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

10 réponses

Avatar
COLAS Yves
COLAS Yves a écrit :


Et mon message d'erreur quand je lance fetchmail (en root ou coco,
c'est pareil):

familybox:/home/coco# fetchmail
13 messages pour adress.coco dans pop.wanadoo.fr (47742 octets).
lecture du message :1 parmi 13 (4006 octets)
fetchmail: Échec de connexion SMTP avec localhost
fetchmail: erreur Transaction SMTP durant la réception de pop.wanadoo.fr
fetchmail: État de la requête (SMTP)



Et bien sur, je recois un message du smtp de wanadoo comme quoi il ne
connait pas familybox.chezcoco.vyc


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Michelle Konzack
--ZmUaFz6apKcXQszQ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Salut,

Am 2005-04-09 13:31:10, schrieb COLAS Yves:
Bonjour



familybox:/home/coco# fetchmail
13 messages pour adress.coco dans pop.wanadoo.fr (47742 octets).
lecture du message :1 parmi 13 (4006 octets)
fetchmail: Échec de connexion SMTP avec localhost
fetchmail: erreur Transaction SMTP durant la réception de pop.wanadoo.fr
fetchmail: État de la requête (SMTP)



Tu passer pes messages via "smtp" ou l'option "mda" ?

Oublier pas du rajouter l'option "-i" sur postfix.


Greetings
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

--ZmUaFz6apKcXQszQ
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCV8K7C0FPBMSS+BIRAgz+AJ9QX0bWPUwILWMD10heEHMDMNM/VgCfUQyA
dNHwVl/2dskB9vC4uZpi9EA =ftZK
-----END PGP SIGNATURE-----

--ZmUaFz6apKcXQszQ--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
COLAS Yves
Michelle Konzack a écrit :


Tu passer pes messages via "smtp" ou l'option "mda" ?




dans mon fichier ".fetchmailrc" je n'ai aucune option.
Comment je peux savoir lequel il utilise ?

Oublier pas du rajouter l'option "-i" sur postfix.




Je ne trouve rien sur l'option "-i".
Où faut-il la mettre et à quoi elle correspond ?


Greetings
Michelle








--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Michelle Konzack
--o0ZfoUVt4BxPQnbU
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Am 2005-04-09 14:04:23, schrieb COLAS Yves:
Michelle Konzack a écrit :

>
>Tu passer pes messages via "smtp" ou l'option "mda" ?
>
>
dans mon fichier ".fetchmailrc" je n'ai aucune option.
Comment je peux savoir lequel il utilise ?

>Oublier pas du rajouter l'option "-i" sur postfix.
>
>
Je ne trouve rien sur l'option "-i".
Où faut-il la mettre et à quoi elle correspond ?



Si tu utiliser (en fetchmailrc)

mda "/usr/sbin/postfix ..."

tu rajouter l'option -i come

mda "/usr/sbin/postfix -i ..."

__( manpage 'fetchmail' )_____________________________________________
/
| fetchmail(1) fetchmail(1)
<snip>
| -m <command> | --mda <command>
| (Keyword: mda) You can force mail to be passed to
| an MDA directly (rather than forwarded to port 25)
| with the --mda or -m option. To avoid losing mail,
| use this option only with MDAs like procmail or
| sendmail that return a nonzero status on disk-full
| and other resource-exhaustion errors; the nonzero
| status tells fetchmail that delivery failed and
| prevents the message from being deleted off the
| server. If fetchmail is running as root, it sets
| its userid to that of the target user while deliv­
| ering mail through an MDA. Some possible MDAs are
| "/usr/sbin/sendmail -i -f %F %T",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Normalement ça marcher avec postfix/courier-mta sans changement.

| "/usr/bin/deliver" and "/usr/bin/procmail -d %T"
| (but the latter is usually redundant as it's what
| SMTP listeners normally forward to). Local deliv­
| ery addresses will be inserted into the MDA command
| wherever you place a %T; the mail message's From
| address will be inserted where you place an %F. In
| both cases the addresses are enclosed in single
| quotes ('), after removing any single quotes they
| may contain, before the MDA command is passed to
| the shell. Do not use an MDA invocation like
| "sendmail -i -t" that dispatches on the contents of
| To/Cc/Bcc, it will create mail loops and bring the
| just wrath of many postmasters down upon your head.
| Also, do not try to combine multidrop mode with an
| MDA such as procmail that can only accept one
| addressee; you will lose.
| fetchmail(1)
______________________________________________________________________


Bon weekend
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

--o0ZfoUVt4BxPQnbU
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCV80uC0FPBMSS+BIRAsIPAKCPHVVNNUuhcNHQ32EXLm7b3eqR3gCgvQMi
6ESNW4lDwjSzhu7ieHf8oFI =Okxt
-----END PGP SIGNATURE-----

--o0ZfoUVt4BxPQnbU--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
COLAS Yves
Michelle Konzack a écrit :

Si tu utiliser (en fetchmailrc)

mda "/usr/sbin/postfix ..."

tu rajouter l'option -i come

mda "/usr/sbin/postfix -i ..."


| "/usr/sbin/sendmail -i -f %F %T",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Normalement ça marcher avec postfix/courier-mta sans changement.





J'ai modifié mon /root/.fetchmailrc

familybox:/home/coco# cat /root/.fetchmailrc
# wanadoo
poll pop.wanadoo.fr with proto POP3
user 'adress.bebe' there with password 'xxx' is bebe here
options keep mda "/usr/sbin/sendmail -i -f %F %T"

Je lance fetchmail

familybox:/home/coco# fetchmail
3 messages pour adress.bebe dans pop.wanadoo.fr (3293 octets).
lecture du message :1 parmi 3 (1110 octets) .
non éliminé
lecture du message :2 parmi 3 (1104 octets) .
non éliminé
lecture du message :3 parmi 3 (1079 octets) .
non éliminé

Ca va déjà mieux, mais je n'ai aucun mail qui arrive.

familybox:/home/coco# su bebe
:/home/coco$ mail
No mail for bebe
:/home/coco$

Et rien dans /home/bebe/Maildir/new

/var/log/mail.info :

Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid01
from=
Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
message-id=
Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
from=, size27, nrcpt=1 (queue active)
Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
to=, orig_to=<bebe>,
relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok:
queued as 7EC5B24000C5)
^^^^^^^^^^
c'est normal ça ?

Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed

Et je reçois toujours des "Mail Delivery System" de wanadoo qui me disent :

: Host or domain name not found. Name service
error for nameúmilybox.chezcoco.vyc type=A: Host not found




--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Michelle Konzack
--rV8arf8D5Dod9UkK
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Am 2005-04-09 15:51:54, schrieb COLAS Yves:

J'ai modifié mon /root/.fetchmailrc

familybox:/home/coco# cat /root/.fetchmailrc
# wanadoo
poll pop.wanadoo.fr with proto POP3
user 'adress.bebe' there with password 'xxx' is bebe here
options keep mda "/usr/sbin/sendmail -i -f %F %T"



C'est OK et comme chez moi.

Je lance fetchmail

familybox:/home/coco# fetchmail
3 messages pour adress.bebe dans pop.wanadoo.fr (3293 octets).
lecture du message :1 parmi 3 (1110 octets) .
non éliminé
lecture du message :2 parmi 3 (1104 octets) .
non éliminé
lecture du message :3 parmi 3 (1079 octets) .
non éliminé



OK

Ca va déjà mieux, mais je n'ai aucun mail qui arrive.

familybox:/home/coco# su bebe
:/home/coco$ mail
No mail for bebe
:/home/coco$



Quoi done 'echo $MAIL' ?
Et un 'ls -AlG /var/mail/*' ?

Et porquoi tu utiliser pas procmail,
que supporter mailbox, maildir et mh ?

Et rien dans /home/bebe/Maildir/new

/var/log/mail.info :

Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid01
from=
Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
message-id=
Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
from=, size27, nrcpt=1 (queue active)
Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
to=, orig_to=<bebe>,
relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok :


^^^^^^^^^^^^^^^^^^^^^
queued as 7EC5B24000C5)
^^^^^^^^^^
c'est normal ça ?



Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?

Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed

Et je reçois toujours des "Mail Delivery System" de wanadoo qui me dise nt :

: Host or domain name not found. Name service
error for nameúmilybox.chezcoco.vyc type=A: Host not found



Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.

Il est ton "postfix" que est mal configure...

Si procmail est installer, cree le fichier:

__( '/home/bebe/.procmailrc' )________________________________________
/
| PATH=$HOME/bin:/usr/bin:/bin:
| MAILDIR=$HOME/Maildir
| DEFAULT=$MAILDIR/.INBOX/
______________________________________________________________________

et dans le:

__( '/etc/fetchmailrc' )______________________________________________
/
| ####################################################################
| # Global
| ####################################################################
| set no bouncemail
| set postmaster coco
| set invisible
|
| ####################################################################
| # Defaults
| ####################################################################
| defaults:
| antispam -1
| batchlimit 10
| warnings 300
| # fetchall
| keep
| # expunge 1
| mda "/usr/bin/procmail -d %T"
| dropstatus
|
| ####################################################################
| poll pop.wanadoo.fr protocol pop3 timeout 60
| user address.coco password xxxxxxx is bebe here
______________________________________________________________________

La configuration de fetchmail et procmail marcher depuis
des annes chez moi. Et pour envoyer je utiliser 'ssmtp'
parce que il es beaucoup plus legere.

Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)

--rV8arf8D5Dod9UkK
Content-Type: application/pgp-signature; name="signature.pgp"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCV+kKC0FPBMSS+BIRAhGnAJ9FFmIvFBtp/n2QFpgvRbWc1qerXACeLtVu
UzjseFHv8txx8wa2M1uWHm4 =Sk00
-----END PGP SIGNATURE-----

--rV8arf8D5Dod9UkK--


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
COLAS Yves
Michelle Konzack a écrit :

Quoi done 'echo $MAIL' ?




/var/mail/coco

Si quelqu'un peut m'expliquer !
J'ai la même réponse en root, coco ou bebe

Et un 'ls -AlG /var/mail/*' ?




familybox:/etc/postfix# ls -Alg /var/mail/*
-rw------- 1 mail 0 2005-04-09 13:07 /var/mail/bebe
-rw------- 1 mail 0 2005-04-09 10:24 /var/mail/coco
-rw------- 1 mail 2115 2005-04-06 11:55 /var/mail/mail
-rw------- 1 mail 2462 2005-04-09 02:38 /var/mail/root

mais les mails ne sont ni dans mail, ni dans root

Et porquoi tu utiliser pas procmail,
que supporter mailbox, maildir et mh ?




Parce que si fetchmail peut dialoguer avec postfix, je n'en ai pas
besoin pour l'instant



Et rien dans /home/bebe/Maildir/new

/var/log/mail.info :

Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid01
from=
Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
message-id=
Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
from=, size27, nrcpt=1 (queue active)
Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
to=, orig_to=<bebe>,
relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok:




^^^^^^^^^^^^^^^^^^^^^


queued as 7EC5B24000C5)
^^^^^^^^^^
c'est normal ça ?





Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?




J'avais bien compris mais je voyais pas pourquoi il essayait d'envoyer à
smtp.wanadoo.fr alors que je voulais récupérer mon courrier



Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed

Et je reçois toujours des "Mail Delivery System" de wanadoo qui me disent :

: Host or domain name not found. Name service
error for nameúmilybox.chezcoco.vyc type=A: Host not found





Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.


Il est ton "postfix" que est mal configure...




C'est bien ce qui me semblait et en testant divers paramètre, j'ai rajouter
myorigin = /etc/mailname

cat /etc/mailname
chezcoco.vyc

normalement je pense que je vais pouvoir mettre : myorigin = $mydomain

J'ai quand même dû rajouter :
mda /usr/sbin/sendmail -i -f %F %T
dans mon .fetchmailrc, mais je n'arrive pas à trouver à quoi ça
correspond (j'ai beaucoup de mal avec l'anglais....), si qqn peut
m'éclairer !

Merci


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Laurent CARON
COLAS Yves a écrit :

Michelle Konzack a écrit :

Quoi done 'echo $MAIL' ?




/var/mail/coco

Si quelqu'un peut m'expliquer !
J'ai la même réponse en root, coco ou bebe

Et un 'ls -AlG /var/mail/*' ?




familybox:/etc/postfix# ls -Alg /var/mail/*
-rw------- 1 mail 0 2005-04-09 13:07 /var/mail/bebe
-rw------- 1 mail 0 2005-04-09 10:24 /var/mail/coco
-rw------- 1 mail 2115 2005-04-06 11:55 /var/mail/mail
-rw------- 1 mail 2462 2005-04-09 02:38 /var/mail/root

mais les mails ne sont ni dans mail, ni dans root

Et porquoi tu utiliser pas procmail,
que supporter mailbox, maildir et mh ?




Parce que si fetchmail peut dialoguer avec postfix, je n'en ai pas
besoin pour l'instant



Et rien dans /home/bebe/Maildir/new

/var/log/mail.info :

Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid01
from=
Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
message-id=
Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
from=, size27, nrcpt=1 (queue active)
Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
to=, orig_to=<bebe>,
relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok:



^^^^^^^^^^^^^^^^^^^^^


queued as 7EC5B24000C5)
^^^^^^^^^^
c'est normal ça ?





Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?




J'avais bien compris mais je voyais pas pourquoi il essayait d'envoyer
à smtp.wanadoo.fr alors que je voulais récupérer mon courrier



Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed

Et je reçois toujours des "Mail Delivery System" de wanadoo qui me
disent :

: Host or domain name not found. Name
service
error for nameúmilybox.chezcoco.vyc type=A: Host not found





Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.


Il est ton "postfix" que est mal configure...




C'est bien ce qui me semblait et en testant divers paramètre, j'ai
rajouter
myorigin = /etc/mailname

cat /etc/mailname
chezcoco.vyc

normalement je pense que je vais pouvoir mettre : myorigin = $mydomain

J'ai quand même dû rajouter :
mda /usr/sbin/sendmail -i -f %F %T
dans mon .fetchmailrc, mais je n'arrive pas à trouver à quoi ça
correspond (j'ai beaucoup de mal avec l'anglais....), si qqn peut
m'éclairer !

Merci




que vaut mydestinations dans /etc/postfix/main.cf ?

--
Wiker's Law:
Government expands to absorb revenue and then some.


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
messmate
On Sun, 10 Apr 2005 00:13:37 +0200
Laurent CARON wrote:

COLAS Yves a écrit :

> Michelle Konzack a écrit :
>
>> Quoi done 'echo $MAIL' ?
>>
>>
> /var/mail/coco
>
> Si quelqu'un peut m'expliquer !
> J'ai la même réponse en root, coco ou bebe
>
>> Et un 'ls -AlG /var/mail/*' ?
>>
>>
> familybox:/etc/postfix# ls -Alg /var/mail/*
> -rw------- 1 mail 0 2005-04-09 13:07 /var/mail/bebe
> -rw------- 1 mail 0 2005-04-09 10:24 /var/mail/coco
> -rw------- 1 mail 2115 2005-04-06 11:55 /var/mail/mail
> -rw------- 1 mail 2462 2005-04-09 02:38 /var/mail/root
>
> mais les mails ne sont ni dans mail, ni dans root
>
>> Et porquoi tu utiliser pas procmail,
>> que supporter mailbox, maildir et mh ?
>>
>>
> Parce que si fetchmail peut dialoguer avec postfix, je n'en ai pas
> besoin pour l'instant
>
>>
>>
>>> Et rien dans /home/bebe/Maildir/new
>>>
>>> /var/log/mail.info :
>>>
>>> Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid0 1
>>> from=
>>> Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
>>> message-id=
>>> Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
>>> Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
>>> from=, size27, nrcpt=1 (queue active)
>>> Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
>>> to=, orig_to=<bebe>,
>>> relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (25 0 Ok:
>>
>> ^^^^^^^^^^^^^^^^^^^^^
>>
>>
>>> queued as 7EC5B24000C5)
>>> ^^^^^^^^^^
>>> c'est normal ça ?
>>>
>>
>>
>> Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?
>>
>>
> J'avais bien compris mais je voyais pas pourquoi il essayait d'envoyer
> à smtp.wanadoo.fr alors que je voulais récupérer mon courrier
>
>>
>>
>>> Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed
>>>
>>> Et je reçois toujours des "Mail Delivery System" de wanadoo qui me
>>> disent :
>>>
>>> : Host or domain name not found. Name
>>> service
>>> error for nameúmilybox.chezcoco.vyc type=A: Host not found
>>>
>>
>>
>> Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.
>>
>>
>> Il est ton "postfix" que est mal configure...
>>
>>
> C'est bien ce qui me semblait et en testant divers paramètre, j'ai
> rajouter
> myorigin = /etc/mailname
>
> cat /etc/mailname
> chezcoco.vyc
>
> normalement je pense que je vais pouvoir mettre : myorigin = $mydomain
>
> J'ai quand même dû rajouter :
> mda /usr/sbin/sendmail -i -f %F %T
> dans mon .fetchmailrc, mais je n'arrive pas à trouver à quoi ça
> correspond (j'ai beaucoup de mal avec l'anglais....), si qqn peut
> m'éclairer !
>
> Merci
>
>
que vaut mydestinations dans /etc/postfix/main.cf ?



le nom de ta bécane :)
localhost, toto.myhome.home, etc.....
Avatar
COLAS Yves
messmate a écrit :

On Sun, 10 Apr 2005 00:13:37 +0200
Laurent CARON wrote:



COLAS Yves a écrit :



Michelle Konzack a écrit :



Quoi done 'echo $MAIL' ?






/var/mail/coco

Si quelqu'un peut m'expliquer !
J'ai la même réponse en root, coco ou bebe



Et un 'ls -AlG /var/mail/*' ?






familybox:/etc/postfix# ls -Alg /var/mail/*
-rw------- 1 mail 0 2005-04-09 13:07 /var/mail/bebe
-rw------- 1 mail 0 2005-04-09 10:24 /var/mail/coco
-rw------- 1 mail 2115 2005-04-06 11:55 /var/mail/mail
-rw------- 1 mail 2462 2005-04-09 02:38 /var/mail/root

mais les mails ne sont ni dans mail, ni dans root



Et porquoi tu utiliser pas procmail,
que supporter mailbox, maildir et mh ?






Parce que si fetchmail peut dialoguer avec postfix, je n'en ai pas
besoin pour l'instant







Et rien dans /home/bebe/Maildir/new

/var/log/mail.info :

Apr 9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid01
from=
Apr 9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79:
message-id=
Apr 9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79:
from=, size27, nrcpt=1 (queue active)
Apr 9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79:
to=, orig_to=<bebe>,
relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok:




^^^^^^^^^^^^^^^^^^^^^




queued as 7EC5B24000C5)
^^^^^^^^^^
c'est normal ça ?





Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?






J'avais bien compris mais je voyais pas pourquoi il essayait d'envoyer
à smtp.wanadoo.fr alors que je voulais récupérer mon courrier







Apr 9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed

Et je reçois toujours des "Mail Delivery System" de wanadoo qui me
disent :

: Host or domain name not found. Name
service
error for nameúmilybox.chezcoco.vyc type=A: Host not found





Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.


Il est ton "postfix" que est mal configure...






C'est bien ce qui me semblait et en testant divers paramètre, j'ai
rajouter
myorigin = /etc/mailname

cat /etc/mailname
chezcoco.vyc

normalement je pense que je vais pouvoir mettre : myorigin = $mydomain

J'ai quand même dû rajouter :
mda /usr/sbin/sendmail -i -f %F %T
dans mon .fetchmailrc, mais je n'arrive pas à trouver à quoi ça
correspond (j'ai beaucoup de mal avec l'anglais....), si qqn peut
m'éclairer !

Merci






que vaut mydestinations dans /etc/postfix/main.cf ?





le nom de ta bécane :)
localhost, toto.myhome.home, etc.....





C'est bon, c'est résolu
il fallait que je mette myorigine = /etc/mailname

Merci à tous




--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact