Re: sendmail: My unqualified host name
On 28/06/2010 23:21, Polytropon wrote: On Mon, 28 Jun 2010 23:12:38 +0100, Michaelmlmichae...@gmail.com wrote: Yes but I don't quite understand why. It's my laptop system and I don't really need or want sendmail there. You may want to reconsider this statement. :-) I did just that :) So far I thought sendmail is a big hairy thing that is completely useless on desktop systems. Now I learned that it is kind of crucial to proper system workings so in fact I do need it. Plus messages that it tried to deliver are important so I definitely do want it. It was all fine and quiet for months and started just recently. So THAT is really strange. So mystery is now solved since I got sendmail working locally. It turned out that ports update went wrong and messed up one program. That program was being run every minute via root's crontab... Thank you so much. M. ___ 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
sendmail: My unqualified host name
Hello. My console is being flooded with this kind of messages: Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name (localhost) unknown; sleeping for retry Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain name (localhost) -- using short name Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name (localhost) unknown; sleeping for retry Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain name (localhost) -- using short name Is there any way to find out who/what is trying to use sendmail? M. ___ 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: My unqualified host name
On Mon, 28 Jun 2010 21:51:46 +0100, Michael mlmichae...@gmail.com wrote: Hello. My console is being flooded with this kind of messages: Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name (localhost) unknown; sleeping for retry Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain name (localhost) -- using short name Jun 28 15:50:02 prime sendmail[85031]: My unqualified host name (localhost) unknown; sleeping for retry Jun 28 15:50:06 prime sendmail[57268]: unable to qualify my own domain name (localhost) -- using short name Is there any way to find out who/what is trying to use sendmail? It seems that it's your *sendmail* that is complaining. Check your settings regarding hostname (hostname= in /etc/rc.conf, corresponding entry in /etc/hosts), also check sendmail configuration in /etc/mail. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: My unqualified host name
On 28/06/2010 22:43, Polytropon wrote: On Mon, 28 Jun 2010 21:51:46 +0100, Michaelmlmichae...@gmail.com wrote: My console is being flooded with this kind of messages: Jun 28 15:49:02 prime sendmail[57268]: My unqualified host name (localhost) unknown; sleeping for retry Jun 28 15:49:06 prime sendmail[21451]: unable to qualify my own domain name (localhost) -- using short name It seems that it's your *sendmail* that is complaining. Check your settings regarding hostname (hostname= in /etc/rc.conf, corresponding entry in /etc/hosts), also check sendmail configuration in /etc/mail. Yes but I don't quite understand why. It's my laptop system and I don't really need or want sendmail there. I guess it must be some script trying to send email instead of logging to a file. But how can I find out exactly what is trying to use sendmail (which fails and complaints)? My configuration (8.0-RELEASE-p3): /etc/rc.conf hostname=prime sendmail_enable=NONE /etc/hosts ::1 localhost prime 127.0.0.1 localhost prime /etc/nsswitch.conf hosts: files dns /etc/periodic.conf daily_output=/var/log/dper.log daily_clean_hoststat_enable=NO daily_backup_aliases_enable=NO daily_status_mailq_enable=NO daily_status_include_submit_mailq=NO daily_status_mail_rejects_enable=NO daily_queuerun_enable=NO daily_submit_queuerun=NO daily_status_security_output=/var/log/dsec.log weekly_output=/var/log/wper.log monthly_output=/var/log/mper.log It was all fine and quiet for months and started just recently. The only change in the system I can think of is that I replaced pf with ipfw. Still don't understand what is so urgent that sendmail keeps trying every minute. M. ___ 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: My unqualified host name
On Mon, 28 Jun 2010 23:12:38 +0100, Michael mlmichae...@gmail.com wrote: Yes but I don't quite understand why. It's my laptop system and I don't really need or want sendmail there. You may want to reconsider this statement. :-) I guess it must be some script trying to send email instead of logging to a file. The sendmail facility is used by the system to deliver status messages (e. g. by the daily/monthly/weekly periodic scripts, sometimes by the printing subsystem), so it depends on an at least locally working installation. There may be other services that rely on sendmail to provide output directed to a system's mail box (usually root). Check /etc/defaults/rc.conf for the sendmail_* family of options. But how can I find out exactly what is trying to use sendmail (which fails and complaints)? I think it's sendmail itself that complains on startup (running as local-only delivery system). My configuration (8.0-RELEASE-p3): /etc/rc.conf hostname=prime sendmail_enable=NONE /etc/hosts ::1 localhost prime 127.0.0.1 localhost prime Try to additionally define a domainname .local or .lan, e. g. 127.0.0.1 localhost 127.0.0.1 prime.local prime See man 5 hosts for details, I think it explains it very well (it's right in the 1st paragraph). Also give the full name in /etc/rc.conf: hostname=prime.local. Then make sure to have visited /etc/mail doing make all install. This will make sure sendmail picks up all neccessary configuration items. It was all fine and quiet for months and started just recently. So THAT is really strange. The only change in the system I can think of is that I replaced pf with ipfw. I doubt that has anything to do with it. Still don't understand what is so urgent that sendmail keeps trying every minute. It fails to start properly because of a missing configuration item. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: My unqualified host name
On 6/28/10 6:21 PM, Polytropon wrote: But how can I find out exactly what is trying to use sendmail (which fails and complaints)? I think it's sendmail itself that complains on startup (running as local-only delivery system). That's certainly what it looks like. The only change in the system I can think of is that I replaced pf with ipfw. I doubt that has anything to do with it. Unless the change blocked access to DNS and reverse DNS was being used to look up the system name. -- --Jon Radel j...@radel.com