Re: Strange startup behavior on 5.3-release
On Tue, 14 Dec 2004 11:04:24 +0100 (CET), Gelsema, Patrick [EMAIL PROTECTED] wrote: On Mon, 13 December, 2004 23:56, Mike Meyer said: I'm running 5.3-release, and seeing *very* strange behavior on startup. If I reboot the system, I get the following errors in /var/log/console.log: Dec 13 17:38:59 guru kernel: Starting sshd. Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ] I'm getting those errors because sendmail is set to /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running qmail, sendmail should be run *at all* at startup. The really strange thing is that if I shutdown and then restart the system, without a reboot, I don't see these error messages. I've traced this down to the sendmail_msp_queue_enable variable in /etc/rc.conf. If set to yes, that invokes sendmail with the -L option. There don't appear to be any currently filed bugs related to this issue, and google didn't turn up anything relevant. I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case something there is pertinent. After you installed qmail (from ports?) were there any instructions on how you should modify /etc/rc.conf? I use Postfix, and after I installed that from the ports tree, it told me to add the following entries to rc.conf dj : ~ cat /etc/rc.conf | grep -i sendmail sendmail_enable=YES sendmail_flags=-bd sendmail_pidfile=/var/spool/postfix/pid/master.pid sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO Maybe that's some help? Cheers, David Sometime ago I installed qmail and what I remember is that in /etc/rc.conf the following line needs to be added; SENDMAIL=NONE #check sendmail documentation for proper line However, this is deprecated, and it is recommended that you use: sendmail_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO -- Joshua Lokken Open Source Advocate ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange startup behavior on 5.3-release
On Tue, 14 Dec 2004 16:36:06 -0800 Jim Pazarena [EMAIL PROTECTED] wrote: one would think, or expect, that if you disable sendmail using SENDMAIL_ENABLE=NONE, that NONE sendmail activity would be triggered. This seemed to be the way it worked in FreeBSD 4.XX, and altho we can live with these changes for 5.XX, is there any where that we can read the reasoning for making such a change? hello jim, while it may not be exactly what you're looking for, i suggest that you take a few minutes to review 'man rc.sendmail'. judging by those rc variables, it strikes me as a means to allow for greater flexibility/granularity in the options. if you spend a little time at sendmail.org, you *may* find an authoritative answer to your question. cheers, epi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange startup behavior on 5.3-release
Joshua Lokken wrote: On Tue, 14 Dec 2004 11:04:24 +0100 (CET), Gelsema, Patrick [EMAIL PROTECTED] wrote: On Mon, 13 December, 2004 23:56, Mike Meyer said: I'm running 5.3-release, and seeing *very* strange behavior on startup. If I reboot the system, I get the following errors in /var/log/console.log: Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L I've traced this down to the sendmail_msp_queue_enable variable in /etc/rc.conf. If set to yes, that invokes sendmail with the -L option. SENDMAIL=NONE #check sendmail documentation for proper line However, this is deprecated, and it is recommended that you use: sendmail_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO if you look in /etc/defaults/rc.conf you find the -L flags for sendmail in: rc.conf:sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server) rc.conf:sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost rc.conf:sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound only) rc.conf:sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m one would think, or expect, that if you disable sendmail using SENDMAIL_ENABLE=NONE, that NONE sendmail activity would be triggered. This seemed to be the way it worked in FreeBSD 4.XX, and altho we can live with these changes for 5.XX, is there any where that we can read the reasoning for making such a change? Several things changed such as named being jailed, and this sendmail NONE/NO change. It would be nice to be able to read the reasoning for such changes. Jim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange startup behavior on 5.3-release
On Mon, 13 December, 2004 23:56, Mike Meyer said: I'm running 5.3-release, and seeing *very* strange behavior on startup. If I reboot the system, I get the following errors in /var/log/console.log: Dec 13 17:38:59 guru kernel: Starting sshd. Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ] I'm getting those errors because sendmail is set to /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running qmail, sendmail should be run *at all* at startup. The really strange thing is that if I shutdown and then restart the system, without a reboot, I don't see these error messages. I've traced this down to the sendmail_msp_queue_enable variable in /etc/rc.conf. If set to yes, that invokes sendmail with the -L option. There don't appear to be any currently filed bugs related to this issue, and google didn't turn up anything relevant. I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case something there is pertinent. After you installed qmail (from ports?) were there any instructions on how you should modify /etc/rc.conf? I use Postfix, and after I installed that from the ports tree, it told me to add the following entries to rc.conf dj : ~ cat /etc/rc.conf | grep -i sendmail sendmail_enable=YES sendmail_flags=-bd sendmail_pidfile=/var/spool/postfix/pid/master.pid sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO Maybe that's some help? Cheers, David ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Strange startup behavior on 5.3-release
On Mon, 13 December, 2004 23:56, Mike Meyer said: I'm running 5.3-release, and seeing *very* strange behavior on startup. If I reboot the system, I get the following errors in /var/log/console.log: Dec 13 17:38:59 guru kernel: Starting sshd. Dec 13 17:39:00 guru kernel: sendmail: illegal option -- L Dec 13 17:39:00 guru kernel: sendmail: usage: sendmail [ -t ] [ -fsender ] [ -Fname ] [ -bp ] [ -bs ] [ arg ... ] I'm getting those errors because sendmail is set to /var/qmail/bin/sendmail in /etc/mail/mailer.conf. Since I'm running qmail, sendmail should be run *at all* at startup. The really strange thing is that if I shutdown and then restart the system, without a reboot, I don't see these error messages. I've traced this down to the sendmail_msp_queue_enable variable in /etc/rc.conf. If set to yes, that invokes sendmail with the -L option. There don't appear to be any currently filed bugs related to this issue, and google didn't turn up anything relevant. I'm running the GENERIC kernel. I've attached my /etc/rc.conf in case something there is pertinent. After you installed qmail (from ports?) were there any instructions on how you should modify /etc/rc.conf? I use Postfix, and after I installed that from the ports tree, it told me to add the following entries to rc.conf dj : ~ cat /etc/rc.conf | grep -i sendmail sendmail_enable=YES sendmail_flags=-bd sendmail_pidfile=/var/spool/postfix/pid/master.pid sendmail_outbound_enable=NO sendmail_submit_enable=NO sendmail_msp_queue_enable=NO Maybe that's some help? Cheers, David Sometime ago I installed qmail and what I remember is that in /etc/rc.conf the following line needs to be added; SENDMAIL=NONE #check sendmail documentation for proper line Basically you dont want the sendmail daemon started during startup, this is now handled by qmail. Check qmail.org for more information. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]