Re: Postfix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Tue, 29 Apr 2025 22:06:28 +0930 Tim via users wrote:

> Barry <barry@xxxxxxxxxxxxxxxx> kirjoitti:
>> > Being enabled is not necessarily enough.
>> > It must be enabled for the default target.
>> > 
>> > Is it wanted by the default target?

/usr/lib/systemd/system/postfix.service states to enable it in
the multi-user.target: WantedBy=multi-user.target

> jarmo:
>> Is this what you mean?
>> systemctl enable postfix
>> Created symlink
>> '/etc/systemd/system/multi-user.target.wants/postfix.service' →
>> '/usr/lib/systemd/system/postfix.service'.

And this is done now. It was not enabled before.

@jarmo: can you check that postfix starts now after a reboot ?

> What you probably want is a network-online.target or
> network-wait-online.target, so the network has to be up beforehand
> (and I've forgotten the precise name for it right now).

(this is network-online.target that pulls NetworkManager-wait-online.service)

By default postfix listen only to localhost:

  /etc/postfix/main.cf: inet_interfaces = localhost

If you want incoming smtp connections, the simplest way to do that is
to set inet_interfaces = all in main.cf

> Bearing in mind that even *then* there have been cases of the network
> not actually being up and running before being declared it was.

Right.

> I'm beginning to think we need either a post-boot target, or at
> least an improvement on the network is up decision making.

I wrote one. Search for nm-wait-online-routes-gw.conf in the list
archives:

  https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/THPESZMXWTH6IO6B6YJXUQAGHOMPVCFF/

-- 
francis
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux