can not receive and send email

Hi, i got problem: i can not received email and send email.

this is my email log when received email:

Dec 17 11:55:54 centos7x64 dovecot: imap-login: Login: user=info@webipro.id, method=PLAIN, rip=::1, lip=::1, mpid=79580, TLS, session=<P+qeAuWZqJwAAAAAAAAAAAAAAAAAAAAB>
Dec 17 11:55:54 centos7x64 dovecot: imap(info@webipro.id)<79580><P+qeAuWZqJwAAAAAAAAAAAAAAAAAAAAB>: Logged out in=96 out=1010 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 17 11:56:00 centos7x64 postfix/smtpd[79586]: connect from mail-lj1-f170.google.com[209.85.208.170]
Dec 17 11:56:02 centos7x64 postfix/smtpd[79586]: 5C1789C8C7: client=mail-lj1-f170.google.com[209.85.208.170]
Dec 17 11:56:02 centos7x64 postfix/cleanup[79594]: 5C1789C8C7: message-id=CAEt3qN=mDRekoikO=6qYy0_SG4nJOMGdR2aM9-usjHn7TLj66Q@mail.gmail.com
Dec 17 11:56:02 centos7x64 opendkim[61506]: 5C1789C8C7: mail-lj1-f170.google.com [209.85.208.170] not internal
Dec 17 11:56:02 centos7x64 opendkim[61506]: 5C1789C8C7: not authenticated
Dec 17 11:56:02 centos7x64 opendkim[61506]: 5C1789C8C7: DKIM verification successful
Dec 17 11:56:02 centos7x64 postfix/qmgr[79388]: 5C1789C8C7: from=erwindevsmtp@gmail.com, size=2520, nrcpt=1 (queue active)
Dec 17 11:56:02 centos7x64 postfix/pipe[79596]: fatal: get_service_attr: unknown username: spamd
Dec 17 11:56:03 centos7x64 postfix/smtpd[79586]: disconnect from mail-lj1-f170.google.com[209.85.208.170] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
Dec 17 11:56:03 centos7x64 postfix/qmgr[79388]: warning: private/spamassassin socket: malformed response
Dec 17 11:56:03 centos7x64 postfix/qmgr[79388]: warning: transport spamassassin failure – see a previous warning/fatal/panic logfile record for the problem description
Dec 17 11:56:03 centos7x64 postfix/master[79386]: warning: process /usr/libexec/postfix/pipe pid 79596 exit status 1
Dec 17 11:56:03 centos7x64 postfix/master[79386]: warning: /usr/libexec/postfix/pipe: bad command startup – throttling
Dec 17 11:56:03 centos7x64 postfix/error[79602]: 5C1789C8C7: to=info@webipro.id, relay=none, delay=1.1, delays=0.09/1/0/0, dsn=4.3.0, status=deferred (unknown mail transport error)

this is my log when send email:

Dec 17 11:58:53 centos7x64 dovecot: imap-login: Login: user=info@webipro.id, method=PLAIN, rip=::1, lip=::1, mpid=79690, TLS, session=
Dec 17 11:58:53 centos7x64 dovecot: imap(info@webipro.id)<79690>: Logged out in=96 out=1010 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 17 11:59:01 centos7x64 postfix/smtp[79661]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Connection timed out
Dec 17 11:59:01 centos7x64 postfix/smtp[79664]: connect to alt1.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection timed out
Dec 17 11:59:01 centos7x64 postfix/smtp[79667]: connect to alt1.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection timed out
Dec 17 11:59:01 centos7x64 postfix/smtp[79668]: connect to mta5.am0.yahoodns.net[67.195.228.106]:25: Connection timed out
Dec 17 11:59:01 centos7x64 postfix/smtp[79669]: connect to alt1.gmail-smtp-in.l.google.com[173.194.202.26]:25: Connection timed out
Dec 17 11:59:01 centos7x64 postfix/smtp[79672]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Connection timed out
Dec 17 11:59:01 centos7x64 dovecot: imap-login: Login: user=info@webipro.id, method=PLAIN, rip=::1, lip=::1, mpid=79692, TLS, session=
Dec 17 11:59:01 centos7x64 postfix/submission/smtpd[79693]: connect from localhost[::1]
Dec 17 11:59:02 centos7x64 postfix/submission/smtpd[79693]: 169D69C8C6: client=localhost[::1], sasl_method=PLAIN, sasl_username=info@webipro.id
Dec 17 11:59:02 centos7x64 postfix/cleanup[79696]: 169D69C8C6: message-id=c12d2df774dc8f958e34c7f7c8d7bd74@webipro.id
Dec 17 11:59:02 centos7x64 opendkim[61506]: 169D69C8C6: DKIM-Signature field added (s=default, d=webipro.id)
Dec 17 11:59:02 centos7x64 postfix/qmgr[79388]: 169D69C8C6: from=info@webipro.id, size=1154, nrcpt=1 (queue active)
Dec 17 11:59:02 centos7x64 postfix/submission/smtpd[79693]: disconnect from localhost[::1] ehlo=2 starttls=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=8
Dec 17 11:59:02 centos7x64 dovecot: imap(info@webipro.id)<79692>: Logged out in=1063 out=1434 deleted=1 expunged=1 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 17 11:59:02 centos7x64 dovecot: imap-login: Login: user=info@webipro.id, method=PLAIN, rip=::1, lip=::1, mpid=79700, TLS, session=
Dec 17 11:59:02 centos7x64 dovecot: imap(info@webipro.id)<79700>: Logged out in=96 out=1011 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Dec 17 11:59:31 centos7x64 postfix/smtp[79661]: connect to alt1.gmail-smtp-in.l.google.com[173.194.202.27]:25: Connection timed out
Dec 17 11:59:31 centos7x64 postfix/smtp[79664]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Connection timed out
Dec 17 11:59:31 centos7x64 postfix/smtp[79667]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Connection timed out
Dec 17 11:59:31 centos7x64 postfix/smtp[79668]: connect to mta6.am0.yahoodns.net[67.195.204.73]:25: Connection timed out
Dec 17 11:59:31 centos7x64 postfix/smtp[79669]: connect to alt1.gmail-smtp-in.l.google.com[2607:f8b0:400e:c00::1a]:25: Connection timed out
Dec 17 11:59:31 centos7x64 postfix/smtp[79672]: connect to alt1.gmail-smtp-in.l.google.com[173.194.202.27]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79661]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79664]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79667]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1a]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79668]: connect to mta6.am0.yahoodns.net[98.136.96.76]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79669]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1a]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79672]: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out
Dec 17 12:00:01 centos7x64 postfix/smtp[79661]: B16729C8B6: to=erwindevsmtp@gmail.com, relay=none, delay=3540, delays=3390/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/smtp[79664]: 502349C8B3: to=erwindevsmtp@gmail.com, relay=none, delay=3741, delays=3591/0.04/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/smtp[79667]: 06A4B9C89C: to=erwin.t4n@gmail.com, relay=none, delay=97034, delays=96884/0.06/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1a]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/smtp[79668]: 069F29C8A7: to=erwinatma@yahoo.com, relay=none, delay=24066, delays=23916/0.06/150/0, dsn=4.4.1, status=deferred (connect to mta6.am0.yahoodns.net[98.136.96.76]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/smtp[79669]: 9EA329C8C3: to=erwin.t4n@gmail.com, relay=none, delay=639, delays=489/0.07/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1a]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/smtp[79672]: 872669C8C5: to=erwin.t4n@gmail.com, relay=none, delay=553, delays=403/0.09/150/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1b]:25: Connection timed out)
Dec 17 12:00:01 centos7x64 postfix/error[79806]: 169D69C8C6: to=erwindevsmtp@gmail.com, relay=none, delay=60, delays=0.09/60/0/0.03, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4003:c14::1a]:25: Connection timed out)
Dec 17 12:00:02 centos7x64 postfix/pickup[79387]: 3FE129C8CA: uid=0 from=
Dec 17 12:00:02 centos7x64 postfix/cleanup[79696]: 3FE129C8CA: message-id=20191217120002.3FE129C8CA@webipro.id
Dec 17 12:00:02 centos7x64 opendkim[61506]: 3FE129C8CA: DKIM-Signature field added (s=default, d=webipro.id)
Dec 17 12:00:02 centos7x64 postfix/qmgr[79388]: 3FE129C8CA: from=root@webipro.id, size=851, nrcpt=1 (queue active)
Dec 17 12:00:02 centos7x64 postfix/pipe[79826]: 3FE129C8CA: to=root@webipro.id, orig_to=, relay=dovecot, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: lda(root@webipro.id): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Dec 17 12:00:02 centos7x64 postfix/cleanup[79696]: 52D8C9C8CB: message-id=20191217120002.52D8C9C8CB@webipro.id
Dec 17 12:00:02 centos7x64 postfix/qmgr[79388]: 52D8C9C8CB: from=<>, size=3186, nrcpt=1 (queue active)
Dec 17 12:00:02 centos7x64 postfix/bounce[79828]: 3FE129C8CA: sender non-delivery notification: 52D8C9C8CB
Dec 17 12:00:02 centos7x64 postfix/qmgr[79388]: 3FE129C8CA: removed
Dec 17 12:00:02 centos7x64 postfix/pipe[79826]: 52D8C9C8CB: to=root@webipro.id, relay=dovecot, delay=0.02, delays=0/0/0/0.01, dsn=5.1.1, status=bounced (user unknown. Command output: lda(root@webipro.id): Error: net_connect_unix(/var/run/dovecot/stats-writer) failed: Permission denied )
Dec 17 12:00:02 centos7x64 postfix/qmgr[79388]: 52D8C9C8CB: removed
Dec 17 12:00:53 centos7x64 dovecot: imap-login: Login: user=info@webipro.id, method=PLAIN, rip=::1, lip=::1, mpid=79836, TLS, session=
Dec 17 12:00:53 centos7x64 dovecot: imap(info@webipro.id)<79836>: Logged out in=89 out=1003 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0

do you know guys what’s the problem?

thank you

It looks like port 25 outbound is blocked. Check with your VPS/Server provider if port 25 is restricted.

@paulie can i use port 587?

You need port 25 open to receive emails from others. Other mail servers wont know how to find your new port.

The only way around it is to use a 3rd party smarthost such as Mailchannels, and route all outbound traffic on an alternate port. Port 25 is blocked by many providers to control mail abuse.

omg i thought the problem was mine only. Same here