oui, webaxis.fr c’est le vrai nom, et je teste en envoyant des mails à partir d’une adresse free…
Je précise que si je me connecte en ssh sur mon dedié, et que je m’envoi un mail en telnet 127.0.0.1 25 etc… ca fonctionne, j’ai bien le mail créé dans le dossier new, du dossier seb du dossier webaxis.fr.
Saurais tu de tête comment rendre courier verbose ? je vais chercher entre temps
A tout hasard je vous poste quelques fichiers conf :
/etc/courier/authmysqlrc
MYSQL_SERVER localhost
MYSQL_USERNAME postfix
MYSQL_PASSWORD pass
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE postfix
MYSQL_USER_TABLE mailbox
MYSQL_CRYPT_PWFIELD password
MYSQL_UID_FIELD 5000
MYSQL_GID_FIELD 5000
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD /var/spool/vmail/
MYSQL_NAME_FIELD name
MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
MYSQL_AUXOPTIONS_FIELD auxoptions
/etc/courier/authdaemonrc
authmodulelist="authmysql"
authmodulelistorig="authcustom authcram authuserdb authldap authpgsql authmysql authpam"
daemons=5
version=""
authdaemonvar=/var/run/courier/authdaemon
le postfix/main.cf
[code]smtpd_banner = $myhostname ESMTP (Debian/GNU)
biff = no
disable_vrfy_command = yes
smtpd_helo_required = yes
mydomain = webaxis.fr
append_dot_mydomain = yes
myhostname = mail.webaxis.fr
mydestination = localhost, localhost.localdomain
relayhost =
inet_interfaces = all
smtpd_sender_restrictions =permit_mynetworks,reject_unknown_sender_domain,warn_if_reject reject_unverified_sender
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 = "Desole, la boite email de l’utilisateur est pleine, essayez plus tard."
virtual_overquota_bounce = yes
[/code]
et le /etc/postfix/mysql-virtual_mailboxes.cf
hosts = 127.0.0.1
user = postfix
password = xxxx
dbname = postfix
select_field = CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
table = mailbox
where_field = email
additional_conditions = AND actif=1