Hello I am having a difficult time with authentication and I don’t know what is missing.

 

What I have done it attempted to setup SMTP authentication.

 

Since this attempt I have not been able to POP without using the complete email address as the account name.

 

I have pulled the SMTP auth and now I am just trying to run QMAIL and Vpopmail and still cant POP correctly.

 

POP use to work now it does not for some reason.

 

Here is the start script

 

#!/bin/sh

# Qmail Startup

# set the max open files

# linux 2.4

# echo 16384 > /proc/sys/fs/file-max

#

# linux 2.2

# echo 80000 > /proc/sys/fs/file-max && echo 80000 > /proc/sys/fs/inode-max

#

 

HOSTNAME=`hostname`

 

# See how we were called.

case "$1" in

start)

 

   cd /

 

   echo "Starting: "

   env - PATH="/var/qmail/bin:/usr/local/bin" \

   qmail-start ./Maildir/ | /usr/local/bin/setuidgid qmaill \

   /usr/local/bin/multilog t n20 s1000000 /var/log/qmail &

   echo "qmail "

 

   env - PATH="/var/qmail/bin:/usr/local/bin" \

   tcpserver -vHRD -l$HOSTNAME -c400 0 110 /var/qmail/bin/qmail-popup \

   $HOSTNAME \

   /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 |  \

    /usr/local/bin/setuidgid qmaill \

   /usr/local/bin/multilog t n20 s1000000 /var/log/pop3 &

   echo "pop "

 

#        /usr/lib/courier-imap/libexec/imapd.rc start

#        /usr/local/share/sqwebmail/libexec/authlib/authdaemond start

 

   env - PATH="/var/qmail/bin:/usr/local/bin" \

   tcpserver -pvHRD -l$HOSTNAME -x /etc/tcp.smtp.cdb \

   -c450 -u89 -g89 0 25 /usr/local/bin/rblsmtpd -r relays.ordb.org \

   /var/qmail/bin/qmail-smtpd 2>&1 |  \

   /usr/local/bin/setuidgid qmaill \

   /usr/local/bin/multilog t n20 s1000000 /var/log/smtp &

   echo "smtp"

   ;;

stop)

   echo "stopping qmail"

   pkill -9 qmail-send

   pkill -9 tcpserver

   pkill -9 qmail-remote

   pkill -9 qmail-smtpd

#        /usr/lib/courier-imap/libexec/imapd.rc stop

#       /usr/local/share/sqwebmail/libexec/authlib/authdaemond stop

   ;;

restart)

   $0 stop

   $0 start

   ;;

*)

   echo "Usage: qmail {start|stop|restart}"

   exit 1

esac

exit

 

 

Here is the message in logs I get when I cant connect

 

Mar 31 11:52:07 spam vpopmail[5256]: vchkpw: vpopmail user not found wildcard@:192.168.141.254

 

Thanks

Mike

Reply via email to