pop3d problem on redhat 7.3

Manfred F. manfred at fastflowsrl.com
Sat Aug 31 09:16:36 EDT 2002


hi,
i have a problem with redhat 7.3 and cyrus-imap 2.1.8, 
I can connect to the port, but no welcome message from the server.  The
pop3d service is running under cyrus-master.  Not sure what is causing the
problem.  /etc/services has pop3 listed as port 110, and there isn't
anything unusual about the setup that I know of.  
I compile all componets .. sals , db4 ... 

there aren't firewall rule , other inetd (is disable ) ect 

the strange is the imap work perfectly !!!!! 

Also is very strange the same binaries work on rh 7.2



my imap.conf :
configdirectory: /zeropiu/data/cyrus-conf
partition-default: /zeropiu/data/cyrus-store/zeropiu

partition-ArenaPatent: /zeropiu/data/cyrus-store/ArenaPatent
partition-Borghiniecossa: /zeropiu/data/cyrus-store/Borghiniecossa
partition-Cantagalloassicurazioni: /zeropiu/data/cyrus-store/Cantagalloassicuraz
ioni
partition-CateringMarket: /zeropiu/data/cyrus-store/CateringMarket
partition-ConsIdricoNord: /zeropiu/data/cyrus-store/ConsIdricoNord
partition-Dos-Donts: /zeropiu/data/cyrus-store/Dos-Donts
partition-DueRuoteBmw: /zeropiu/data/cyrus-store/DueRuoteBmw
partition-Intersafe: /zeropiu/data/cyrus-store/Intersafe
partition-LegaAmbiente: /zeropiu/data/cyrus-store/LegaAmbiente
partition-NoelAutomation: /zeropiu/data/cyrus-store/NoelAutomation
partition-Pharmatrade: /zeropiu/data/cyrus-store/Pharmatrade
partition-RentADream: /zeropiu/data/cyrus-store/RentADream
partition-RockFM: /zeropiu/data/cyrus-store/RockFM
partition-Segugio-Europa: /zeropiu/data/cyrus-store/Segugio-Europa
partition-VVFLissone: /zeropiu/data/cyrus-store/VVFLissone
partition-temporanei: /zeropiu/data/cyrus-store/temporanei

sasl_mech_list: PLAIN
unixhierarchysep: yes
altnamespace: yes
admins: cyrus root
#allowanonymouslogin: no
allowplaintext: yes
sasl_pwcheck_method: saslauthd
singleinstancestore: yes
duplicatesuppression: yes
servername: Zeropiu Mailer System 0.9PL1
postmaster: postmaster
reject8bit: no
quotawarn: 90
#second
imapidlepoll: 60
sendmail: /usr/sbin/sendmail
sievedir: /zeropiu/cyrus-conf/sieve
hashimapspool: false
sieve_maxscriptsize: 32
sieve_maxscripts: 5
lmtpsocket:/opt/cyrus/state/lmtp
idlesocket:/opt/cyrus/state/idle
#notifysocket:/opt/cyrus/state/notify


cyrus.conf :
# standard standalone server implementation

START {
  # do not delete this entry!
  recover       cmd="ctl_cyrusdb -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/sockets
SERVICES {
  # add or remove based on preferences
  imap          cmd="imapd" listen="imap" prefork=5
  imaps         cmd="imapd -s" listen="imaps" prefork=1
  pop3          cmd="pop3d" listen="pop3" prefork=3
  pop3s         cmd="pop3d -s" listen="pop3s" prefork=1
  sieve         cmd="timsieved" listen="sieve" prefork=0

  # at least one LMTP is required for delivery
#  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/opt/cyrus/state/lmtp" prefork=1
  # this is only necessary if using notifications
#  notify       cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefo
rk=1
}

EVENTS {
  # this is required
  checkpoint    cmd="ctl_cyrusdb -c" period=30

  # this is only necessary if using duplicate delivery suppression
  delprune      cmd="ctl_deliver -E 3" period=1440

  # this is only necessary if caching TLS sessions
  tlsprune      cmd="tls_prune" period=1440
}

cyrus imap param 
./configure  --prefix=/opt/cyrus --exec-prefix=/opt/cyrus --with-cyrus-prefix=
/opt/cyrus/ --with-auth=unix --with-openssl=/opt/security/openssl/ --with-sasl=/
opt/cyrus/ --disable-gssapi --with-com_err=/opt/security/heimdal/ --without-ucds
nmp --with-mboxlist-db=skiplist --with-seen-db=skiplist --without-notify --with-
dbdir=/opt/db4/


small strace of pop connection :
d 24084] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40029000
[pid 24084] read(6, "# libotp.la - a libtool library "..., 4096) = 720
[pid 24084] close(6)                    = 0
[pid 24084] munmap(0x40029000, 4096)    = 0
[pid 24084] open("/usr/lib/sasl2/libotp.so.2", O_RDONLY) = 6
[pid 24084] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000J\1\000"..., 1024) = 1024
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=580776, ...}) = 0
[pid 24084] old_mmap(NULL, 399300, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x400ec000
[pid 24084] mprotect(0x40143000, 42948, PROT_NONE) = 0
[pid 24084] old_mmap(0x40143000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x57000) = 0x40143000
[pid 24084] old_mmap(0x4014c000, 6084, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4014c000
[pid 24084] close(6)                    = 0
[pid 24084] mprotect(0x400ec000, 356352, PROT_READ|PROT_WRITE) = 0
[pid 24084] mprotect(0x400ec000, 356352, PROT_READ|PROT_EXEC) = 0
[pid 24084] brk(0x8118000)              = 0x8118000
[pid 24084] open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 6
[pid 24084] close(6)                    = 0
[pid 24084] open("/usr/lib/sasl2/libplain.la", O_RDONLY) = 6
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=713, ...}) = 0
[pid 24084] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40029000
[pid 24084] read(6, "# libplain.la - a libtool librar"..., 4096) = 713
[pid 24084] close(6)                    = 0
[pid 24084] munmap(0x40029000, 4096)    = 0
[pid 24084] open("/usr/lib/sasl2/libplain.so.2", O_RDONLY) = 6
[pid 24084] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\v\0"..., 1024) = 1024
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=80373, ...}) = 0
[pid 24084] old_mmap(NULL, 14156, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40029000
[pid 24084] mprotect(0x4002c000, 1868, PROT_NONE) = 0
[pid 24084] old_mmap(0x4002c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x4002c000
[pid 24084] close(6)                    = 0
[pid 24084] open("/opt/db4//lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24084] open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24084] open("/opt/cyrus//lib/libcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24084] open("/etc/ld.so.cache", O_RDONLY) = 6
[pid 24084] fstat64(6, {st_mode=S_IFREG|0644, st_size=31002, ...}) = 0
[pid 24084] old_mmap(NULL, 31002, PROT_READ, MAP_PRIVATE, 6, 0) = 0x4014e000
[pid 24084] close(6)                    = 0
[pid 24084] open("/lib/libcrypt.so.1", O_RDONLY) = 6
[pid 24084] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\t\0"..., 1024) = 1024
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=23575, ...}) = 0
[pid 24084] old_mmap(NULL, 182876, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40156000
[pid 24084] mprotect(0x4015b000, 162396, PROT_NONE) = 0
[pid 24084] old_mmap(0x4015b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x4000) = 0x4015b000
[pid 24084] old_mmap(0x4015c000, 158300, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015c000
[pid 24084] close(6)                    = 0
[pid 24084] munmap(0x4014e000, 31002)   = 0
[pid 24084] open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 6
[pid 24084] close(6)                    = 0
[pid 24084] open("/usr/lib/sasl2/libanonymous.la", O_RDONLY) = 6
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=729, ...}) = 0
[pid 24084] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4014e000
[pid 24084] read(6, "# libanonymous.la - a libtool li"..., 4096) = 729
[pid 24084] close(6)                    = 0
[pid 24084] munmap(0x4014e000, 4096)    = 0
[pid 24084] open("/usr/lib/sasl2/libanonymous.so.2", O_RDONLY) = 6
[pid 24084] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\v\0"..., 1024) = 1024
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=79639, ...}) = 0
[pid 24084] old_mmap(NULL, 13756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x4014e000
[pid 24084] mprotect(0x40151000, 1468, PROT_NONE) = 0
[pid 24084] old_mmap(0x40151000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x40151000
[pid 24084] close(6)                    = 0
[pid 24084] open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 6
[pid 24084] close(6)                    = 0
[pid 24084] open("/usr/lib/sasl2/liblogin.la", O_RDONLY) = 6
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=713, ...}) = 0
[pid 24084] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40152000
[pid 24084] read(6, "# liblogin.la - a libtool librar"..., 4096) = 713
[pid 24084] close(6)                    = 0
[pid 24084] munmap(0x40152000, 4096)    = 0
[pid 24084] open("/usr/lib/sasl2/liblogin.so.2", O_RDONLY) = 6
[pid 24084] read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\v\0\000"..., 1024) = 1024
[pid 24084] fstat64(6, {st_mode=S_IFREG|0755, st_size=80763, ...}) = 0
[pid 24084] old_mmap(NULL, 14216, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40152000
[pid 24084] mprotect(0x40155000, 1928, PROT_NONE) = 0
[pid 24084] old_mmap(0x40155000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0x2000) = 0x40155000
[pid 24084] close(6)                    = 0
[pid 24084] getdents64(0x5, 0x8114a00, 0x1000, 0) = 0
[pid 24084] close(5)                    = 0
[pid 24084] open("/zeropiu/data/cyrus-conf/db/skipstamp", O_RDONLY) = 5
[pid 24084] read(5, "=p\275\206", 4)    = 4
[pid 24084] close(5)                    = 0
[pid 24084] time(NULL)                  = 1030799159
[pid 24084] getpid()                    = 24084
[pid 24084] open("/zeropiu/data/cyrus-conf/mailboxes.db", O_RDWR) = 5
[pid 24084] fcntl64(5, F_SETLKW, {type=F_RDLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid 24084] fstat64(5, {st_mode=S_IFREG|0600, st_size=191576, ...}) = 0
[pid 24084] stat64("/zeropiu/data/cyrus-conf/mailboxes.db", {st_mode=S_IFREG|0600, st_size=191576, ...}) = 0
[pid 24084] mmap2(NULL, 204800, PROT_READ, MAP_SHARED, 5, 0) = 0x40183000
[pid 24084] fcntl64(5, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
[pid 24084] open("/zeropiu/data/cyrus-conf/socket/pop3.lock", O_RDWR|O_CREAT, 0600) = 6
[pid 24084] fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}tls_cert_file: /zeropiu/data/cyrus-conf/server.pem






More information about the Info-cyrus mailing list