[Dovecot] running postlogin script result in libgcc_s.so.1 must be installed for pthread_cancel to work

Kim Johansen maia at weiser.dk
Sat Mar 1 20:53:28 UTC 2014


Hey,

I try to run a postlogin script with:

service pop3 {
   executable = pop3 postlogin
}
service postlogin {
   executable = script-login /etc/dovecot/popafter.sh
   user = $default_internal_user
   unix_listener postlogin {
   }
}

In my popafter.sh I call a php script, and that result in:
dovecot: postlogin: Error: libgcc_s.so.1 must be installed for 
pthread_cancel to work
dovecot: postlogin: Error: Aborted (core dumped)

I have tried google it, but cannot find a solution there works for me, 
anybody who can help me?


mail dovecot $ sudo dovecot -n
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-59-generic x86_64 Ubuntu 12.04.4 LTS ext4
disable_plaintext_auth = no
mail_location = 
maildir:/var/mail/vmail/%d/%n:INDEX=/var/mail/vmail/%d/%n/indexes
mail_plugins = quota
passdb {
   args = /etc/dovecot/dovecot-sql.conf.ext
   driver = sql
}
plugin {
   quota = maildir:User quota
   quota_exceeded_message = The user you are trying to reach is over quota.
   quota_rule = *:bytes=100M
   quota_rule2 = INBOX.Trash:storage=+20%%
}
protocols = " imap lmtp pop3"
service imap {
   executable = imap postlogin
}
service lmtp {
   unix_listener /var/spool/postfix/private/dovecot-lmtp {
     group = postfix
     mode = 0600
     user = postfix
   }
}
service pop3 {
   executable = pop3 postlogin
}
service postlogin {
   executable = script-login /etc/dovecot/popafter.sh
   user = $default_internal_user
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
   driver = prefetch
}
protocol imap {
   mail_plugins = quota imap_quota
}

Thanks,

Kim


More information about the dovecot mailing list