Cant send email from wordpress

hi , in virtualmin panel i can send mail and have no problem
in log it says from :

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:
Jul 10 19:23:13 hamid postfix/qmgr[16398]: A249143BB6:, size=1236, nrcpt=1 (queue active)
Jul 10 19:23:16 hamid postfix/smtp[17532]: connect to[2a00:1450:400c:c01::1a]:25: Network is unreachable
Jul 10 19:23:17 hamid postfix/smtp[17532]: A249143BB6:,[]:25, delay=3.8, delays=0.07/0.03/3.3/0.36, dsn=5.7.26, status=bounced (host[] 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 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:
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:, 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 . 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



but how can i send mail via roundcube in virtualmin as ?

i did add SPF and DKIM and DMARC record

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

(remembering to go into the settings and change the email from field, from to

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



i meant how its possible to send from but not :slight_smile: ?

Maybe you have SPF, DKIM & DMARC setup for but not for

Why not just send as instead of as

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

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