Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setting-up-postfix.md #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions setting-up-postfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
[ubuntu guide]: https://help.ubuntu.com/community/Postfix