Underscore in Hostname
jimbrett099 at comcast.net
jimbrett099 at comcast.net
Wed Jul 26 17:15:27 EDT 2006
I know that its technically not allowed by various RFCs but can cyrus handle underscores in a host name and, if so, how? We have a $50 billion market cap corporation as a customer who uses underscores in host names and thats apparently not going to change. If it can be done then great - if it cant be done then it cant be done
Version: Cyrus IMAP4 v2.2.12 [ESMTP Postfix (2.2.1) "Brand X"]
I was thinking at first that it was in the postfix arena but am led to believe that postfix does allow underscores and that messages being bounced (and deleted) by cyrus. Here are specific error messages from syslog:
501 5.5.4 Syntax error in parameters (in reply to MAIL FROM command))
501 5.5.4 Syntax error in parameters (in reply to RCPT TO command))
Heres more complete entry from syslog:
Jul 26 16:15:10 ssfo2_jb postfix/smtpd[4303]: [ID 197553 mail.info] 32D6530BB09: client=ssfo2_jb[1.2.3.4]
Jul 26 16:15:10 ssfo2_jb postfix/cleanup[4315]: [ID 197553 mail.info] 32D6530BB09: message-id=<15366006.1153944910185.JavaMail.ourcompany at ssfo2_jb>
Jul 26 16:15:10 ssfo2_jb postfix/smtpd[4303]: [ID 197553 mail.info] disconnect from ssfo2_jb[1.2.3.4]
Jul 26 16:15:10 ssfo2_jb postfix/qmgr[4266]: [ID 197553 mail.info] 32D6530BB09: from=<testaccount at ssfo2_jb.ourcompany.com>, size=702, nrcpt=1 (queue active)
Jul 26 16:15:10 ssfo2_jb postfix/lmtp[4317]: [ID 197553 mail.info] 32D6530BB09: to=<monitoruser at ssfo2_jb.ourcompany.com>, relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp], delay=0, status=bounced (host /var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp] said: 501 5.5.4 Syntax error in parameters (in reply to MAIL FROM command))
Jul 26 16:15:10 ssfo2_jb postfix/lmtp[4317]: [ID 197553 mail.info] ourcompany notifications being sent to: localhost:8686
Jul 26 16:15:10 ssfo2_jb postfix/cleanup[4315]: [ID 197553 mail.info] 5D03630BB0A: message-id=<20060726201510.5D03630BB0A at ssfo2_jb.ourcompany.com>
Jul 26 16:15:10 ssfo2_jb postfix/qmgr[4266]: [ID 197553 mail.info] 5D03630BB0A: from=<>, size=2681, nrcpt=1 (queue active)
Jul 26 16:15:10 ssfo2_jb postfix/qmgr[4266]: [ID 197553 mail.info] 32D6530BB09: removed
Jul 26 16:15:10 ssfo2_jb postfix/lmtp[4317]: [ID 197553 mail.info] 5D03630BB0A: to=<testaccount at ssfo2_jb.ourcompany.com>, relay=/var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp], delay=0, status=bounced (host /var/spool/postfix/public/lmtp[/var/spool/postfix/public/lmtp] said: 501 5.5.4 Syntax error in parameters (in reply to RCPT TO command))
Jul 26 16:15:10 ssfo2_jb postfix/lmtp[4317]: [ID 197553 mail.info] ourcompany notifications being sent to: localhost:8686
Jul 26 16:15:10 ssfo2_jb postfix/qmgr[4266]: [ID 197553 mail.info] 5D03630BB0A: removed
Jul 26 16:15:18 ssfo2_jb postfix/smtpd[4313]: [ID 197553 mail.info] connect from localhost[127.0.0.1]
Jul 26 16:15:18 ssfo2_jb postfix/smtpd[4313]: [ID 197553 mail.info] disconnect from localhost[127.0.0.1]
// OS Info
# uname -a
SunOS machine.company.com 5.8 Generic_117350-13 sun4u sparc SUNW,Sun-Fire-V240
// contents of cyrus.conf
bash-2.03# cat ./usr/local/imapldap/util/cyrus.conf
START {
# do not delete these entries!
mboxlist cmd="ctl_mboxlist -r"
deliver cmd="ctl_deliver -r"
# this is only necessary if using idled for IMAP IDLE
#idled cmd="idled"
}
# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
# imaps cmd="imapd -s" listen="imaps" prefork=0
# pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
# sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp"
prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_mboxlist -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="ctl_deliver -E 3" period=1440
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30" period=60
}
// - - -
// contents of imapd.conf
bash-2.03# cat ./usr/local/imapldap/util/imapd.conf
admins: cyrus
allowanonymouslogin: no
autocreatequota: 10240
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
hashimapspool: yes
sieveuserhomedir: no
sievedir: /store/spool/sieve
configdirectory: /store/imap
partition-default: /store/spool/imap
sasl_pwcheck_method: saslauthd
mboxlist_db: skiplist
duplicate_db: skiplist
subscription_db: flat
seenstate_db: skiplist
fulldirhash: yes
lmtpsocket: /var/spool/postfix/public/lmtp
#
#tls_cert_file: /usr/ssl/certs/cert.pem
#tls_key_file: /usr/ssl/certs/skey.pem
#tls_ca_file: /usr/ssl/CA/usedCA.pem
#tls_ca_path: /usr/ssl/CA
duplicatesuppression: yes
More information about the Info-cyrus
mailing list