PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Installing sendmail in a custom directory
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Installing sendmail in a custom directory

Réponse
 
LinkBack Outils de la discussion
Vieux 10/05/2007, 06h37   #1
Sting
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Installing sendmail in a custom directory

I'm looking at compiling sendmail and installing it in a directory of
my choice, say /opt/sendmail.8.13.8 however I'd like the config files
to default to /etc/mail. Any ideas?

The O/S I'm using is Solaris 9.

  Réponse avec citation
Vieux 10/05/2007, 07h08   #2
gerryt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

On May 9, 10:37 pm, Sting <khurra...@gmail.com> wrote:
> I'm looking at compiling sendmail and installing it in a directory of
> my choice, say /opt/sendmail.8.13.8 however I'd like the config files
> to default to /etc/mail. Any ideas?
> The O/S I'm using is Solaris 9.


You can start with looking at sendmail-8.13.8/devtools/OS/SunOS.5.9

  Réponse avec citation
Vieux 10/05/2007, 07h31   #3
Sting
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

Pardon my ignorance but I'm relatively new to sendmail. I'm guessing
that one can configure sendmail to look in /etc/mail for the configs
but how do I install all binaries to a directory of my choice? What
should be passed on to Build install to make this happen?

  Réponse avec citation
Vieux 10/05/2007, 08h47   #4
Dick Hoogendijk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

quoting Sting (9 May 2007 23:31:08 -0700):
> Pardon my ignorance but I'm relatively new to sendmail. I'm guessing
> that one can configure sendmail to look in /etc/mail for the configs
> but how do I install all binaries to a directory of my choice? What
> should be passed on to Build install to make this happen?


What about running "./configure --" and have a look at the options
you can pass to configure? The installation dir normally is set by the
"--prefix=dirofchoice" option

--
Dick Hoogendijk -- PGP/GnuPG key: F86289CE
++ http://nagual.nl/ | Solaris 10 11/06 ++
  Réponse avec citation
Vieux 10/05/2007, 10h56   #5
Sting
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

Sendmail doesnt have a ./configure method of compiling and
installation. Its done by using a script called Build. I found out
that you can install sendmail to a custom dir by issuing 'sh Build -E
DESTDIR=/opt/sendmail.8.13.8' but the configuration files donot
default to /etc/mail instead they appear in /opt/sendmail.8.13.8/etc/
mail. Any ideas how to address this?

  Réponse avec citation
Vieux 10/05/2007, 13h25   #6
NPG
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

* Sting wrote:
> Sendmail doesnt have a ./configure method of compiling and
> installation. Its done by using a script called Build. I found out
> that you can install sendmail to a custom dir by issuing 'sh Build -E
> DESTDIR=/opt/sendmail.8.13.8' but the configuration files donot
> default to /etc/mail instead they appear in /opt/sendmail.8.13.8/etc/
> mail. Any ideas how to address this?
>

This might not work for you, but
consider symlinking /etc/mail to /opt/sendmail.8.13.8/etc
  Réponse avec citation
Vieux 10/05/2007, 17h04   #7
gerryt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

On May 9, 11:31 pm, Sting <khurra...@gmail.com> wrote:
> Pardon my ignorance but I'm relatively new to sendmail.

O dear.
> I'm guessing
> that one can configure sendmail to look in /etc/mail for the configs


Actually you can evoke sendmail - both instances with a -C I do
believe..
Youd have to check to see if that works in the background though.

> but how do I install all binaries to a directory of my choice? What
> should be passed on to Build install to make this happen?


The hints are in the file I specified but they are by no means
complete.
You have to make your own site.config.m4 file with every possible
installed file that sendmail installs in various locations all over
the disk.
I think there are only 2 examples in that file - the rest youll have
to
work out yourself by looking at all the other examples in the same
directory.
You can leave out /etc/mail but then a patch from Sun would over-write
your changes there. Unless you remove sendmail altogether from the
packaging.

Either way its a lot of work, and its rather easy to get wrong.
If you were running Solaris 10 Id say just patch it up and youll have
sendmail.8.13.8 with Sun extensions. This may also be the case with
9...


  Réponse avec citation
Vieux 10/05/2007, 18h34   #8
Kari Hurtta
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Installing sendmail in a custom directory

Sting <khurramtm@gmail.com> writes in comp.mail.sendmail:

> Sendmail doesnt have a ./configure method of compiling and
> installation. Its done by using a script called Build. I found out
> that you can install sendmail to a custom dir by issuing 'sh Build -E
> DESTDIR=/opt/sendmail.8.13.8' but the configuration files donot
> default to /etc/mail instead they appear in /opt/sendmail.8.13.8/etc/
> mail. Any ideas how to address this?


Consider looking files
devtools/README
devtools/Site/README

There is macros which specify directories.

/ Kari Hurtta

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h29.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12885 seconds with 16 queries