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

fix postfix installation (stops because of hostname) #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

secf00tprint
Copy link

@secf00tprint secf00tprint commented Oct 29, 2021

Output of mail.log:

Running newaliases
newaliases: warning: valid_hostname: misplaced delimiter: fe4776b94017..
newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: fe4776b94017..
dpkg: error processing package postfix (--configure):
 subprocess installed post-installation script returned error exit status 75
...
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)

fe4776b94017 is an example hostname created by docker.
To change the hostname I used this documentation

Removed some blank lines because docker is complaining

g-pichler pushed a commit to g-pichler/docker-imap-devel that referenced this pull request Mar 17, 2023
Add env to create multiple mail accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant