Salut Tavoux,
Bon, un petit retour d'expérience sur la mise en place de mon petit
serveur mail perso/boulot.
- Niveau DNS, j'ai fait pointer trois domaines sur mon serveur, comme ça
je peux gérer tous les mails comme je le sens.
- J'ai dû activer chez Free le SMTP sortant (qui était filtré).
- Grâce au super tutoriel
(
http://www.howtoforge.com/perfect-server-debian-wheezy-nginx-bind-dovecot-ispconfig-3-p5)
j'ai mis en place Postfix pour envoyer et dovecot pour recevoir. C'est
le tuto que j'avais plus ou moins suivi à l'époque pour mettre en place
nginx. Note : *j'ai installé ISPconfig*.
Depuis l'interface ISPconfig, je peux créer de nouvelles adresses mail,
et ça marche en envoi et réception (eurêka) !
Néanmoins quelques réserves :
1) ISPconfig, c'est sûrement très bien, mais ça m'a l'air d'une grosse
purée javascript et qui ne rend pas les choses transparentes. Par
exemple, j'ai du mal à trouver où se trouve le Maildir (ou autre ?)
associé à l'un de mes comptes mail. C'est mal, car mauvais pour les
sauvegardes (la base de données mysql est néanmoins sauvegardée
automatiquement, ainsi que /etc, donc bon).
2) À l'envoi c'est super lent ! À la réception par contre c'est ok. Je
vous envoie les en-têtes de deux mails que je me suis envoyé dans les
deux directions, ainsi qu'un extrait des logs (/var/log/mail.log). Le
premier compte, contact [at]
creasixtine.com, est géré par OVH, et
adrien.poupin [at]
demi-soupir.com est géré par moi.
Si vous voyez de quoi il peut s'agir, je suis preneur !
Merci.
--
Adrien.
*** contact [at]
creasixtine.com --> adrien.poupin [at]
demi-soupir.com
("rapide") :
Return-Path: <
con...@creasixtine.com>
X-Original-To:
adrien...@demi-soupir.com
Delivered-To:
adrien...@demi-soupir.com
Received: from localhost (localhost [127.0.0.1])
by
dev.creasixtine.com (Postfix) with ESMTP id F01D6282512
for <
adrien...@demi-soupir.com>; Thu, 11 Jul 2013 10:04:38 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at
dev.creasixtine.com
Received: from
dev.creasixtine.com ([127.0.0.1])
by localhost (
dev.creasixtine.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id o4qQn7YJXtnR for <
adrien...@demi-soupir.com>;
Thu, 11 Jul 2013 10:04:38 +0200 (CEST)
Received: from
mo4.mail-out.ovh.net (
3.mo4.mail-out.ovh.net [46.105.57.129])
by
dev.creasixtine.com (Postfix) with ESMTP id E78EC27F684
for <
adrien...@demi-soupir.com>; Thu, 11 Jul 2013 10:04:37 +0200 (CEST)
Received: from
mail182.ha.ovh.net (
gw6.ovh.net [213.251.189.206])
by
mo4.mail-out.ovh.net (Postfix) with SMTP id 9A2C2104FD57
for <
adrien...@demi-soupir.com>; Thu, 11 Jul 2013 10:04:37 +0200 (CEST)
Received: from
b0.ovh.net (HELO queueout) (213.186.33.50)
by
b0.ovh.net with SMTP; 11 Jul 2013 10:04:37 +0200
Received: from
ver78-8-78-227-97-118.fbx.proxad.net (HELO ?192.168.0.10?) (con...@adrien-poupin.fr@
78.227.97.118)
by
ns0.ovh.net with SMTP; 11 Jul 2013 10:04:32 +0200
Message-ID: <
51DE670...@creasixtine.com>
Date: Thu, 11 Jul 2013 10:04:31 +0200
From: Creasixtine Debian <
con...@creasixtine.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7
MIME-Version: 1.0
To:
adrien...@demi-soupir.com
X-Ovh-Mailout: 178.32.228.4 (
mo4.mail-out.ovh.net)
Subject: Vitesse quand tu nous tiens...
X-Enigmail-Version: 1.5.1
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="----enig2VQJJVIKDQOEJBWTUBGOW"
X-Ovh-Tracer-Id: 7426154311035951288
X-Ovh-Remote: 78.227.97.118 (
ver78-8-78-227-97-118.fbx.proxad.net)
X-Ovh-Local: 213.186.33.20 (
ns0.ovh.net)
X-OVH-SPAMSTATE: OK
X-OVH-SPAMSCORE: -100
X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeijedrudefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecugfhvvghrhghhihhtvgdqqdetucdlqddutddtmd
X-Spam-Check: DONE|U 0.5/N
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: -100
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeijedrudefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecugfhvvghrhghhihhtvgdqqdetucdlqddutddtmd
et voici un second mail :
adrien.poupin [at]
demi-soupir.com --> contact [at]
creasixtine.com (lent)
Return-Path: <
adrien...@demi-soupir.com>
Delivered-To:
con...@adrien-poupin.fr
Received: from
b0.ovh.net (HELO queue) (213.186.33.50)
by
b0.ovh.net with SMTP; 11 Jul 2013 10:06:32 +0200
Received: from localhost (HELO
mail470.ha.ovh.net) (127.0.0.1)
by localhost with SMTP; 11 Jul 2013 10:06:32 +0200
Received: from
b0.ovh.net (HELO queueout) (213.186.33.50)
by
b0.ovh.net with SMTP; 11 Jul 2013 10:06:32 +0200
Delivered-To:
creasixtine...@creasixtine.com
Received: from
b0.ovh.net (HELO queue) (213.186.33.50)
by
b0.ovh.net with SMTP; 11 Jul 2013 10:06:32 +0200
Received: from
ver78-8-78-227-97-118.fbx.proxad.net (HELO
dev.creasixtine.com) (78.227.97.118)
by
mx1.ovh.net with SMTP; 11 Jul 2013 10:06:22 +0200
Received: from localhost (localhost [127.0.0.1])
by
dev.creasixtine.com (Postfix) with ESMTP id F28C12825A7
for <
con...@creasixtine.com>; Thu, 11 Jul 2013 10:03:51 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at
dev.creasixtine.com
Received: from
dev.creasixtine.com ([127.0.0.1])
by localhost (
dev.creasixtine.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id LR5v4E6e7QvJ for <
con...@creasixtine.com>;
Thu, 11 Jul 2013 10:03:51 +0200 (CEST)
Received: from [192.168.0.10] (unknown [192.168.0.254])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(No client certificate requested)
(Authenticated sender:
adrien...@demi-soupir.com)
by
dev.creasixtine.com (Postfix) with ESMTPSA id 261B4282512
for <
con...@creasixtine.com>; Thu, 11 Jul 2013 10:03:51 +0200 (CEST)
Message-ID: <
51DE66E6...@demi-soupir.com>
Date: Thu, 11 Jul 2013 10:03:50 +0200
From: Adrien Poupin <
adrien...@demi-soupir.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7
MIME-Version: 1.0
To:
con...@creasixtine.com
Subject: Lenteur quand tu nous tiens...
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Ovh-Tracer-Id: 7440509534925469593
X-Ovh-Remote: 78.227.97.118 (
ver78-8-78-227-97-118.fbx.proxad.net)
X-Ovh-Local: 213.186.33.29 (
mx1.ovh.net)
X-OVH-SPAMSTATE: OK
X-OVH-SPAMSCORE: 0
X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeijedrudefucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu
X-Spam-Check: DONE|U 0.5/N
Et un extrait des logs :
Jul 11 10:04:39 dev postfix/qmgr[26773]: F01D6282512:
from=<
con...@creasixtine.com>, size=3376, nrcpt=1 (queue active)
Jul 11 10:04:39 dev amavis[11211]: (11211-01) Passed CLEAN
{RelayedInbound}, [46.105.57.129]:57448 [213.186.33.50]
<
con...@creasixtine.com> -> <adrien.poupin
@
demi-soupir.com>, Queue-ID: E78EC27F684, Message-ID:
<
51DE670...@creasixtine.com>, mail_id: o4qQn7YJXtnR, Hits:
-0.001, size: 2893, queued_as: F01D628251
2, 1034 ms
Jul 11 10:04:39 dev postfix/smtp[11192]: E78EC27F684:
to=<
adrien...@demi-soupir.com>,
relay=127.0.0.1[127.0.0.1]:10024, delay=1.2, delays=0.14/0/0.01/1, d
sn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025):
250 2.0.0 Ok: queued as F01D6282512)
Jul 11 10:04:39 dev postfix/qmgr[26773]: E78EC27F684: removed
Jul 11 10:04:39 dev dovecot: lda(
adrien...@demi-soupir.com):
sieve: msgid=<
51DE670...@creasixtine.com>: stored mail into
mailbox 'INBOX'
Jul 11 10:04:39 dev postfix/pipe[11260]: F01D6282512:
to=<
adrien...@demi-soupir.com>, relay=dovecot, delay=0.29,
delays=0.07/0.02/0/0.19, dsn=2.0.0, statu
s=sent (delivered via dovecot service)
Jul 11 10:04:39 dev postfix/qmgr[26773]: F01D6282512: removed
Jul 11 10:05:02 dev postfix/smtpd[11251]: connect from
localhost[127.0.0.1]
Jul 11 10:05:02 dev postfix/smtpd[11251]: lost connection after
CONNECT from localhost[127.0.0.1]
Jul 11 10:05:02 dev postfix/smtpd[11251]: disconnect from
localhost[127.0.0.1]
Jul 11 10:05:02 dev dovecot: imap-login: Disconnected (no auth
attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<48Do2TfhPwB/AAAB>
Jul 11 10:05:02 dev dovecot: pop3-login: Disconnected (no auth
attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<6MDo2TfhQgB/AAAB>
Jul 11 10:06:22 dev postfix/smtp[11233]: F28C12825A7:
to=<
con...@creasixtine.com>, relay=
mx1.ovh.net[213.186.33.29]:25,
delay=151, delays=0.09/0.04/60/91, ds
n=2.0.0, status=sent (250 ok 1373529982 qp 20835)
Jul 11 10:06:22 dev postfix/qmgr[26773]: F28C12825A7: removed
Jul 11 10:07:53 dev postfix/qmgr[26773]: B614027F66A:
from=<
con...@creasixtine.com>, size=2906, nrcpt=1 (queue active)
Jul 11 10:07:53 dev postfix/qmgr[26773]: 3C62727F66C:
from=<
adrien...@demi-soupir.com>, size=781, nrcpt=1 (queue active)
Jul 11 10:07:54 dev postfix/smtpd[11259]: 3E9DE281F8D:
client=localhost[127.0.0.1]
Jul 11 10:07:54 dev postfix/cleanup[11350]: 3E9DE281F8D:
message-id=<
51DE65FF...@demi-soupir.com>
Jul 11 10:07:54 dev postfix/qmgr[26773]: 3E9DE281F8D:
from=<
adrien...@demi-soupir.com>, size=1250, nrcpt=1 (queue active)
Jul 11 10:07:54 dev postfix/smtpd[11259]: disconnect from
localhost[127.0.0.1]
Jul 11 10:07:54 dev amavis[11211]: (11211-02) Passed CLEAN
{RelayedOutbound}, LOCAL [192.168.0.254]:57353 [192.168.0.254]
<
adrien...@demi-soupir.com> -> <
con...@creasixtine.com>, Queue-ID: 3C62727F66C, Message-ID:
<
51DE65FF...@demi-soupir.com>, mail_id: uV3hwTWpy_An, Hits: -1,
size: 781, queued_as: 3E9DE2
81F8D, 843 ms
Jul 11 10:07:54 dev postfix/smtp[11346]: 3C62727F66C:
to=<
con...@creasixtine.com>, relay=127.0.0.1[127.0.0.1]:10024,
delay=474, delays=473/0.05/0.01/0.85, ds
n=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025):
250 2.0.0 Ok: queued as 3E9DE281F8D)
Jul 11 10:07:54 dev postfix/qmgr[26773]: 3C62727F66C: removed
Jul 11 10:07:55 dev postfix/smtpd[11232]: 9BFA227F66C:
client=localhost[127.0.0.1]
Jul 11 10:07:55 dev postfix/cleanup[11350]: 9BFA227F66C:
message-id=<
51DE6684...@creasixtine.com>
Jul 11 10:07:55 dev postfix/qmgr[26773]: 9BFA227F66C:
from=<
con...@creasixtine.com>, size=3387, nrcpt=1 (queue active)
Jul 11 10:07:55 dev postfix/smtpd[11232]: disconnect from
localhost[127.0.0.1]
Jul 11 10:07:55 dev amavis[11210]: (11210-02) Passed CLEAN
{RelayedInbound}, [178.32.98.131]:48103 [213.186.33.50]
<
con...@creasixtine.com> -> <adrien.poupin
@
demi-soupir.com>, Queue-ID: B614027F66A, Message-ID:
<
51DE6684...@creasixtine.com>, mail_id: BK9iVBBpBab7, Hits:
-0.001, size: 2904, queued_as: 9BFA227F
66C, 2250 ms
Jul 11 10:07:55 dev postfix/smtp[11345]: B614027F66A:
to=<
adrien...@demi-soupir.com>,
relay=127.0.0.1[127.0.0.1]:10024, delay=340,
delays=338/0.03/0.01/2.3, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 9BFA227F66C)
Jul 11 10:07:55 dev postfix/qmgr[26773]: B614027F66A: removed
Jul 11 10:07:55 dev dovecot: auth-worker(11353): mysql(localhost):
Connected to database dbispconfig
Jul 11 10:07:55 dev dovecot: lda(
adrien...@demi-soupir.com):
sieve: msgid=<
51DE6684...@creasixtine.com>: stored mail into
mailbox 'INBOX'
Jul 11 10:07:55 dev postfix/pipe[11351]: 9BFA227F66C:
to=<
adrien...@demi-soupir.com>, relay=dovecot, delay=0.33,
delays=0.08/0.02/0/0.23, dsn=2.0.0, status=sent (delivered via
dovecot service)
Jul 11 10:07:55 dev postfix/qmgr[26773]: 9BFA227F66C: removed
Jul 11 10:07:59 dev postfix/anvil[11030]: statistics: max connection
rate 1/60s for (submission:192.168.0.254) at Jul 11 09:57:59
Jul 11 10:07:59 dev postfix/anvil[11030]: statistics: max connection
count 1 for (submission:192.168.0.254) at Jul 11 09:57:59
Jul 11 10:07:59 dev postfix/anvil[11030]: statistics: max message
rate 1/60s for (submission:192.168.0.254) at Jul 11 09:58:00
Jul 11 10:07:59 dev postfix/anvil[11030]: statistics: max cache size
2 at Jul 11 10:04:37
Jul 11 10:09:01 dev postfix/pickup[9858]: BBA1227F684: uid=0 from=<root>
Jul 11 10:09:01 dev postfix/cleanup[11350]: BBA1227F684:
message-id=<
2013071108090...@dev.creasixtine.com>
Jul 11 10:09:01 dev postfix/qmgr[26773]: BBA1227F684:
from=<
ro...@dev.creasixtine.com>, size=1042, nrcpt=1 (queue active)
Jul 11 10:09:02 dev postfix/smtpd[11259]: connect from
localhost[127.0.0.1]
Jul 11 10:09:02 dev postfix/trivial-rewrite[11186]: warning: do not
list domain
dev.creasixtine.com in BOTH mydestination and
virtual_mailbox_domains
Jul 11 10:09:02 dev postfix/smtpd[11259]: 4F04127F66C:
client=localhost[127.0.0.1]
Jul 11 10:09:02 dev postfix/cleanup[11350]: 4F04127F66C:
message-id=<
2013071108090...@dev.creasixtine.com>
Jul 11 10:09:02 dev postfix/smtpd[11259]: disconnect from
localhost[127.0.0.1]
Jul 11 10:09:02 dev postfix/qmgr[26773]: 4F04127F66C:
from=<
ro...@dev.creasixtine.com>, size=1453, nrcpt=1 (queue active)
Jul 11 10:09:02 dev postfix/trivial-rewrite[11186]: warning: do not
list domain
dev.creasixtine.com in BOTH mydestination and
virtual_mailbox_domains
Jul 11 10:09:02 dev amavis[11211]: (11211-03) Passed CLEAN
{RelayedInbound}, <
ro...@dev.creasixtine.com> ->
<
ro...@dev.creasixtine.com>, Message-ID:
<
2013071108090...@dev.creasixtine.com>, mail_id:
zNvy7sEMR7sR, Hits: -0.001, size: 1041, queued_as: 4F04127F66C, 584 ms
Jul 11 10:09:02 dev postfix/trivial-rewrite[11186]: warning: do not
list domain
dev.creasixtine.com in BOTH mydestination and
virtual_mailbox_domains
Jul 11 10:09:02 dev postfix/smtp[11346]: BBA1227F684:
to=<
ro...@dev.creasixtine.com>, orig_to=<root>,
relay=127.0.0.1[127.0.0.1]:10024, delay=0.77,
delays=0.17/0/0.01/0.59, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4F04127F66C)
Jul 11 10:09:02 dev postfix/qmgr[26773]: BBA1227F684: removed
Jul 11 10:09:02 dev postfix/local[11394]: 4F04127F66C:
to=<
adr...@dev.creasixtine.com>, orig_to=<
ro...@dev.creasixtine.com>,
relay=local, delay=0.22, delays=0.08/0.02/0/0.11, dsn=2.0.0,
status=sent (delivered to command: procmail -a "$EXTENSION")
Jul 11 10:09:02 dev postfix/qmgr[26773]: 4F04127F66C: removed
Jul 11 10:10:02 dev dovecot: pop3-login: Disconnected (no auth
attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<W8/O6zfhVgB/AAAB>
Jul 11 10:10:02 dev dovecot: imap-login: Disconnected (no auth
attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<wtXO6zfhUwB/AAAB>
Jul 11 10:10:02 dev postfix/smtpd[11434]: connect from
localhost[127.0.0.1]
Jul 11 10:10:02 dev postfix/smtpd[11434]: lost connection after
CONNECT from localhost[127.0.0.1]
Jul 11 10:10:02 dev postfix/smtpd[11434]: disconnect from
localhost[127.0.0.1]
Jul 11 10:10:24 dev postfix/smtp[11233]: 3E9DE281F8D:
to=<
con...@creasixtine.com>, relay=
mx1.ovh.net[213.186.33.29]:25,
delay=151, delays=0.1/0.01/60/90, dsn=2.0.0, status=sent (250 ok
1373530224 qp 14775)
Jul 11 10:10:24 dev postfix/qmgr[26773]: 3E9DE281F8D: removed
Merci d'avance !
Adrien.