R=nonlocal: Mailing to remote domains not supported

Reconfigure exim using the below command :

dpkg-reconfigure exim4-config

 

Advertisements

Disable NDR (Non Delivery Report) in sendmail

Edit the file : /etc/mail/sendmail.mc

Change

define(`confPRIVACY_FLAGS’, `authwarnings,novrfy,noexpn,restrictqrun’)dnl

to

define(`confPRIVACY_FLAGS’, `authwarnings,nobodyreturn’)dnl

Save the file.

updated the config :
m4 sendmail.mc > sendmail.cf
Restart the service :
/etc/init.d/sendmail restart

 

G