Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: Ali Nebi в Sep 12, 2007, 11:48



Титла: Проблем с postfix и cyrus-imap
Публикувано от: Ali Nebi в Sep 12, 2007, 11:48
Здравейте,

имам един проблем на един мейлсървър.

Няколко дена получавам тези грешки в логовете:

Цитат

/usr/libexec/postfix/lmtp: bad command startup -- throttling : 588 Time(s)
     198.231.4.83.rbl-plus.mail-abuse.org: RBL lookup error: Host or domain name not found. Name service error for name=198.231.4.83.rbl-plus.mail-abuse.org type=A: Host not found, try again : 2 Time(s)
     3.77.214.79.rbl-plus.mail-abuse.org: RBL lookup error: Host or domain name not found. Name service error for name=3.77.214.79.rbl-plus.mail-abuse.org type=A: Host not found, try again : 2 Time(s)
     dict_ldap_lookup: Search error -5: Timed out  : 2 Time(s)
     network_biopair_interop: error reading 5 bytes from the network: Connection reset by peer : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeaa10 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeaa30 *** : 4 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeabb0 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeac10 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeac50 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeacb0 *** : 4 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeacf0 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdead30 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdead70 *** : 4 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeadb0 *** : 4 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeaf20 *** : 4 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeb070 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeb0c0 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: *** glibc detected *** lmtpd: double free or corruption (out): 0x00002aaaacdeb0d0 *** : 2 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: /lib64/libc.so.6(db.001 : 20 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: 2aaaaaac6000-2aaaaaacc000 rw-s 00000000 fd:00 57246642                   /var/lib/imap/db/db.002 : 20 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: 2aaaaaad3000-2aaaaab75000 rw-s 00000000 fd:00 57246649                   /var/lib/imap/db/db.003 : 20 Time(s)
     non-LMTP response from hermod.iguanait.com[/var/lib/imap/socket/lmtp]: 2aaaaab75000-2aaaaab8d000 rw-s 00000000 fd:00
fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"
 fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"
 fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"
 fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"
 fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"
 fatal: open dictionary: expecting "type:name" form instead of "/var/lib/imap/socket/lmtp"


Използвамве fedora 6,cyrus-imapd-2.3.9-6.fc6, postfix-2.3.3-2
Това изглежда става по някое време на деня, иначе като цяло мейл сървърът работи без проблеми. Няма грешки в RAM паметта.

Някакви идеи какво мога направя по въпроса?


Титла: Проблем с postfix и cyrus-imap
Публикувано от: laskov в Sep 12, 2007, 12:39
1. Това hermod.iguanait.com името на тази машина ли е?
2. Как изглеждат редовете mailbox_transport =     и virtual_transport =    в main.cf на postfix ?


Титла: Проблем с postfix и cyrus-imap
Публикувано от: Ali Nebi в Sep 12, 2007, 13:23
Да, hermod.iguanait.com е името на машината

default_transport = smtp
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp


Титла: Проблем с postfix и cyrus-imap
Публикувано от: laskov в Sep 12, 2007, 17:17
Единственото, което ми идва наум е, че ако сървърът е по-натоварен и в /etc/cyrus.conf имаш
Цитат
lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0
да го направиш на
Цитат
lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=1
Не знам какво да мисля за първите няколко реда от цитираните грешки. Достъпа до мрежата ли му изчезва ... :(


Титла: Проблем с postfix и cyrus-imap
Публикувано от: Ali Nebi в Sep 13, 2007, 15:02
За ldap i dict грешките проучих, и за тях няма проблем било е моментно, всичко си работи както трябва.

иначе в cyrus.conf е сетнато:

lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

Но едва ли в това е проблема, защото със по-старата версия, такъв проблем сме си нямали.
Създадох репорт в бъгзилата на федората за проблема. Решихме да се върнем към по-старата версия на cyrus, докато решат проблема с новата версия.

Ами просто cyrus се крашва. Показва уж, че работи обаче когато се опитам да дръпна новите писма от мейл клиент и казва, че няма връзка със сървъра или пък просто не получавам писмата. Те си седят в опашката, но сървъра не ги доставя до крайните потребители. Когато рестартирам машината и писмата си идват. До следващото крашване.


Мерси все пак за опита да помогнеш, както и за отделеното време.