Author Topic: Can't receive emails  (Read 4225 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't receive emails
« on: October 24, 2019, 08:23:09 AM »
Hello there.

I setup email, and when I try to send something from roundcube it's working, and it deliveres nicely. However, when I send email from gmail or from any other provider, I don't receive anything in my inbox (nor spam) folder.
I have following in mail log:
Code: [Select]
Oct 24 10:15:55 bosiskarijera postfix/smtpd[32039]: connect from mail-io1-f49.google.com[209.85.166.49]
Oct 24 10:15:55 bosiskarijera postfix/smtpd[32039]: Anonymous TLS connection established from mail-io1-f49.google.com[209.85.166.49]: TLSv1.2 with cipher ECDHE-RSA-
AES128-GCM-SHA256 (128/128 bits)
Oct 24 10:15:55 bosiskarijera postfix/trivial-rewrite[32044]: warning: do not list domain bosiskarijera.rs in BOTH mydestination and virtual_mailbox_domains
Oct 24 10:15:55 bosiskarijera postfix/smtpd[32039]: E21AFC2173: client=mail-io1-f49.google.com[209.85.166.49]
Oct 24 10:15:56 bosiskarijera postfix/cleanup[32049]: E21AFC2173: message-id=<CAGsoa26k4M6ncEUq-+69tAmtaeGcex72hTEfrecZyHQTteVhgA@mail.gmail.com>
Oct 24 10:15:56 bosiskarijera opendkim[29291]: E21AFC2173: mail-io1-f49.google.com [209.85.166.49] not internal
Oct 24 10:15:56 bosiskarijera opendkim[29291]: E21AFC2173: not authenticated
Oct 24 10:15:56 bosiskarijera opendkim[29291]: E21AFC2173: DKIM verification successful
Oct 24 10:15:56 bosiskarijera postfix/qmgr[29110]: E21AFC2173: from=<myemail@gmail.com>, size=3957, nrcpt=1 (queue active)
Oct 24 10:15:56 bosiskarijera postfix/trivial-rewrite[32044]: warning: do not list domain bosiskarijera.rs in BOTH mydestination and virtual_mailbox_domains
Oct 24 10:15:56 bosiskarijera postfix/local[32051]: E21AFC2173: to=<nikola@bosiskarijera.rs>, relay=local, delay=0.34, delays=0.33/0.01/0/0, dsn=2.0.0, status=sent
(delivered to mailbox)
Oct 24 10:15:56 bosiskarijera postfix/qmgr[29110]: E21AFC2173: removed
Oct 24 10:15:56 bosiskarijera postfix/smtpd[32039]: disconnect from mail-io1-f49.google.com[209.85.166.49]

Any suggestions please?

Offline
*
Re: Can't receive emails
« Reply #1 on: October 24, 2019, 08:18:48 PM »
warning: do not list domain bosiskarijera.rs in BOTH mydestination and virtual_mailbox_domains <--- it's in the log


Make sure that mydestination parameter is correct in /etc/postfix/main.cf

mydestination = localhost.$mydomain, localhost, localhost.localdomain

is the standard setting, to avoid some potential problems, you could delete: localhost.$mydomain,