10443 How do I add a directory to the manpath - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old August 20th, 2012, 10:00
mroussin51 mroussin51 is offline
Junior Member
 
Join Date: Dec 2011
Location: Chapel Hill NC
Posts: 34
Thanks: 4
Thanked 0 Times in 0 Posts
Default How do I add a directory to the manpath

Dir Sir or Madam;

How do I add the directory /var/qmail/man to the manpath? I have been looking hard in the wrong places for the answer to this!

Thanks again,

mroussin51
Reply With Quote
  #2  
Old August 20th, 2012, 10:34
glocke glocke is offline
Junior Member
 
Join Date: Oct 2011
Posts: 44
Thanks: 5
Thanked 9 Times in 6 Posts
Default

Hello,

see manpath(1). It should help if you add a file (e.g. called qmail.conf) under /usr/local/etc/man.d/ with the content
Code:
MANPATH /var/qmail/man
HTH glocke
Reply With Quote
  #3  
Old August 20th, 2012, 12:29
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

How did you install mail/qmail? There shouldn't be a need to edit the manpath. It certainly shouldn't install them in /var/qmail/.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #4  
Old August 21st, 2012, 10:58
mroussin51 mroussin51 is offline
Junior Member
 
Join Date: Dec 2011
Location: Chapel Hill NC
Posts: 34
Thanks: 4
Thanked 0 Times in 0 Posts
Default Sorry, I made a mess of the qmail install

Glocke,

Thanks for the reply. I tried it and no go.

regards,

mike

SirDice,

I installed it with a stick of dynamite. I first installed it from ports and tried to configure the scripts and decided it better to install from source code in which I downloaded. Then I thought it be best that I backup data and make a clean install. I am taking this time to write SOP's and I will be focused on finding/installing the best MTA for me. I am thoroughly ignorant to the subject matter. I found that qmail has some good tutorials on the web and it appears on the surface to be more secure.

Now that the smoke has cleared I thinks both install methods are fine and I feel like I am aware of my mistakes.

Thanks again for many posts and useful information!

regards,

Mike
Reply With Quote
  #5  
Old August 21st, 2012, 14:50
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,720
Thanks: 432
Thanked 1,759 Times in 1,457 Posts
Default

There are lots of files in /usr/ports/mail/qmail/files. The port takes advantage of those, and also makes it easy to uninstall or upgrade. Installing from raw source... does not.
Reply With Quote
  #6  
Old August 25th, 2012, 03:38
mroussin51 mroussin51 is offline
Junior Member
 
Join Date: Dec 2011
Location: Chapel Hill NC
Posts: 34
Thanks: 4
Thanked 0 Times in 0 Posts
Default I have wasted your time

Gentlemen,

I have determined that implementing qmail exceeds my current skill set.

My apology,

Mike Roussin
Reply With Quote
  #7  
Old August 25th, 2012, 05:11
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,720
Thanks: 432
Thanked 1,759 Times in 1,457 Posts
Default

Have you considered the more mundane MTAs like Postfix or Sendmail? They lack the weirdness factor of qmail.
Reply With Quote
  #8  
Old August 25th, 2012, 09:53
kpa kpa is offline
Giant Locked
 
Join Date: Jul 2010
Location: People's Technocratic Republic of Finland
Posts: 2,015
Thanks: 44
Thanked 467 Times in 397 Posts
Default

And Sendmail lacks the kitchen sink factor of Postfix
Reply With Quote
  #9  
Old April 18th, 2013, 18:07
B2Pi B2Pi is offline
Junior Member
 
Join Date: Mar 2013
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Wow. I realize I'm jumping on an old horse, but....

First, it's probably a bug that the qmail port doesn't alter the manpath, but it doesn't. Secondly, when the OP had a problem with the manpath, everyone ignored why it didn't work (9 on 1 he had something setting manpath in his shell start file).

Finally, as a devoted qmail user and installer, let me just ask if your solution to anything you don't understand is 'don't do that'?
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] No Kernel directory asaddotcom Installing & Upgrading 2 January 23rd, 2012 11:47
[Solved] Is manpath.config obsolete now? YZMSQ General 1 December 12th, 2011 06:39
question about the /var directory dongsky General 5 June 23rd, 2010 18:46
[Solved] mv directory recursively hirohitosan Userland Programming & Scripting 3 February 14th, 2010 17:21
play blu-ray from directory marudov Multimedia 3 September 10th, 2009 06:15


All times are GMT +1. The time now is 17:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0