LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Info about qmail (https://www.linuxquestions.org/questions/linux-server-73/info-about-qmail-4175411386/)

M.Wajid 06-14-2012 04:25 AM

Info about qmail
 
Hi,
i installed qmail on centos 5.
its working fine,

i want to enable smtp authentication on my server so that nobody cannot send mail without authentication.

Regards,
m.wajid

acid_kewpie 06-14-2012 04:37 AM

good for you.

we aren't here to be your search engine or recite documentation for you. There is a lot of information out there already, so have a read and if you have any *SPECIFIC* queries, please ask here and we'll be happy to try and help.

http://www.google.com/search?q=qmail...authentication

M.Wajid 06-14-2012 05:45 AM

but i google about it but did not get specific document

if u have any link please tell me.

wajid

acid_kewpie 06-14-2012 05:54 AM

what's wrong with the second result? Looks good to me.

M.Wajid 06-15-2012 12:07 AM

problem is that checkpassword not installing...


make
./load checkpassword prot.o unix.a byte.a `cat \
shadow.lib` `cat crypt.lib` `cat s.lib`
/usr/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in checkpassword.o
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [checkpassword] Error 1

M.Wajid 06-15-2012 01:03 AM

i install the checkpassword with this command

echo gcc -O2 -include /usr/include/errno.h > conf-cc

but i did not understand from link..

http://www1.cuni.cz/~vhor/qmail/smtpauth-en.html

modify qmail-smtpd startup. In case of

inetd: use anything like
"smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd /bin/checkpassword /bin/true"

Xinetd:
###############################
#/etc/xinetd.d/qmail-smtp
###############################
service smtp
{
socket_type = stream
wait = no
user = qmaild
server = /var/qmail/bin/tcp-env
server_args = -R /var/qmail/bin/qmail-smtpd sever.com /bin/checkpassword /bin/true
nice = 10
}
(thanks cameron (at) omigos (dot) ca)



qmail is running with qmailctl script..


All times are GMT -5. The time now is 12:22 AM.