[Bug 402776] Re: postfix doesn't install when hostname contains only digits
** Changed in: postfix (Ubuntu) Status: Incomplete => Triaged ** Summary changed: - postfix doesn't install when hostname contains only digits + postfix fails to install with invalid hostnames or domain names -- postfix fails to install with invalid hostnames or domain names https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 402776] Re: postfix doesn't install when hostname contains only digits
postfix expects that myhostname is a valid fqdn, not a short hostname. -- postfix doesn't install when hostname contains only digits https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 402776] Re: postfix doesn't install when hostname contains only digits
Jonathan Marsden wrote: > If the driver concerned were part of Ubuntu that might be fixable. But > you state it is "unsupported", so the Ubuntu community can't support it, > unfortunately. > > I suspect the driver does not directly need postfix, just "any way to > send email out from this machine"; postfix is the default choice for > many packages in Ubuntu to install to meet such a requirement. If you > prefer something smaller you can install ssmtp and set that up, and many > packages will then use it instead of postfix for their outbound email > needs. > > Why a printer driver wants to email something (perhaps registration info > to HP? Perhaps alerts to an admin when the printer is low on toner or > out of paper?) I don't know. Without full source code for the driver, I > can't really find out, either. > > Just so you know, Internet RFC 1178 (which is all about choosing > hostnames) specifically advises "Don't use digits at the beginning of > the name"... :) > > It might be good for Ubuntu to check for this issue, when the host names > is chosen during installation, and at least warn the unwary > user/systemadministrator about it. > I don't need postfix, the problem I have is that many packages list it as a dependancy even though they have no need of it. When it attempts to install it causes by 64 bit flash to stop working (no clue as to why) and then issues tons of errors every time I try to use the apt system. -- postfix doesn't install when hostname contains only digits https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 402776] Re: postfix doesn't install when hostname contains only digits
If the driver concerned were part of Ubuntu that might be fixable. But you state it is "unsupported", so the Ubuntu community can't support it, unfortunately. I suspect the driver does not directly need postfix, just "any way to send email out from this machine"; postfix is the default choice for many packages in Ubuntu to install to meet such a requirement. If you prefer something smaller you can install ssmtp and set that up, and many packages will then use it instead of postfix for their outbound email needs. Why a printer driver wants to email something (perhaps registration info to HP? Perhaps alerts to an admin when the printer is low on toner or out of paper?) I don't know. Without full source code for the driver, I can't really find out, either. Just so you know, Internet RFC 1178 (which is all about choosing hostnames) specifically advises "Don't use digits at the beginning of the name"... :) It might be good for Ubuntu to check for this issue, when the host names is chosen during installation, and at least warn the unwary user/systemadministrator about it. -- postfix doesn't install when hostname contains only digits https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 402776] Re: postfix doesn't install when hostname contains only digits
Jonathan Marsden wrote: >> It was when this failure occured, I changed the hostname to bl5400, and >> tried again same result. > > I strongly suspect that somewhere in one or more of your system's > configuration files, that old numeric host name still exists. > > Please confirm that the old numeric hostname has been edited into the > new hostname (that starts with a letter) from *all* configuration files > on your machine under /etc, including /etc/hosts , /etc/mailname , > /etc/aliases and /etc/postfix/main.cf > I did a "grep 5400 $(find)" from the etc directory. Only the /etc/postfix/main.cf file was wrong (but postfix is no longer installed), I changed it. Its asinine to require postfix for a printer, makes no sense. -- postfix doesn't install when hostname contains only digits https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 402776] Re: postfix doesn't install when hostname contains only digits
> It was when this failure occured, I changed the hostname to bl5400, and > tried again same result. I strongly suspect that somewhere in one or more of your system's configuration files, that old numeric host name still exists. Please confirm that the old numeric hostname has been edited into the new hostname (that starts with a letter) from *all* configuration files on your machine under /etc, including /etc/hosts , /etc/mailname , /etc/aliases and /etc/postfix/main.cf -- postfix doesn't install when hostname contains only digits https://bugs.launchpad.net/bugs/402776 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs