Votre question

Problème avec le serveur mail

Tags :
  • Config PC
  • Internet
Dernière réponse : dans Internet
Anonyme
5 Mars 2009 07:58:18

bonjour !
j'ai un problème avec la configuration de postfix
-fichier de configuration:/etc/postfix/main.cf
# 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 (Ubuntu)

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/smtpd.crt

smtpd_tls_key_file = /etc/ssl/private/smtpd.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 = mail.tolotra-project.com

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

mydestination = mail.tolotra-project.com, domicile-ubuntu, ubuntu, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [:ffff:127.0.0.0]/104 [:1]/128 192.168.2.0/24
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
default_transport = smtp

relay_transport = smtp

myorigin = /etc/mailname

inet_protocols = all
home_mailbox = Maildir/
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth-client

smtpd_sasl_local_domain =

smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination

smtpd_tls_aut_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes

smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_loglevel = 1

smtpd_tls_received_header = yes
s
mtpd_tls_session_cache_timeout = 3600s
tls_random_source =dev:/dev/urandom
-puis j'ai installé et configuré "dovecot":
socket listen {
master {
# Master socket is typically used to give Dovecot's local delivery
# agent access to userdb so it can find mailbox locations. It can
# however also be used to disturb regular user authentications.
# WARNING: Giving untrusted users access to master socket may be a
# security risk, don't give too wide permissions to it!
#path = /var/run/dovecot/auth-master
#mode = 0600
# Default user/group is the one who started dovecot-auth (root)
#user =
#group =
}
client {
# The client socket is generally safe to export to everyone. Typical use
# is to export it to your SMTP server so it can do SMTP AUTH lookups
# using it.
path = /var/spool/postfix/private/auth-client
mode = 0660
user=postfix
group=postfix
}
}
Démarrage du démon:
/etc/init.d/dovecot restart
Et le problème commence:
fandkwa:/home/tco# /etc/init.d/dovecot restart
Restarting mail server: dovecotError: Can't use mail executable /usr/lib/dovecot/imap: No such file or directory
Puis j'ai tester avec la commande telnet et voilà le résultat:
fandkwa:/home/tco# telnet mail.tco-intranet.com 25
Trying 192.168.0.7...
Connected to mail.tco-intranet.com.
Escape character is '^]'.
Connection closed by foreign host.
S'l vous plaît aide moi!
mercide votre collaboration!


Autres pages sur : probleme serveur mail

13 Mars 2009 02:22:41

Citation :
bonjour !
j'ai un problème avec la configuration de postfix

[...]

fandkwa:/home/tco# /etc/init.d/dovecot restart
Restarting mail server: dovecotError: Can't use mail executable /usr/lib/dovecot/imap: No such file or directory


Il est ici ton problème !
Le dossier ou le fichier : /usr/lib/dovecot/imap
N'existe pas !
Vérifies qu'il existe !
Comment as tu installé dovecot ?
Tom's guide dans le monde
  • Allemagne
  • Italie
  • Irlande
  • Royaume Uni
  • Etats Unis
Suivre Tom's Guide
Inscrivez-vous à la Newsletter
  • ajouter à twitter
  • ajouter à facebook
  • ajouter un flux RSS