Last question! (I hope ...)

I also posted this on the cyrus mailing list but more aimed at a proper fix. I have a problem with cyrus lmtp delivery and case sensitive domain names(!).

This gets through : u...@domain.foo
This does not : u...@domain.foo

with lmtp_downcase_rcpt: 1 set in imapd.conf

I know (think, anyway ...) it's a cyrus issue (the above should lowercase the whole thing?), I've googled, but there's a postfix workaround using regex's also that popped up, I'm wondering if it's suitable for a quick fix or is this a deeper problem?

here's an example log :

Feb 13 08:26:44  postfix/smtpd[4578]: NOQUEUE: reject: RCPT from
unknown[175.107.182.124]: 450 4.1.1 <c...@aboc.com.au>: Recipient
address rejected: unverified address: host
rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp] said: 550-Mailbox
unknown.  Either there is no mailbox associated with this 550-name or
you do not have authorization to see it. 550 5.1.1 User unknown (in
reply to RCPT TO command); from=<c...@svr4.aboc.net.au>
to=<c...@aboc.com.au> proto=ESMTP helo=<svr4.aboc.net.au>

It's fine with lowercase domain names though ...

Feb 13 08:36:33  postfix/lmtp[8436]: CBA4A1B3D4A3:
to=<c...@aboc.com.au>,
relay=rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp], delay=0,
delays=0/0/0/0, dsn=2.1.5, status=deliverable (250 2.1.5 ok)


/usr/pkg/sbin/postconf -n
address_verify_map = btree:$data_directory/verify_cache
alias_database = hash:/usr/pkg/etc/postfix/aliases
alias_maps = hash:/usr/pkg/etc/postfix/aliases
command_directory = /usr/pkg/sbin
config_directory = /usr/pkg/etc/postfix
daemon_directory = /usr/pkg/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
lmtp_tls_mandatory_protocols = !SSLv2
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/pkg/bin/mailq
manpage_directory = /usr/pkg/man
milter_default_action = accept
myhostname = rollcage3.bl.echidna.id.au
mynetworks_style = subnet
newaliases_path = /usr/pkg/bin/newaliases
postscreen_access_list = permit_mynetworks,cidr:/usr/pkg/etc/postfix/postscreen_access.cidr postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2 bl.spameatingmonkey.net*2 dnsbl.ahbl.org*2 bl.spamcop.net dnsbl.sorbs.net psbl.surriel.com bl.mailspike.net swl.spamhaus.org*-4 list.dnswl.org=127.[0..255].[0..255].0*-2 list.dnswl.org=127.[0..255].[0..255].1*-3 list.dnswl.org=127.[0..255].[0..255].[2..255]*-4
postscreen_dnsbl_threshold = 3
postscreen_greet_action = enforce
queue_directory = /var/spool/postfix
readme_directory = /usr/pkg/share/doc/postfix
relay_recipient_maps = hash:/usr/pkg/etc/postfix/relay_recipients
sample_directory = /usr/pkg/share/examples/postfix
sendmail_path = /usr/pkg/sbin/sendmail
setgid_group = maildrop
smtp_tls_mandatory_protocols = !SSLv2
smtpd_banner = $myhostname ESMTP $mail_name (how far can a goat see-2.11.3)
smtpd_milters = unix:/var/clamav/clamav-milter.socket,unix:/var/run/spamass.sock smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_unknown_recipient_domain reject_unverified_recipient
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtpd_sasl_type = cyrus
smtpd_tls_cert_file = /usr/pkg/etc/postfix/certs/rollcage.bl.echidna.id.au.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_mandatory_protocols = !SSLv2
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/usr/pkg/etc/postfix/virtual
virtual_mailbox_domains = /usr/pkg/etc/postfix/virtual_mailbox_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtp




Reply via email to