Solved

Sendmail smtp auth on freebsd 6.1

Posted on 2006-11-08
6
663 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

691 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