Re: Sendmail and Postfix
On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. For SendMail, mailq is just a symlink to the SendMail executable. the mail.conf stuff (to use a polite word) installs it's own executable(s) under all the 'common' names that SendMail is invoked as. These executables look at /etc/mailer.conf, and invoke the appropiate executable for the mailer that you have seleccted in mailer.conf. mailer.conf is usually modified my the Postfix port and I am not sure but I think the option is checked by default. The lines to add to rc.conf to de-activate Sendmail and usu Postfix on the base system are: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO postfix_enable=YES -- Alejandro Imass ___ 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 ___ 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 and Postfix
On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Sendmail and Postfix
When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. ___ 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 and Postfix
During subsequent system upgrades, of you build from source, you should watch out for thus during the mergemaster piece. Brian On Jun 22, 2012 11:44 AM, Matthew Seaman matt...@freebsd.org wrote: On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf properly -- and installing the postfix port should do that for you -- and then any reference to /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run postfix instead. It's really very nicely done. See mailer.conf(5) Cheers, Matthew PS. Alright, yes. You can prevent sendmail from being built as part of the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but this supposes that you want to build the system yourself, rather than using, say, freebsd-update(8). See src.conf(5) and read in /usr/src/UPDATING and the Handbook about the procedure for building the system from source. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ 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 and Postfix
Hi-- On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote: A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? BSD Unixes have shipped with Sendmail for decades, much as BIND is also included-- so yes, Sendmail is included with the base system by default. The approved way is to simply leave things be. Properly written software will honor the links setup by mailwrapper(8) and use the Postfix MTA which you installed instead: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html If you really want to remove sendmail entirely, you can rebuild FreeBSD with NO_SENDMAIL=TRUE ...set in /etc/make.conf, which will avoid building sendmail at all. Regards, -- -Chuck ___ 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 and Postfix
On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote: When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. Thanks! (Thanks too to the other responders.) Looks like that's the step I missed. Fixed now. Cheers. ___ 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 and Postfix
From owner-freebsd-questi...@freebsd.org Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. For SendMail, mailq is just a symlink to the SendMail executable. the mail.conf stuff (to use a polite word) installs it's own executable(s) under all the 'common' names that SendMail is invoked as. These executables look at /etc/mailer.conf, and invoke the appropiate executable for the mailer that you have seleccted in mailer.conf. ___ 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 + milter + postfix + jails question
[EMAIL PROTECTED] wrote: hi, i don't like sendmail very much, but have been happily using postfix for years now, on a freebsd mailserver with jails i was wondering whether the following is possible : - all incoming email goes to 1 jail which only runs sendmail + milter and blocks all email with .gif attachments - sendmail then let's through all other emails with some transport-map which doesn't need individual aliases (per user) - other jails (separate jail for lists and email) accept the email via postfix can sendmail do this ? or is there other mailserver-software which can block gif and hand over all email to other jails with postfix i'm asking this for the following reasons : - i have a jail with postfix+mysql+spamassassin+maildrop, esp. the maildrop-part took me many many hours to figure out, (turned out that courier maildrop default mysql-support was dropped in favour for courier authdaemon+mysql-support) it's working fine now, so i prefer not to add more to this jail, but i'd like to stop .gif-images attached now - it looks like postfix needs per user aliases for transport-situation to virtual domains (or am i missing something ?) possible or not good ? Hi, Is there a specific reason why you absolutely want to keep sendmail? Why don't you do everything with postfix, and a content filtering tool you haven't mentioned: amavis? Jails runs all of the software you mentioned just fine. Just remember to bind on the IP of your jail. --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
Re: Sendmail x Postfix
On Monday 06 February 2006 17:07, Thiago Esteves wrote: I use Sendmail but I'd like to change to Postfix, because I have listened very well about security and others in Postfix ... What do you know about this?...What do you prefer?... When I had to choose a smtpd I looked at sendmail, exim, courier, qmail and postfix. I chose postfix and did so because of security and features like getting info from a database, block listing, sasl, tls/ssl and being able to use it with amavisd-new and maildrop. Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail x Postfix
I use Sendmail but I'd like to change to Postfix, because I have listened very well about security and others in Postfix ... What do you know about this?...What do you prefer?... Hate Sendmail, Love Postfix... Here's how I set it up: http://www.mostgraveconcern.com/freebsd/sheet.cgi?mail Good luck and have fun! ~Dan -- FreeBSD Cheat Sheets http://www.mostgraveconcern.com/freebsd/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail to Postfix/courier-imap
--On Saturday, July 17, 2004 7:51 PM -0500 Chris [EMAIL PROTECTED] wrote: Would appreciate a good how-to/website on going from sendmail to postfix/courier-imap. The postfix part is pretty straightforward. Just make install clean the port and then follow the instructions in pkg-message. I use cyrus, so I can't help you with the courier part. Paul Schmehl ([EMAIL PROTECTED]) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
I'm sorry, it wasn't for me. I installed postfix from ports and stopped sendmail, postfix still didn't start though (it had port 25 open, but didn't respond to it). Eventually I reverted to sendmail. I'm on FreeBSD 5.0 BTW. I do have postfix running fine on Linux, I might add. On Wed, 2003-09-24 at 21:43, synrat wrote: what do you mean postfix is hard to setup ? It's fully functional after the installation, you can send e-mail right away and you only need a few changes to main.cf to accept e-mail. The file is very well commented, save the changes, and run 'postfix reload' as root. On Wed, 24 Sep 2003, Payne wrote: Hey, Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
Ok, maybe I am little slow but I have 12 domains, with sendmail I could set them up in local-host-name, and I could set up what computer that had rights to send mail in relay-domains, and I don't see where you can set up mysql part and where to set up that users need a password to send mail. Chuck synrat wrote: what do you mean postfix is hard to setup ? It's fully functional after the installation, you can send e-mail right away and you only need a few changes to main.cf to accept e-mail. The file is very well commented, save the changes, and run 'postfix reload' as root. On Wed, 24 Sep 2003, Payne wrote: Hey, Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
what do you mean postfix is hard to setup ? It's fully functional after the installation, you can send e-mail right away and you only need a few changes to main.cf to accept e-mail. The file is very well commented, save the changes, and run 'postfix reload' as root. On Wed, 24 Sep 2003, Payne wrote: Hey, Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. I've been running Postfix after migrating from Sendmail for the better part of a year now. I found it much easier to set up in the areas of virtual hosts, authentication, relaying and content filtering. I'd suggest starting with the Postfix documentation at www.postfix.org. You will also find several helpful README's in the source distribution, just 'cd /usr/ports/mail/postfix make extract' and you can browse through them before you decide to build and install it. You might also consider joining the Postfix mailing list, as it's a better place for questions on Postfix than this list. I'll warn you in advance though, RTFM, because they can be a bit hostile if you appear not to have. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
if ur a conservative unix admin, go with sendmail, but for easiness use postfix. i have 2 mailservers and is using postfix in one and sendmail on the other. \jett Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. I've been running Postfix after migrating from Sendmail for the better part of a year now. I found it much easier to set up in the areas of virtual hosts, authentication, relaying and content filtering. I'd suggest starting with the Postfix documentation at www.postfix.org. You will also find several helpful README's in the source distribution, just 'cd /usr/ports/mail/postfix make extract' and you can browse through them before you decide to build and install it. You might also consider joining the Postfix mailing list, as it's a better place for questions on Postfix than this list. I'll warn you in advance though, RTFM, because they can be a bit hostile if you appear not to have. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sendmail vs. Postfix...
I have used postfix and sendmail on both linux and FreeBSD and I definitely prefer postfix. For starters, its security track-record is much better. Also it was very easy to ste up a system that uses mysql with virtual domains, SASL for relay authentication (also interfacing with mysql) etc... I have horde, postfix, postfix's SASL, and courier imap all using the same tables in mysql for users. I don't know if sendmail can do all this, but I'm sure postfix can do it more easily and in a more secure manner. Ken Quoting Jett Tayer [EMAIL PROTECTED]: if ur a conservative unix admin, go with sendmail, but for easiness use postfix. i have 2 mailservers and is using postfix in one and sendmail on the other. \jett Quick question. How hard is it to set up Postfix. I am getting tried of Sendmail. Is it hard to set up Postfix to access passwords so that the only mail can be sent. I've been running Postfix after migrating from Sendmail for the better part of a year now. I found it much easier to set up in the areas of virtual hosts, authentication, relaying and content filtering. I'd suggest starting with the Postfix documentation at www.postfix.org. You will also find several helpful README's in the source distribution, just 'cd /usr/ports/mail/postfix make extract' and you can browse through them befor e you decide to build and install it. You might also consider joining the Postfix mailing list, as it's a better place for questions on Postfix than this list. I'll warn you in advance though, RTFM, because they can be a bit hostile if you appear not to have. Mike ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]