Hi all, We have a central mailserver that receives internet mail. Decentralized mail servers pull the internet mail from this server with fetchmail.
On the decentralized mail servers (that are connected to the internet) I want to blok all smtp connection (also for mails send to local receipents) accept when the user is authenticated or if the ip from witch the mail is send is accepted. I use tcpserver: Run: #!/bin/sh exec 2>&1 \ envdir ./env \ sh -c ' case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; esac case "$REMOTEINFO" in r) R=;; [0-9]*) R="t$REMOTEINFO";; *) R=R;; esac exec \ envuidgid qmaild \ softlimit ${DATALIMIT+"-d$DATALIMIT"} \ /usr/bin/tcpserver \ -vDU"$H$R" \ ${LOCALNAME+"-l$LOCALNAME"} \ ${BACKLOG+"-b$BACKLOG"} \ ${CONCURRENCY+"-c$CONCURRENCY"} \ -xtcp.cdb \ -- "${IP-0}" "${PORT-25}" \ /var/qmail/bin/qmail-smtpd ' Tcp: Allowed ip 1:allow,RELAYCLIENT="" Allowed ip 2:allow,RELAYCLIENT="" :allow,SMTPAUTH="" :deny Any solutions? Regards, Didier