On Mon, 2003-11-24 at 09:45, Dino Ming wrote: > > I'm using the latest patch. What place to set and set what ? > SMTPAUTH=??? AUTHREQUIRED=??? > > Look like I can set from env variable. but how ? could someone give me > a working example on basic SMTP Auth ? > Dino, my preferred way of setting the SMTPAUTH (and other variables) is via tcpserver: Edit /etc/tcp.smtp so that SMTPAUTH is set for the range of IP addresses that you want to force to use authentication. Example:
:allow,SMTPAUTH="" or: 192.168.0.:allow,SMTPAUTH="" To make TLS mandatory, you can also set it there: :allow,SMTPAUTH="TLSREQUIRED" You can also set additional variables using this same method: # Use Qmail-Scanner with SpamAssassin on any mail :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl",RBL="",\ SMTPAUTH="TLSREQUIRED",AUTHPREPEND="authenticated:",SENDERCHECK="",\ RETURNMXCHECK="",SANITYCHECK="" Don't forget to update the tcpserver after you made your edits: tcprulescheck /etc/tcp.smtp.cdb < /etc/tcp/smtp > > ______________________________________________________________________ -- Thomas Klettke <[EMAIL PROTECTED]>
