Précédent   Forum des professionnels en informatique > Systèmes > Linux > Réseau
Réseau Vos questions autour des réseaux et télécoms sous Linux
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 25/05/2008, 20h23   #1
Invité de passage
 
Inscription : novembre 2007
Messages : 2
Détails du profil
Informations forums :
Inscription : novembre 2007
Messages : 2
Points : 0
Points : 0
Par défaut problème de configuration postfix

Salut à tous,
je fait mes début sous linux ( Debian 4.0 ) et je viens d'installer un serveur web en suivant le guide : http://olange.developpez.com/article...e/?page=page_3

Malheureusement en suivant ce guide, je me rend compte que mon serveur mail ne fonctionne pas correctement.

Voici ce qu'affiche mon log ...

Citation:
May 25 20:17:31 ks20298 postfix/master[3316]: terminating on signal 15
May 25 20:17:31 ks20298 postfix/master[3518]: daemon started -- version 2.3.8, configuration /etc/postfix
May 25 20:18:39 ks20298 courierpop3login: LOGIN FAILED, user=postmaster@rissmau.com, ip=[::ffff:86.216.242.202]
May 25 20:18:39 ks20298 courierpop3login: authentication error: Input/output error
May 25 20:18:40 ks20298 courierpop3login: LOGIN FAILED, user=postmaster@rissmau.com, ip=[::ffff:86.216.242.202]
May 25 20:18:40 ks20298 courierpop3login: authentication error: Input/output error
May 25 20:19:09 ks20298 postfix/smtpd[3626]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
May 25 20:19:09 ks20298 postfix/smtpd[3626]: connect from rv-out-0506.google.com[209.85.198.235]
May 25 20:19:09 ks20298 postfix/cleanup[3631]: BFEAE268F6: message-id=<20080525181909.BFEAE268F6@ks20298.kimsufi.com>
May 25 20:19:09 ks20298 postfix/qmgr[3524]: BFEAE268F6: from=<postmaster@ks20298.kimsufi.com>, size=275, nrcpt=1 (queue active)
May 25 20:19:10 ks20298 postfix/smtp[3632]: BFEAE268F6: to=<maurice.baruk@gmail.com>, relay=gmail-smtp-in.l.google.com[72.14.221.27]:25, delay=0.75, delays=0.01/0.01/0.04/0.7, dsn=2.1.5, status=deliverable (250 2.1.5 OK)
May 25 20:19:10 ks20298 postfix/qmgr[3524]: BFEAE268F6: removed
May 25 20:19:12 ks20298 postfix/smtpd[3626]: BE49D268F6: client=rv-out-0506.google.com[209.85.198.235]
May 25 20:19:13 ks20298 postfix/cleanup[3631]: BE49D268F6: message-id=<dca990660805251119q32ac39a2uc329de191ae241e6@mail.gmail.com>
May 25 20:19:13 ks20298 postfix/qmgr[3524]: BE49D268F6: from=<maurice.baruk@gmail.com>, size=2014, nrcpt=1 (queue active)
May 25 20:19:13 ks20298 postfix/virtual[3633]: warning: maildir access problem for UID/GID=9000/9000: create maildir file /var/spool/vmail//rissmau.com/postmaster/tmp/1211739553.P3633.ks20298.kimsufi.com: Permission denied
May 25 20:19:13 ks20298 postfix/virtual[3633]: warning: perhaps you need to create the maildirs in advance
May 25 20:19:13 ks20298 postfix/virtual[3633]: BE49D268F6: to=<postmaster@rissmau.com>, relay=virtual, delay=3.6, delays=3.5/0.02/0/0.02, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /var/spool/vmail//rissmau.com/postmaster/tmp/1211739553.P3633.ks20298.kimsufi.com: Permission denied)
May 25 20:19:21 ks20298 postfix/smtpd[3626]: 69C48268FA: client=rv-out-0506.google.com[209.85.198.235]
May 25 20:19:21 ks20298 postfix/cleanup[3631]: 69C48268FA: message-id=<dca990660805251025x471901f6uc6266fc8d256dda4@mail.gmail.com>
May 25 20:19:21 ks20298 postfix/qmgr[3524]: 69C48268FA: from=<maurice.baruk@gmail.com>, size=2213, nrcpt=1 (queue active)
May 25 20:19:21 ks20298 postfix/virtual[3633]: warning: maildir access problem for UID/GID=9000/9000: create maildir file /var/spool/vmail//rissmau.com/postmaster/tmp/1211739561.P3633.ks20298.kimsufi.com: Permission denied
May 25 20:19:21 ks20298 postfix/virtual[3633]: warning: perhaps you need to create the maildirs in advance
May 25 20:19:21 ks20298 postfix/virtual[3633]: 69C48268FA: to=<postmaster@rissmau.com>, relay=virtual, delay=0.5, delays=0.5/0/0/0.01, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /var/spool/vmail//rissmau.com/postmaster/tmp/1211739561.P3633.ks20298.kimsufi.com: Permission denied)
Please help ! c'est dur de débuter
Merci.
rissmau est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 26/05/2008, 17h04   #2
Rédacteur/Modérateur
 
Avatar de Siguillaume
 
Homme Guillaume SIGUI
Chef de projet en SSII
Inscription : août 2007
Messages : 2 388
Détails du profil
Informations personnelles :
Nom : Homme Guillaume SIGUI
Localisation : Côte d'Ivoire

Informations professionnelles :
Activité : Chef de projet en SSII
Secteur : High Tech - Produits et services télécom et Internet

Informations forums :
Inscription : août 2007
Messages : 2 388
Points : 3 177
Points : 3 177
Envoyer un message via Yahoo à Siguillaume Envoyer un message via Skype™ à Siguillaume
Bonjour et bienvenue sur le forum
Postes ton ficher de config de postfix
__________________
Un gros problème est la somme de plusieurs petits problèmes.
Resolvez chacun des petits problèmes: vous aurez resolu le gros problème!
Mes tutos || Mon blog || Développeurs ivoiriens
Siguillaume est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 16/07/2009, 09h07   #3
Invité de passage
 
Inscription : avril 2006
Messages : 22
Détails du profil
Informations forums :
Inscription : avril 2006
Messages : 22
Points : 4
Points : 4
Bonjour,

Je me permet de remettre à jour ce sujet puisque j'ai le même soucis et que je suis tombé sur ce forum dans ma recherche de solutions.

Voici mes log mail
Code :
Jul 16 08:30:14 ns303620 postfix/virtual[1453]: 995284E4B4: to=<contact@mon-domaine.fr>, relay=virtual, delay=79667, delays=79667/0.01/0/0.03, dsn=4.2.0, status=deferred (maildir delivery failed: create maildir file /var/spool/vmail//mon-domaine.fr/contact/tmp/1247725814.P1453.ns303620.ovh.net: Permission denied)
voici mon fichier main.conf de postfix
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
 
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
 
 
# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
 
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
 
# appending .domain is the MUA's job.
append_dot_mydomain = no
 
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
 
readme_directory = no
 
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
 
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
 
myhostname = ns303620.ovh.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ns303620.ovh.net, localhost.ovh.net, localhost
relayhost =
mynetworks = 127.0.0.0/8, 94.23.207.101, hash:/var/lib/pop-before-smtp/hosts
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
 
 
smtpd_sender_restrictions =
        permit_mynetworks
 
smtpd_recipient_restrictions =
        permit_mynetworks,
        reject_unauth_destination,
        reject_unknown_recipient_domain,
        reject_non_fqdn_recipient
 
smtpd_client_restrictions =
        reject_unknown_client,
        permit_mynetworks
 
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_aliases.cf,mysql:/etc/postfix/mysql-virtual_aliases_mailbox.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains.cf
 
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/spool/vmail/
 
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_create_maildirsize = yes
 
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
 
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "Sorry but the user quota is exceeded. Try again later."
virtual_overquota_bounce = yes
J'ai suivi entre autre ce tuto.

Je peux fournir plus d'infos si besoin.

Merci
tel22 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 16/07/2009, 10h08   #4
Nouveau Membre du Club
 
Saad Benbouzid
Inscription : juin 2008
Messages : 36
Détails du profil
Informations personnelles :
Nom : Saad Benbouzid
Âge : 24
Localisation : France, Rhône (Rhône Alpes)

Informations forums :
Inscription : juin 2008
Messages : 36
Points : 25
Points : 25
Envoyer un message via Skype™ à Macadoshis
Salut,

moi j'avais suivi celui-là. J'ai eu aucun problème de droits (sur répertoires ou BDD MySQL) (pour débutants :p)

Bonne chance
Macadoshis est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 16/07/2009, 11h01   #5
Invité de passage
 
Inscription : avril 2006
Messages : 22
Détails du profil
Informations forums :
Inscription : avril 2006
Messages : 22
Points : 4
Points : 4
Merci pour ta réponse

Mais en fait le tuto dont j'ai parlé reprend justement celui dont tu parles et le remet au gout du jour (car il date de 2006). Donc logiquement j'ai suivi à peut près le même tuto.

Personne n'a une idée du pb ? Je comprend pas, j'ai bien ajouté un user vmail avec les droits sur "/var/spool/vmail/"...
tel22 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 20h26.


 
 
 
 
Partenaires

Hébergement Web