returning message to sender

TestUser

Verified User
Joined
Aug 26, 2011
Messages
222
Hello all.
I would really aprechiate for any hint...
i want to send email wia PHP...
i have done this 1000 times...
now the email dosent arive... and in exim long i see this

2022-09-13 14:22:38 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1oY4w2-0003kT-8n
2022-09-13 14:22:38 1oY4w2-0003kT-8n ** ana@###.com F=<ananir@###> R=virtual_aliases:
2022-09-13 14:22:38 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1oY4w2-0003kT-8n
2022-09-13 14:22:38 1oY4w2-0003kY-BG <= <> R=1oY4w2-0003kT-8n U=mail P=local S=2481 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2022-09-13 14:22:38 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1oY4w2-0003kY-BG
2022-09-13 14:22:38 1oY4w2-0003kY-BG => ananirvana <ananir@###> F=<> R=localuser T=local_delivery S=2583
2022-09-13 14:22:38 1oY4w2-0003kY-BG Completed

Any ideas?
 
i have found this in exin log
2022-09-13 14:35:09 1oY589-0006GP-KU [SERVER_IP] SSL verify error: certificate name mismatch: DN="/CN=node2.limonet.si" H="mail.ananirvana.com"
hmmmm ideas?
 
DN="/CN=node2.limonet.si" H="mail.ananirvana.com"
Did you change your hostname by any chance? Seems it's registered to SSL with the node2 name, but Exim is saying hello with a different name.

Did you use the ssl sni setting in directadmin.conf?
 
no i didnt...
server hostname and host for email is not same becouse i have multiple users/domains on this server
nod2 is my email servers hostname
mail.ana.... is domain from where the email is send (via php)
 
Run this:
Git:
grep E1oY4w2-0003kT-8n /var/log/exim/mainlog

The answer should be in that. Feel free to post it if you don't think it's anything too private.
 
interesting...
seems i had some issues with certificates...
once i renegerated ssl certificates, all started to work
 
Back
Top