Dovecot Error
by Emre Tugriceri on Dec.26, 2007, under Mail
imap-login: imap-login: error while loading shared libraries: libsepol.so.1: failed to map segment from shared object: Cannot allocate memory
64 bitlik bir sistem üzerinde dovecot ta imap ile ssl i aktif ettiğim zaman üstteki uyarıyı alıyordum. Problemin çözümü için /etc/dovecot.conf dosyası içerisinden;
“login_process_size = 32” olan değeri “login_process_size = 64” olarak değiştirmek yeterli.
Dovecot.conf içerisindeki açıklama ;
# Set max. process size in megabytes. If you don’t use
# login_process_per_connection you might need to grow this.
Powered by ScribeFire.
Fetchmail example
by Emre Tugriceri on Dec.24, 2007, under Mail
Example .fetchmailrc file ;
[root@mail Maildir]# cat /root/.fetchmailrc
defaults
fetchall
keep
set no bouncemail
poll 127.0.0.1 protocol IMAP
user efsaneuser@superdomain.com there with password xxxxx is efsane.user@superdomain.com here
smtphost 192.168.0.10
———————————————–
if you want to fetch old mails with subfolders, you can try this settings.
[root@mail Maildir]# cat /root/fet.sh
for gonder in “INBOX.Ocak” “INBOX.Subat” “INBOX.Mart” “INBOX.Nisan” “INBOX.Mayis” “INBOX.Haziran” “INBOX.Temmuz” “INBOX.Agustos” “INBOX.Eylul” “INBOX.Kasim” “INBOX.Aralik”
do
fetchmail -r $gonder
done
Powered by ScribeFire.
Qmail time stamps
by Emre Tugriceri on Nov.19, 2007, under Mail
tai64nlocal Qmail log larındaki TAI64N timestamp değerlerini okunabilir formata çevirmektedir.
Örnek olarak ;
[root@mail smtp]# echo “@4000000037c219bf2ef02e94” | tai64nlocal
1999-08-24 07:04:05.787492500
cat @4000000047414fa33437fd14.s | tai64nlocal
şeklindede kullanılabilir.