Re: remove sendmail/install postfix
Hi, On Sat, 03.02.2007 at 21:26:36 +0100, Andreas Maus [EMAIL PROTECTED] wrote: But the mailwraper provides a more generic way for OpenBSD to use mail without dealing much about the uses mail system. (sendmail,postfix,exim,qmail, ...) this is probably correct (or that's what it was created for), but I have yet to overcome my inertia against implementing this, for marginal benefit. Best, --Toni++
Re: remove sendmail/install postfix
* Toni Mueller [EMAIL PROTECTED] [2007-02-07 11:55]: On Sat, 03.02.2007 at 21:26:36 +0100, Andreas Maus [EMAIL PROTECTED] wrote: But the mailwraper provides a more generic way for OpenBSD to use mail without dealing much about the uses mail system. (sendmail,postfix,exim,qmail, ...) this is probably correct (or that's what it was created for), but I have yet to overcome my inertia against implementing this, for marginal benefit. well then you keep making up more (useless) work for you, while everybody else enjoys the elegance of mailwrapper. -- Henning Brauer, [EMAIL PROTECTED], [EMAIL PROTECTED] BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg Amsterdam
Re: remove sendmail/install postfix
On Wed, 7 Feb 2007 11:49:07 +0100, Toni Mueller wrote: Hi, On Sat, 03.02.2007 at 21:26:36 +0100, Andreas Maus [EMAIL PROTECTED] wrote: But the mailwraper provides a more generic way for OpenBSD to use mail without dealing much about the uses mail system. (sendmail,postfix,exim,qmail, ...) this is probably correct (or that's what it was created for), but I have yet to overcome my inertia against implementing this, for marginal benefit. Hell, that's funny. I installed the postfix package and used the recommended (and supplied) script to make postfix the default mailer. There is one to switch back. Apart from that there was only (IIRC) one manual thing to do: change the queue-runner or something like that. So easy I forget: no pain = no brain (storing horror tales). Trivial for me and I thought that I had a very large inertia to mass ratio as I only weigh in at 66.x kg. 8-)) Anyway jakob@ has (for me) done a fine job of making it painless. R/ From the land down under: Australia. Do we look umop apisdn from up over?
Re: remove sendmail/install postfix
Hi, On Thu, 01.02.2007 at 07:56:00 +0100, Nico Meijer [EMAIL PROTECTED] wrote: Postfix and Sendmail can both be installed on your disk just fine. I dislike the mailwrapper and instead adjust the link in /usr/sbin/sendmail to point to the real sendmail program. But doing the mailwrapper thing is probably the safe(r) way to go. I also don't need (nor get) the mailq etc functionality wrapped... Best, --Toni++
Re: remove sendmail/install postfix
On 2/3/07, Toni Mueller [EMAIL PROTECTED] wrote: Hi. I dislike the mailwrapper and instead adjust the link in /usr/sbin/sendmail to point to the real sendmail program. But doing the mailwrapper thing is probably the safe(r) way to go. I also don't need (nor get) the mailq etc functionality wrapped... This will work too. But the mailwraper provides a more generic way for OpenBSD to use mail without dealing much about the uses mail system. (sendmail,postfix,exim,qmail, ...) Andreas. -- Hobbes : Shouldn't we read the instructions? Calvin : Do I look like a sissy?
Re: remove sendmail/install postfix
On Thu, 1 Feb 2007, John wrote: I think in OpenBSD, that sendmail is tied in rather tightly to the whole OS. I use exim, and the way I ensure that sendmail isn't there is to do: in rc.conf (or rc.conf.local) sendmail_enable=NONE This doesn't do anything. sendmail_flags=NO Only this is required to prevent sendmail from starting on boot up. ..and reboot [snip] PS. Don't forget the root's crontab. -- Antti Harri
Re: remove sendmail/install postfix
On Thu, Feb 01, 2007 at 10:45:45AM +0200, Antti Harri wrote: On Thu, 1 Feb 2007, John wrote: I think in OpenBSD, that sendmail is tied in rather tightly to the whole OS. I use exim, and the way I ensure that sendmail isn't there is to do: in rc.conf (or rc.conf.local) sendmail_enable=NONE This doesn't do anything. no? OK. It does (did) in freebsd where I also ran exim, but freebsd isn't openbsd. sendmail_flags=NO Only this is required to prevent sendmail from starting on boot up. Well I was desperate :) I confirm what you say is indeed correct, because in /etc/rc we have if [ X${sendmail_flags} != XNO -a -s /etc/mailer.conf ]; then echo -n ' sendmail';( /usr/sbin/sendmail ${sendmail_flags} /dev/null 21 ) PS. Don't forget the root's crontab. yeah, found that out the hard way (root email complaints about malformed L) cheers -- John
remove sendmail/install postfix
hi, hate to bother, but... I looked around on the net and couldn't find a howto on howto uninstall sendmail, the default in 3.8, and then install postfix. I know how to install postfix, but how do you completely remove sendmail, since it isn't a package where I can just pkg_delete it? my understanding is that postfix and sendmail aren't friendly on the same box, and I've found quite a few articles that strongly suggest removing sendmail if you've chosen to use postfix. any links would be helpful, thanks _ Turn searches into helpful donations. Make your search count. http://click4thecause.live.com/search/charity/default.aspx?source=hmemtagline_donationFORM=WLMTAG
Re: remove sendmail/install postfix
David B. wrote: I know how to install postfix, but how do you completely remove sendmail, since it isn't a package where I can just pkg_delete it? The postfix package has all the information and instructions you'll need. my understanding is that postfix and sendmail aren't friendly on the same box, and I've found quite a few articles that strongly suggest removing sendmail if you've chosen to use postfix. You don't need to remove sendmail on OpenBSD. --- Lars Hansson
Re: remove sendmail/install postfix
On 2/1/07, David B. [EMAIL PROTECTED] wrote: hi, hate to bother, but... I looked around on the net and couldn't find a howto on howto uninstall sendmail, the default in 3.8, and then install postfix. You don't need to do this (well at least on OpenBSD). Just install postfix form the ports. It will tell you what to do to enable postfix and disable sendmail: [... snipp ...] === Installing postfix-2.3.3 from /usr/ports/packages/i386/all/ postfix-2.3.3: complete --- postfix-2.3.3 --- - Creating /etc/mailer.conf.postfix - Creating Postfix spool directory and chroot area under /var/spool/postfix Warning: you still need to edit myorigin/mydestination/mynetworks parameter settings in /etc/postfix/main.cf. See also http://www.postfix.org/faq.html for information about dialup sites or about sites inside a firewalled network. BTW: Check your /etc/mail/aliases file and be sure to set up aliases that send mail for root and postmaster to a real person, then run /usr/local/sbin/newaliases. +--- | Configuration files has been installed in /etc/postfix. | Please update these files to meet your needs. +--- +--- | Postfix can be set up to replace sendmail entirely. Please read the | documentation at file:/usr/local/share/doc/postfix/html/index.html or | http://www.postfix.org/ carefully before you decide to do this! | | To replace sendmail with postfix you have to install a new mailer.conf | using the following command: | | /usr/local/sbin/postfix-enable | | If you want to restore sendmail, this is done using the following command: | | /usr/local/sbin/postfix-disable +--- [... snipp ...] I know how to install postfix, but how do you completely remove sendmail, since it isn't a package where I can just pkg_delete it? Because its in the base system. my understanding is that postfix and sendmail aren't friendly on the same box, and I've found quite a few articles that strongly suggest removing sendmail if you've chosen to use postfix. Why not having sendmail and postfix on a box. As long as the right executables are installed for the current mail system, there is no problem ... HTH, Andreas -- Hobbes : Shouldn't we read the instructions? Calvin : Do I look like a sissy?
Re: remove sendmail/install postfix
On Wed, Jan 31, 2007 at 10:54:04PM -0700, David B. wrote: hi, hate to bother, but... I looked around on the net and couldn't find a howto on howto uninstall sendmail, the default in 3.8, and then install postfix. [snip] I think in OpenBSD, that sendmail is tied in rather tightly to the whole OS. I use exim, and the way I ensure that sendmail isn't there is to do: in rc.conf (or rc.conf.local) sendmail_enable=NONE sendmail_flags=NO ..and reboot Exim is a drop-in replacement (sort of) for sendmail. I know nothing of Postfix. -- John
Re: remove sendmail/install postfix
Hey David, my understanding is that postfix and sendmail aren't friendly on the same box, and I've found quite a few articles that strongly suggest removing sendmail if you've chosen to use postfix. If it's not in the manpages and not in the FAQ quite a few articles amount to pretty much nothing. Rule #1: don't mess with the base system Rule #2: when suggested to break rule #1, see rule #1 Postfix and Sendmail can both be installed on your disk just fine. HTH... Nico