Smtp originator failed on sending mails

NethServer Version: latest
Module: sogo and webtop5

Hello,
I am having an issue sending emails… WHile it ist still possible for e to receive emails.

On webtop, when I click send I am told service unavailable try again later
on sogo I am being told smtp originator failed

anyone have a solution to how I can about fixing the issue…

Check if postfix is running:

systemctl status postfix

If it’s not running, restart it:

systemctl restart postfix

Inspect the logs to see if something is broken :slight_smile:

And…check also that your hard disk is not full!

postfix is not the issue, as it is running.

I have though restarted it just incase and seems to be ok.
I am still getting
451 4.7.1 Service unavailable - try again later

As for the hard disk… it is not full

I am getting this on mail log

Dec 17 21:46:26 my postfix/pickup[3462]: A6D4A7BFCC: uid=48 from=<apache> 
Dec 17 21:46:26 my postfix/cleanup[5152]: warning: connect to Milter service unix:/var/run/opendkim/milter: Permission denied 
Dec 17 21:46:26 my postfix/cleanup[5152]: A6D4A7BFCC: milter-reject: CONNECT from localhost[127.0.0.1]: 4.7.1 Service unavailable - try again later; from=<apache@my.

The error is quite clear: you have wrong permission on the file, you should fix it:

chmod 0770 /var/run/opendkim/milter
chown opendkim:mail /var/run/opendkim/milter
systemctl restart rspamd.service
1 Like

after running the script to fix permisions, the same issues still persists. when trying to send emails I am being told service unavailable.

IIRC it is a rspamd start problem … @davidep any idea on this?

this error is driving me nuts

On my machine, these are the permission of the dir:

drwxrwxr-x 2 opendkim opendkim 80 Dec 13 12:22 /var/run/opendkim/

You can also try with:

rpm --setperms opendkim
rpm --setugids opendkim
systemctl restart opendkim
1 Like