Le 30 juil. 09 à 20:43, Gaëtan Lehmann a écrit :


Hi,

I'd like to configure sendmail as a null client, but with alias support, so it would relay most of the mail unchanged to a main smtp server, excepted the one for the administrative accounts (typically root). I succeeded to have the alias and the null client feature, but not both at the same time.
Can someone give a hint or a pointer to some relevant documentation?


I finally make it work. It seems that the solution was in MAIL_HUB and in correctly restarting both sendmail and sendmail-client services.
For the record, here is the content of my sendmail.m4 file:

  include(`cf/m4/cf.m4')
  OSTYPE(solaris8)
  define(`MAIL_HUB', `smtp.jouy.inra.fr')
  define(`SMART_HOST', `smtp.jouy.inra.fr')
  MASQUERADE_AS(`jouy.inra.fr')
  FEATURE(`allmasquerade')
  FEATURE(`masquerade_envelope')
  MAILER(`local')
  MAILER(`smtp')

Gaëtan



--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr  http://www.itk.org
http://www.mandriva.org  http://www.bepo.fr

Attachment: PGP.sig
Description: Ceci est une signature électronique PGP

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to