No the ^ is supported by cyrus... i i create a mailbox usr/david.t it's
working.
the problem is to force postfix to lookup the LDAP database in order to
find the right uid
[EMAIL PROTECTED] as a real mailbox called dtouzeau has the uid in LDAP
here it is the postconf -n
address_verify_negative_cache = yes
address_verify_negative_expire_time = 3d
address_verify_negative_refresh_time = 3h
address_verify_poll_count = 3
address_verify_poll_delay = 3s
address_verify_positive_expire_time = 31d
address_verify_positive_refresh_time = 7d
address_verify_sender = double-bounce
bounce_notice_recipient = postmaster
bounce_queue_lifetime = 5d
bounce_service_name = bounce
bounce_size_limit = 50000
bounce_template_file = /etc/postfix/bounce.template.cf
config_directory = /etc/postfix
connection_cache_status_update_time = 600s
connection_cache_ttl_limit = 2s
default_destination_concurrency_limit = 20
default_destination_recipient_limit = 50
default_process_limit = 100
double_bounce_sender = double-bounce
header_address_token_limit = 10240
in_flow_delay = 1s
inet_interfaces = all
initial_destination_concurrency = 5
local_destination_concurrency_limit = 2
local_recipient_maps = ldap:VirtualMailboxMapsTable
mailbox_size_limit = 102400000
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
maximal_backoff_time = 4000s
maximal_queue_lifetime = 5d
message_size_limit = 102400000
milter_command_timeout = 180
milter_connect_macros = j _ {daemon_name} {if_name} {if_addr}
milter_connect_timeout = 180
milter_content_timeout = 600
milter_default_action = accept
milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject}
{cert_issuer}
milter_mail_macros = i {auth_type} {auth_authen} {auth_ssf}
{auth_author} {mail_mailer} {mail_host} {mail_addr} {client_addr}
milter_protocol = 3
milter_rcpt_macros = {rcpt_mailer} {rcpt_host} {rcpt_addr} {client_addr}
mime_nesting_limit = 100
minimal_backoff_time = 300s
mydestination = localhost,localhost.$mydomain,$myhostname
myhostname = pc-touzeau.klf.fr
mynetworks = 192.168.5.0/24, 192.168.1.0/24,127.0.0.1
qmgr_message_recipient_limit = 20000
qmgr_message_recipient_minimum = 10
queue_run_delay = 300s
recipient_canonical_maps = ldap:RecipientCanonicalTable
relay_domains = ldap:RelaisDomainsTable
relay_recipient_maps = ldap:RelaisRecipientTable
relayhost = localhost:24316
sender_canonical_maps = ldap:senderCanonicalTable
smtp_connect_timeout = 30s
smtp_connection_cache_on_demand = yes
smtp_connection_cache_time_limit = 2s
smtp_connection_reuse_time_limit = 300s
smtp_destination_concurrency_limit = $default_destination_concurrency_limit
smtp_helo_timeout = 300s
smtp_sasl_auth_enable = yes
smtp_sasl_mechanism_filter = plain, login
smtp_sasl_password_maps = ldap:SmtpSaslPasswordMaps
smtp_sasl_security_options = noanonymous
smtp_sender_dependent_authentication = yes
smtp_tls_note_starttls_offer = no
smtp_tls_session_cache_database =
btree:${queue_directory}/smtpd_tls_session_cache
smtp_use_tls = no
smtpd_client_connection_count_limit = 50
smtpd_client_connection_rate_limit = 0
smtpd_client_message_rate_limit = 0
smtpd_client_new_tls_session_rate_limit = 0
smtpd_client_recipient_rate_limit = 0
smtpd_error_sleep_time = 1s
smtpd_hard_error_limit = 20
smtpd_milters = unix:/var/run/milter-greylist/milter-greylist.sock
unix:/var/run/spfmilter/spfmilter.sock unix:/var/run/kas-milter.socket
unix:/var/spool/MIMEDefang/mimedefang.sock
smtpd_recipient_limit = 1000
smtpd_reject_unlisted_recipient = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_soft_error_limit = 10
smtpd_tls_ask_ccert = no
smtpd_tls_received_header = no
smtpd_tls_req_ccert = no
smtpd_tls_security_level = none
smtpd_tls_session_cache_timeout = 3600s
tls_random_exchange_name = /var/lib/postfix/prng
tls_random_source = dev:/dev/urandom
transport_maps = ldap:TransportMapsTable
undisclosed_recipients_header = To: undisclosed-recipients:;
virtual_alias_maps = ldap:VirtualAliasMapsTable,,
ldap:VirtualMailManMaps,ldap:VirtualAliasMailingTable
virtual_gid_maps = static:5000
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = ldap:mydestinationTable
virtual_mailbox_limit = 102400000
virtual_mailbox_maps = ldap:VirtualMailboxMapsTable
virtual_transport = $mailbox_transport
virtual_uid_maps = static:5000
Jorey Bump a écrit :
mouss wrote, at 09/06/2008 05:12 AM:
TOUZEAU DAVID wrote:
pc-touzeau.klf.fr[/var/run/cyrus/socket/lmtp]: RCPT TO:<[EMAIL PROTECTED]>
so you see. postfix says "RCPT TO:<[EMAIL PROTECTED]>".
Sep 6 10:55:18 pc-touzeau postfix/lmtp[19755]: >
pc-touzeau.klf.fr[/var/run/cyrus/socket/lmtp]: DATA
Sep 6 10:55:18 pc-touzeau cyrus/lmtpunix[19756]:
verify_user(user.david^t) failed: Mailbox does not exist
and cyrus doesn't like the recipient. (looks like the '.' became a
'^' in the log or maybe elsewhere?).
By default, Cyrus IMAPd does not allow "." in user or folder names,
and will convert it to "^". Such recipient addresses can be supported
by using aliases that point to users without a "." in the name.
This is what the OP is trying to do, and needs Postfix to perform the
lookup via LDAP to make the translation. I don't use LDAP, but it
looks like it's time for postconf -n.
--
* 01.41.39.04.42
* 06.20.56.74.33
* ICQ:160018849
* Skype:dtouzeau
* Site technique destiné aux entreprises:
http://entreprises.kaspersky.fr
* Inscrivez-vous dès maintenant dans l'espace partenaires !
<http://partners.kaspersky.fr>
(Retrouvez sur ces sites des faqs, tutoriaux, Forums et liens de
téléchargement de la gamme Buiness Optimal)
* *