Re: Problem with sendmail update

2012-08-03 Thread Matthew Seaman
On 02/08/2012 16:07, Mervyn Passmore wrote:
 We've made  installed 8.14.5 and both the new and old versions seem to be
 installed and running according to PS. Whatever is starting sendmail is
 initiating the old version.

If you're replacing the system sendmail with the version from ports,
then you need to update /etc/mail/mailer.conf -- something like this:

# $FreeBSD: stable/9/etc/mail/mailer.conf 93858 2002-04-05 04:25:14Z
gshapiro $
#
# Execute the real sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail
hoststat/usr/local/sbin/sendmail
purgestat   /usr/local/sbin/sendmail

Also, don't confuse the version of the sendmail from the config file
with the version in the binary -- both of them show up in the SMTP banner:

% telnet localhost smtp
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 smtp.infracaninophile.co.uk ESMTP Sendmail 8.14.5/8.14.5; Fri, 3 Aug
2012 09:34:40 +0100 (BST)
   ^
The first one is the version of the binaries, the second is the
configuration version, which you can easily change by modifying the
DZ8.14.5 line in sendmail.cf

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Problem with sendmail update

2012-08-02 Thread Mervyn Passmore
Hi,

Hope someone can help. we're stuck trying to update Sendmail from 8.14.3 to
8.14.5

We've made  installed 8.14.5 and both the new and old versions seem to be
installed and running according to PS. Whatever is starting sendmail is
initiating the old version.

How can we remove the 8.14.3 version or get the 8.14.5 version to run? Our
PCI compliance is failing due to issues with the old version.

Help much appreciated, 

Thanks

Mervyn



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: sendmail update

2005-05-27 Thread Tony Shadwick

Just going and taking a cursory glance at the sendmail makefile in ports:

.if exists(${DESTDIR}/etc/mail/mailer.conf)  ${PREFIX} == /usr
pre-everything::
@${ECHO_CMD} #
@${ECHO_CMD} # You can't override the base sendmail this way.
@${ECHO_CMD} # your version FreeBSD use mailwrapper.
@${ECHO_CMD} #
@${ECHO_CMD} # Please install with normal PREFIX
@${ECHO_CMD} # and activate the port version with
@${ECHO_CMD} # cd ${PORTSDIR}/mail/sendmail  make mailer.conf
@${ECHO_CMD} #
@${FALSE}
.endif

So my understanding, make WITH_WHATEVER_FLAGS_YOU_WANT=yes,  make 
mailer.conf  make install.


That will override the system base.

Anyone else care to chime in here?

Tony

On Fri, 27 May 2005, Olivier Nicole wrote:




Take a peek at /usr/ports/mail/Sendmail/Makefile.  There are tons of flags
to be thrown, and I'm willing to bet that you can make a couple of tweaks
there to get the result you wish.

If it's just throwing it on the command line, you might want to consider
putting the flags in /etc/make.conf.


But then, how that port/sendmail will interact with the system
sendmail. When re-installing the system, will I have to install the
port again?

Olivier


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail update

2005-05-26 Thread Olivier Nicole
Hi,

I have 2 questions about the update procedure and sendmail.

1) where is the equivalent of
   sendmail-x.y.z/devtools/Site/site.config.m4 in FreeBSD installation
   of sendmail?

   I need to add some features to the site.config.m4 file to build the
   version of sendmail I want. So far, I have to rebuild sendmail by
   hand, independently from FreeBSD, after each system update.

2) I have a patch that I want to apply to sendmail source tree, before
   I build sendmail.

   I would like to have that patch applied automatically to
   /usr/src/contrib/sendmail before it builds. How do i do that?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail update

2005-05-26 Thread Tony Shadwick
Take a peek at /usr/ports/mail/Sendmail/Makefile.  There are tons of flags 
to be thrown, and I'm willing to bet that you can make a couple of tweaks 
there to get the result you wish.


If it's just throwing it on the command line, you might want to consider 
putting the flags in /etc/make.conf.


Tony

On Thu, 26 May 2005, Olivier Nicole wrote:


Hi,

I have 2 questions about the update procedure and sendmail.

1) where is the equivalent of
  sendmail-x.y.z/devtools/Site/site.config.m4 in FreeBSD installation
  of sendmail?

  I need to add some features to the site.config.m4 file to build the
  version of sendmail I want. So far, I have to rebuild sendmail by
  hand, independently from FreeBSD, after each system update.

2) I have a patch that I want to apply to sendmail source tree, before
  I build sendmail.

  I would like to have that patch applied automatically to
  /usr/src/contrib/sendmail before it builds. How do i do that?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail update

2005-05-26 Thread Olivier Nicole

 Take a peek at /usr/ports/mail/Sendmail/Makefile.  There are tons of flags 
 to be thrown, and I'm willing to bet that you can make a couple of tweaks 
 there to get the result you wish.
 
 If it's just throwing it on the command line, you might want to consider 
 putting the flags in /etc/make.conf.

But then, how that port/sendmail will interact with the system
sendmail. When re-installing the system, will I have to install the
port again?

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail update

2005-01-07 Thread Giorgos Keramidas
On 2005-01-07 17:38, Olivier Nicole [EMAIL PROTECTED] wrote:

 I have a mail server running sendmail with a very customised
 configuration. So far I have compiled/installed my own copy of
 sendmail. If I update the system, it will re-install a standard
 sendmail.

 Now if I want the update procedure to regenerate my customised
 sendmail, where in FreeBSD sendmail hierarchy should I put my own
 cf/cf/sendmail.mc and devtools/Site/site.config.m4 ?

The /usr/share/sendmail/cf stuff is copied from that tree to their
destination by the Makefile in /usr/src/share/sendmail.

I would probably put the extra files in /usr/src/share/sendmail and
modify the Makefile of that directory accordingly.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail update

2005-01-07 Thread Olivier Nicole
Hi,

I have a question about the update procedure.

I have a mail server running sendmail with a very customised
configuration. So far I have compiled/installed my own copy of
sendmail. If I update the system, it will re-install a standard
sendmail.

Now if I want the update procedure to regenerate my customised
sendmail, where in FreeBSD sendmail hierarchy should I put my own
cf/cf/sendmail.mc and devtools/Site/site.config.m4 ?

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
--- End of forwarded message ---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail update from ports

2003-03-03 Thread Tommy Forrest - KE4PYM
On a FBSD 4.2-RELEASE system - I build Sendmail 8.12.8 from the ports
collection.  It builds and installs just fine.  I follow the directions
in pkg-message.  I set sendmail_enable=no in rc.conf.  

And because my system is  4.6 I put sendmail_flags=-L sm-msp-queue
-Ac -q1m'

Set the sendmail.sh in /usr/local/etc/rc.d and reboot.  I see sendmail
start as a local package.  I see sendmail running as a process.  I
cannot, however telnet to localhost 25.  Connection refused.

The one thing that throws me off in pkg-message is the statement about
adding stuff to sendmail.mc.  I do not have a sendmail.mc file on my
sysytem.  Where would that live?

What am I missing here?

Tommy Forrest - KE4PYM -  [EMAIL PROTECTED]
My two cents:
Even my cleaning lady won't do Windows.

PGP Public Key Fingerprint: 0A51 6ED0 4555 5B33  FA68 C75B 865D 83CE



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message