Solved

Sendmail smtp auth on freebsd 6.1

Posted on 2006-11-08
6
652 Views
Last Modified: 2013-11-22
hi every body ,
I wouldlike to setup SMTP auth for sendmail in freeBSD 6.1 .
with this link (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html on the freebsd  handbook i have all the steps to follow. Almost!!!! because i dont have any  named : /usr/src/usr.sbin/sendmail

I suppose that i have to compile freebsd with some options to have it .... So my question is; how can i have this file and proceed my installation of sendmail .

Thanks in advance .

Regards
0
Comment
Question by:nexco
  • 4
6 Comments
 
LVL 29

Expert Comment

by:TeRReF
ID: 17901304
The handbook version you're using is outdated. Here's a recent version that states the correct paths and procedures...
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-uucp.html
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 17901325
Oh wait, that's exactly the same link :)
I can't find any reference to /usr/src/usr.sbin/sendmail on that page, can you give a more specific link to where /usr/src/usr.sbin/sendmail is refered to?
0
 
LVL 29

Expert Comment

by:TeRReF
ID: 17901370
I think the current dir to make sendmail from is:
/usr/src/etc/sendmail
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:nexco
ID: 17905068
hi TeRReF,
Thanks for the messages but my problem was in my freebsd install!
If you want to have usr.sbin   (and many others)   on /usr/src/  you have to  install freebsd with the delevoper optio . It includes source...

after what i return to the freebsd adress and  followed step by step the instructions.
you might have this error  while trying to run make in  /usr/src/usr.sbin/sendmail

make: don't know how to make alias.c. Stop  

so you have to do that :
# cd /usr/src/lib/libsm
# make obj && make depend && make
# cd /usr/src/lib/libsmutil
# make obj && make depend && make

and return to the manual to continue...
hope that help an other one !

Thanks!
0
 
LVL 29

Accepted Solution

by:
TeRReF earned 500 total points
ID: 17905109
Ah right, well done :)
0
 
LVL 1

Expert Comment

by:vbotka
ID: 17912670
If there is no specific reason for using sendmail I would recommend to use postfix http://www.postfix.org/ instead. The configuration is much easier and the functionality/compatibility/security is the same if not better. O'Railly Sendmail is 1000 pages dick. Just "cd /usr/ports/mail/postfix & make install" and try it. You will not switch back. If you are interested in SMTP AUTH take a look at http://postfix.state-of-mind.de/patrick.koetter/smtpauth/.

HTH, vlado
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now