Doesn't solve the issue. Seems to be php compile related? The issue is not with exim, it's with sendmail being completely wipedit already fixed in custombuild. trying rebuild exim_conf again
Can you push a php update to custombuild?Yes, the link is created on PHP update time. You may execute:
Code:ln -sf /usr/sbin/exim /usr/sbin/sendmail
Or simply re-build php. Sorry for the bug introduced.
- hosts: all
tasks:
- stat:
path: /usr/local/directadmin/directadmin
register: directadmin
- stat:
path: /usr/sbin/exim
register: eximfile
- name: Validacion de directadmin
fail:
msg="Este playbook solo es para directadmin"
when: directadmin.stat.exists == False
- name: Validacion de eximfile
fail:
msg="No existe exim"
when: eximfile.stat.exists == False
- name: Reparamos sendmail 1/2
file:
src: /usr/sbin/exim
dest: /usr/sbin/sendmail
owner: root
group: root
state: link
- name: Reparamos sendmail 2/2
file:
src: /usr/sbin/exim
dest: /sbin/sendmail
owner: root
group: root
state: link
had to remove the symlink first on my debian11 box, but it works again now. Thanks.Yes, the link is created on PHP update time. You may execute:
Code:ln -sf /usr/sbin/exim /usr/sbin/sendmail
Or simply re-build php. Sorry for the bug introduced.
Mentioned fix:Ran into the same issue on my servers after customers complaining that they were unable to send email. Can this symlink action be done on all servers, even those that are not updated yet?
I now have 40 servers with a mixture of sendmail symlinks to:
/usr/sbin/sendmail -> exim
/usr/sbin/sendmail -> /etc/alternatives/mta
/usr/sbin/sendmail -> /etc/exim
/usr/sbin/sendmail -> /usr/sbin/exim
This is a pretty big bug introduced, some more info would be welcome.
ln -nsf /usr/sbin/exim /usr/sbin/sendmail
Thanks for the hint, i can use this error to make a MASS command issue on WPDA for WordPress, send same command to multiple serversMentioned fix:
Code:ln -nsf /usr/sbin/exim /usr/sbin/sendmail
Can be executed on every server with any version of CustomBuild, it's safe to do this.
Thanks, the command fixed the problem.Yes, the link is created on PHP update time. You may execute:
Code:ln -nsf /usr/sbin/exim /usr/sbin/sendmail
Or simply re-build php. Sorry for the bug introduced.
If the bug has been introduced by a directadmin(as custombuild its a integral part of directadmin) update to hundreds or thousands of servers, where only who was looking for information at forum will (eventually) find the fix for the problem, why not fix the problem in the same way?, thought custombuild pushing a automatic update, you have to think in the users who not know they are affected by this yet.Mentioned fix:
Code:ln -nsf /usr/sbin/exim /usr/sbin/sendmail
Can be executed on every server with any version of CustomBuild, it's safe to do this.