Nils
2020-Jul-19 19:44 UTC
I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
Postconf: https://pastebin.com/vTVn2UMr Doveconf: https://pastebin.com/nEpZrpzB all my logs from mail.(warn,err,info,log): https://pastebin.com/ccEVUqyd my messges log: https://pastebin.com/cXaEBmcH I'm not sure if you meant this about dict_nis_init but I've done what's explained here: https://unix.stackexchange.com/questions/244199/postfix-mail-logs-keep-showing-nis-domain-not-set On 19/07/2020 21:05, Alexander Dalloz wrote:> Am 19.07.2020 um 10:20 schrieb Nils: >> >> Here are my configurations: >> Postfix main.cf: https://pastebin.com/S17jWDQd >> Postfix master.cf: https://pastebin.com/W0nynZG6 >> dovecot.conf: https://pastebin.com/tMD90Znn > > Please provide your configurations processed by the tools postconf and > doveconf. > >> This is what my server logs (mail.info, mail.warn) tell me: >> root at bgrsld-mail0:~# tail /var/log/mail.info >> Jul 17 18:22:08 bgrsld-mail0 postfix/submission/smtpd[8472]: improper >> command pipelining after EHLO from unknown[192.168.2.110]: QUIT\r\n >> Jul 17 18:22:08 bgrsld-mail0 postfix/submission/smtpd[8465]: >> disconnect from unknown[192.168.2.110] ehlo=1 quit=1 commands=2 >> Jul 17 18:22:08 bgrsld-mail0 postfix/submission/smtpd[8472]: >> disconnect from unknown[192.168.2.110] ehlo=1 quit=1 commands=2 >> Jul 17 18:24:59 bgrsld-mail0 postfix/submission/smtpd[8485]: warning: >> dict_nis_init: NIS domain name not set - NIS lookups disabled >> Jul 17 18:24:59 bgrsld-mail0 postfix/submission/smtpd[8485]: connect >> from unknown[192.168.2.110] >> Jul 17 18:24:59 bgrsld-mail0 postfix/submission/smtpd[8485]: improper >> command pipelining after EHLO from unknown[192.168.2.110]: QUIT\r\n >> Jul 17 18:24:59 bgrsld-mail0 postfix/submission/smtpd[8485]: >> disconnect from unknown[192.168.2.110] ehlo=1 quit=1 commands=2 >> Jul 17 18:28:19 bgrsld-mail0 postfix/anvil[8473]: statistics: max >> connection rate 2/60s for (submission:192.168.2.110) at Jul 17 18:22:08 >> Jul 17 18:28:19 bgrsld-mail0 postfix/anvil[8473]: statistics: max >> connection count 2 for (submission:192.168.2.110) at Jul 17 18:22:08 >> Jul 17 18:28:19 bgrsld-mail0 postfix/anvil[8473]: statistics: max >> cache size 1 at Jul 17 18:22:08 >> root at bgrsld-mail0:~# tail /var/log/mail.warn >> Jul 17 18:21:50 bgrsld-mail0 postfix/postfix-script[8290]: warning: >> symlink leaves directory: /etc/postfix/./makedefs.out >> Jul 17 18:22:08 bgrsld-mail0 postfix/submission/smtpd[8465]: warning: >> dict_nis_init: NIS domain name not set - NIS lookups disabled >> Jul 17 18:22:08 bgrsld-mail0 postfix/submission/smtpd[8472]: warning: >> dict_nis_init: NIS domain name not set - NIS lookups disabled >> Jul 17 18:24:59 bgrsld-mail0 postfix/submission/smtpd[8485]: warning: >> dict_nis_init: NIS domain name not set - NIS lookups disabled > > There is no SMTP AUTH in the log. Provide the logs from a connection > where your MUA tries to auth. > > And fix the dict_nis_init thing. See alias_maps. > > Alexander-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200719/a094a14f/attachment.html>
Alexander Dalloz
2020-Jul-19 19:53 UTC
I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
Am 19.07.2020 um 21:44 schrieb Nils:> Postconf: https://pastebin.com/vTVn2UMr > Doveconf: https://pastebin.com/nEpZrpzBOh no, please postconf -n postconf -Mf doveconf -n> all my logs from mail.(warn,err,info,log): https://pastebin.com/ccEVUqydMake sure your MUA is setup to make a STARTTLS connection to Postfix's submission port. I don't see that in your logs.> my messges log: https://pastebin.com/cXaEBmcHSee https://doc.dovecot.org/admin_manual/logging/ for debugging your connections to dovecot.> I'm not sure if you meant this about dict_nis_init but I've done what's > explained here: > https://unix.stackexchange.com/questions/244199/postfix-mail-logs-keep-showing-nis-domain-not-setI still see "warning: dict_nis_init: NIS domain name not set - NIS lookups disabled" in your pasted logs. Alexander
Nils
2020-Jul-19 20:08 UTC
I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
> Oh no, pleaseI'm sorry, here: postconf -n https://pastebin.com/UQQhieMy postconf -Mf https://pastebin.com/AHEUSkfQ doveconf -n https://pastebin.com/s7DVY9XW > Make sure your MUA is setup to make a STARTTLS connection to Postfix's submission port. I don't see that in your logs. https://imgur.com/a/3MJXRUh This is the configuration. Afaik thats also the correct port for SMTP. I've also checked that all the ports are open on the server (via netstat): https://pastebin.com/tY6rSi8y I have (currently) no firewall installed so there aren't any ports blocked either. Since it's in an internal network there is also no ISP which can block any ports (and I've also already added a few mailboxes from other sources without any problems). > I still see "warning: dict_nis_init: NIS domain name not set - NIS lookups disabled" in your pasted logs. It's only there bc this logs are made before I made the change in config regarding this. Can't find it in any newer entries after restarting postfix. On 19/07/2020 21:53, Alexander Dalloz wrote:> Am 19.07.2020 um 21:44 schrieb Nils: >> Postconf: https://pastebin.com/vTVn2UMr >> Doveconf: https://pastebin.com/nEpZrpzB > > Oh no, please > > postconf -n > postconf -Mf > doveconf -n > >> all my logs from mail.(warn,err,info,log): https://pastebin.com/ccEVUqyd > > Make sure your MUA is setup to make a STARTTLS connection to Postfix's > submission port. I don't see that in your logs. > >> my messges log: https://pastebin.com/cXaEBmcH > > See https://doc.dovecot.org/admin_manual/logging/ for debugging your > connections to dovecot. > >> I'm not sure if you meant this about dict_nis_init but I've done >> what's explained here: >> https://unix.stackexchange.com/questions/244199/postfix-mail-logs-keep-showing-nis-domain-not-set > > I still see "warning: dict_nis_init: NIS domain name not set - NIS > lookups disabled" in your pasted logs. > > Alexander
Benny Pedersen
2020-Jul-19 20:21 UTC
I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
Nils skrev den 2020-07-19 21:44:> Postconf: https://pastebin.com/vTVn2UMr > Doveconf: https://pastebin.com/nEpZrpzBpostconf -nf doveconf -n all the above was is just defaults, not very helpfull
Possibly Parallel Threads
- I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
- I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
- I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
- I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server
- I need some help with my Dovecot and Postfix configs - I'm unable to log in on my mail server