>
> > Are you using Qmail's pop3d? IF you are, it is simply a parameter in the
> > start up, set @ qmail pop-up.
>
> I use tcpserver to handle POP3 connection via vpopmail pop3d listener. I
was
> curious to find out whether when I telnet to port 110 of domain2.com, will
> it greet me with domain1.com greetings?
>

No matter what domain you specify to telnet, AFAIK the listener will print
the hostname or whatever you have specified in qmail-popup

cat /var/service/qmail-pop3d/run
#! /bin/bash
exec 2>&1

PORT="pop3"
CDB="/var/service/qmail-pop3d/tcprules.cdb"
HOST="$(hostname)"
USER="root"
CHKPASS="/home/vpopmail/bin/vchkpw"
PATH=/var/qmail/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin; export PATH
COMMAND="qmail-popup $HOST $CHKPASS qmail-pop3d Maildir"

exec envuidgid $USER \
tcpserver -v -c200 -UX -x$CDB \
0 $PORT \
$COMMAND


Regards
Sumith

Reply via email to