From 5fe133a6400d89b5a0b0130c03a058221c336856 Mon Sep 17 00:00:00 2001 From: mukeshscreener <57339995+mukeshscreener@users.noreply.github.com> Date: Thu, 5 Aug 2021 17:37:37 +0530 Subject: [PATCH] Update setting-up-postfix.md Update commands --- setting-up-postfix.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setting-up-postfix.md b/setting-up-postfix.md index fef7bfe..4fb96bb 100644 --- a/setting-up-postfix.md +++ b/setting-up-postfix.md @@ -167,7 +167,7 @@ sudo apt-get install libsasl2-2 sasl2-bin libsasl2-modules We not need to move root path of `saslauthd` into `/var/spool/postfix`. -First, we edit `/etc/default/saslauthd` in order to activate saslauthd. Remove # in front of `START=yes`, add the `PWDIR`, `PARAMS`, and `PIDFILE` lines and edit the `OPTIONS` line at the end: +First, we edit `/etc/default/saslauthd` in order to activate saslauthd. Remove # in front of `START=yes` Or replace with `START=no`, add the `PWDIR`, `PARAMS`, and `PIDFILE` lines and edit the `OPTIONS` line at the end: ```conf # This needs to be uncommented before saslauthd will be run automatically @@ -198,7 +198,7 @@ OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" Next, we update the dpkg "state" of `/var/spool/postfix/var/run/saslauthd`. The saslauthd init script uses this setting to create the missing directory with the appropriate permissions and ownership: ```bash -sudo dpkg-statoverride --force --update --add root sasl 755 /var/spool/postfix/var/run/saslauthd +sudo dpkg-statoverride --force-all --update --add root sasl 755 /var/spool/postfix/var/run/saslauthd ``` This may report an error that "--update given" and the "/var/spool/postfix/var/run/saslauthd" directory does not exist. You can ignore this because when you start saslauthd next it will be created. @@ -291,4 +291,4 @@ If you need any help on sending email using telnet, use [MediaTemple's Guide](ht - Check [common Postfix commands](./postfix-commands.md) for debugging logs. -[ubuntu guide]: https://help.ubuntu.com/community/Postfix \ No newline at end of file +[ubuntu guide]: https://help.ubuntu.com/community/Postfix