Cant send email from wordpress

hi , in virtualmin panel i can send mail and have no problem
in log it says from : info@tecme.ir

but in wordpress i cant send mail
log is :
Jul 10 19:23:13 hamid postfix/pickup[16399]: A249143BB6: uid=1002 from=
Jul 10 19:23:13 hamid postfix/cleanup[17530]: A249143BB6: message-id=d60a28dc7e79e75af036fcac5daab2e3@pinar-co.ir
Jul 10 19:23:13 hamid postfix/qmgr[16398]: A249143BB6: from=pinar-co@hamid.tecme.ir, size=1236, nrcpt=1 (queue active)
Jul 10 19:23:16 hamid postfix/smtp[17532]: connect to gmail-smtp-in.l.google.com[2a00:1450:400c:c01::1a]:25: Network is unreachable
Jul 10 19:23:17 hamid postfix/smtp[17532]: A249143BB6: to=manig.mamas@gmail.com, relay=gmail-smtp-in.l.google.com[172.253.120.26]:25, delay=3.8, delays=0.07/0.03/3.3/0.36, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[172.253.120.26] said: 550-5.7.26 This message does not have authentication information or fails to 550-5.7.26 pass authentication checks. To best protect our users from spam, the 550-5.7.26 message has been blocked. Please visit 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for more 550 5.7.26 information. l6si4763187wru.554 - gsmtp (in reply to end of DATA command))
Jul 10 19:23:17 hamid postfix/cleanup[17530]: 60B1743BB7: message-id=20200710145317.60B1743BB7@hamid.tecme.ir
Jul 10 19:23:17 hamid postfix/qmgr[16398]: 60B1743BB7: from=<>, size=3922, nrcpt=1 (queue active)
Jul 10 19:23:17 hamid postfix/bounce[17547]: A249143BB6: sender non-delivery notification: 60B1743BB7
Jul 10 19:23:17 hamid postfix/qmgr[16398]: A249143BB6: removed
Jul 10 19:23:17 hamid postfix/local[17549]: 60B1743BB7: to=pinar-co@hamid.tecme.ir, relay=local, delay=0.03, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jul 10 19:23:17 hamid postfix/qmgr[16398]: 60B1743BB7: removed

why it send message from @hamid.tecme.ir . is it reason i cant send message ?
i even did add dns record as : 202006._domainkey.hamid

@azhamid - the above tells you why the message doesn’t go thru.

The usual culprits are

  1. incorrect or lack of rPTR record
  2. incorrect or lack of SPF record

The above 2 (imo are the main ones)

  1. incorrect or lack of DKIM record or emails not being signed with DKIM.
  2. incorrect or lack of DMARC record

HIH

Dibs

but how can i send mail via roundcube in virtualmin as info@tecme.ir ?

i did add SPF and DKIM and DMARC record

Create an account info in the domain\Virtual Server tecme.ir - assuming Roundcube is installed - login and send an email.

(remembering to go into the settings and change the email from field, from info-tecme.ir to info@tecme.ir)

If you did add the SPF, DKIM & DMARC records - best validate them, i.e. test they are correct.

HIH

Dibs

i meant how its possible to send from info@tecme.ir but not info@hamid.tecme.ir :slight_smile: ?

Maybe you have SPF, DKIM & DMARC setup for tecme.ir but not for hamid.tecme.ir?

Why not just send as info@tecme.ir instead of as info@hamid.tecme.ir?

when i try send mail in wordpress like changing wordpress admin mail . in log it says from : @hamid.tecme.ir
i dont know how change that

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.