[Dovecot] about postlogin in dovecot2

bmalik bmalik at ihlas.net.tr
Tue Sep 4 07:15:23 EEST 2012


i am sorry 

when i login to the server using pop3s,   i see in the dovecot log;

@4000000050457dd9179c653c pop3-login: Info: Login: user=<test at byserver.net>,
method=DIGEST-MD5, rip=192.168.12.220, lip=192.168.12.115, mpid=87395, TLS,
session=<w8H1WtjISwDV7pbc> 

if i add my mail address into the users-with-forced-encryption file, i would
not reach my account.

i get an error;
@4000000050457dd9183f542c pop3(test at byserver.net): Info: Post-login script
denied access to user test at byserver.net
whereas i connect to the account via pop3s 
if i remove my mail address from the users-with-forced-encryption
there is no problem.

my postlogin_pop3.sh;
#!/usr/local/bin/bash
if [ "$SECURED" == "secure" ]
then
  :# handle secure connections here
else
  :# handle insecure connections here
  if grep -q "$USER" in /usr/local/etc/dovecot/users-with-forced-encryption
  then
    printf "* NO [ALERT] You are not allowed to connect without
encryption\r\n"
    exit 0
  fi
fi
exec "$@"
###########
there is also no problem related to SSL certificate 
what can be the issue ? 






--
View this message in context: http://dovecot.2317879.n4.nabble.com/about-postlogin-in-dovecot2-tp5993p37388.html
Sent from the Dovecot mailing list archive at Nabble.com.



More information about the dovecot mailing list