Hello, I am try to set up postfix as a relay to an internal MX. It will run with MailScanner and will not have any local mailboxes. After spending some time with the cf and config files, I cannot tell which files are actually controlling postfix, that is, main.cf, main.cf.SuSEconfig, or /etc/sysconfig/postfix. Initially, I was modifying main.cf directly, but, as I was told, this was not the best solution on Suse. After removing the main.cf file and running SuSEconfig, SuSEconfig replaced the main.cf with a back up, although I still get the following error when running SuSEconfig; Executing /sbin/conf.d/SuSEconfig.postfix... *** WARNING *** Found /etc/postfix/main.cf.SuSEconfig, exiting... *** WARNING *** ~~~ Using 'rcpostfix restart' spits out the following error; Shutting down mail service (Postfix) done Starting mail service (Postfix)postconf: warning: My hostname postmaster is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf done postmaster:/etc/postfix # postconf: warning: My hostname postmaster is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf ~~~ I can telnet to it via port 25 so it is running. At this point, however, I have no idea which file I modify is actually affecting postfix's behavior. Any help with this would be greatly appreciated. Thank you in advance, James
* James D. Parra <Jamesp@MusicReports.com> [11-23-05 18:26]:
Starting mail service (Postfix)postconf: warning: My hostname postmaster is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf done postmaster:/etc/postfix # postconf: warning: My hostname postmaster is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf ^^^^^^^^^^^^^^^^^^^ look at /etc/postfix/main.cf / / / / /// //
what does it say, ie: myhostname = <what> http://en.wikipedia.org/wiki/Hostname -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2005-11-23 at 15:26 -0800, James D. Parra wrote:
I was told, this was not the best solution on Suse.
Depends.
After removing the main.cf file and running SuSEconfig, SuSEconfig replaced the main.cf with a back up, although I still get the following error when running SuSEconfig;
Executing /sbin/conf.d/SuSEconfig.postfix... *** WARNING *** Found /etc/postfix/main.cf.SuSEconfig, exiting... *** WARNING *** ~~~
If you want to let SuSEconfig do its work, then copy /etc/postfix/main.cf.SuSEconfig to /etc/postfix/main.cf and delete the former. If you want to take over configuration of postfix on your hands, then ignore the warning. The file you have to work with is main.cf, the other is not used except by suseconfig.
Starting mail service (Postfix)postconf: warning: My hostname postmaster is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf
The message is selfexplanatory :-) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDhSc6tTMYHG2NR9URAjtbAJ4uVXkHeQmSfOlW48e67mDEkOMbOgCeKikq t6ZpfQcwzPSCwyBuKWwxY9g= =L+/h -----END PGP SIGNATURE-----
Carlos E. R. wrote:
If you want to take over configuration of postfix on your hands, then ignore the warning.
Then you might also want to set MAIL_CREATE_CONFIG in /etc/sysconfig/mail to no. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2005-11-24 at 14:14 +0100, Joachim Schrod wrote:
If you want to take over configuration of postfix on your hands, then ignore the warning.
Then you might also want to set MAIL_CREATE_CONFIG in /etc/sysconfig/mail to no.
True, cleaner. I didn't bother O:-) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFDhi7+tTMYHG2NR9URAq8eAJ4p0Fvd8HuAyjl2eLT+0+XBwrC/AgCePwFR FQZUDplhqp7b3idmFECokyc= =Jo/f -----END PGP SIGNATURE-----
participants (4)
-
Carlos E. R.
-
James D. Parra
-
Joachim Schrod
-
Patrick Shanahan