LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-14-2012, 04:25 AM   #1
M.Wajid
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
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
 
Old 06-14-2012, 04:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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
 
Old 06-14-2012, 05:45 AM   #3
M.Wajid
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
but i google about it but did not get specific document

if u have any link please tell me.

wajid
 
Old 06-14-2012, 05:54 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
what's wrong with the second result? Looks good to me.
 
Old 06-15-2012, 12:07 AM   #5
M.Wajid
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 06-15-2012, 01:03 AM   #6
M.Wajid
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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..

Last edited by M.Wajid; 06-15-2012 at 01:06 AM.
 
  


Reply

Tags
qmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
not updating domain/user info in mysql of vpopmail in qmail ghpradeep Red Hat 0 06-16-2011 02:30 AM
Open Webmail / Mailfront / smtpfront-qmail / qmail-smtpd Apollo77 Linux - Software 2 01-20-2009 03:33 AM
qmail /service/qmail-send: unable to open supervise mangueJOE Linux - Networking 19 12-13-2008 06:14 PM
applying c.k. davis qmail buffer patch to live qmail server baronsam Linux - Server 4 04-22-2007 02:02 PM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM


All times are GMT -5. The time now is 12:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration