J'ai fait une config et sa me donne sa je ne sais pas pourquoi (la requète emise vers mysql est bonne )
Résulta :
Nov 10 16:13:34 srv1 postfix/local[20158]: 123AB237: to=<gilles.gauvenet@cigrillen.net>,
relay=local, delay=1, status=bounced (unknown user: "gilles.gauvenet" )
Nov 10 16:13:34 srv1 postfix/qmgr[20078]: 123AB237: removed
j'ai desactiver le Chroot de postfix
main.cf :
---------
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
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
myhostname = localhost
alias_maps = hashetc/aliases
alias_database = hashetc/aliases
myorigin = /etc/mailname
mydestination = localhost, cigrillen.net
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
#Authentification par base de donnée
best_mx_transport = virtual
local_transport = local
virtual_transport = virtual
virtual_mailbox_domains = cigrillen.net
virtual_mailbox_maps = mysqletc/postfix/mysql_mailbox.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_minimum_uid = 5000
local_recipient_maps = $virtual_mailbox_maps
proxy_read_maps = $virtual_mailbox_maps
------------------
mysql_mailbox.cf :
------------------
user = root
password =
dbname = cig
table = email
select_field = CONCAT('/home/vmail/', id, '/')
where_field = id
hosts = localhost
-----------
table sql :
-----------
id passwd quota
--------------- | ---------------- | ------
gilles.gauvenet | 0y4WMk2EIwgMg | 10485760