Supprimer un message
rfr
c'est sûr que maintenant, il va falloir délivrer sur lmtp ...
Donc, dans ton fichier /etc/imapd.conf, tu as une ligne "lmtpsocket: /path/to/socket"
Maintenant, tu vires tout ce qui est relatif à virtual_xxxxx dans le main.cfde postfix, et tu rajoutes ton domain à ton "mydestination"
Tu ajoutes enesuite:
mailbox_transport = lmtp:unix:/path/to/socket (donc la valeur trouvée dnas imapd.conf)
Voici ce que tu peux virer:
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
home_mailbox = .maildir/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
Keep it simple and stupid
Donc, dans ton fichier /etc/imapd.conf, tu as une ligne "lmtpsocket: /path/to/socket"
Maintenant, tu vires tout ce qui est relatif à virtual_xxxxx dans le main.cfde postfix, et tu rajoutes ton domain à ton "mydestination"
Tu ajoutes enesuite:
mailbox_transport = lmtp:unix:/path/to/socket (donc la valeur trouvée dnas imapd.conf)
Voici ce que tu peux virer:
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
home_mailbox = .maildir/
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
Keep it simple and stupid