[SOLVED] Cannot send mails using local sendmail

Hi,

just another observation. On old server where I migrated data from works OK.

Interesting thing is, there are different Axigen server versions aparrently (altough on old server Axigen admin interface was telling it’s latest version available). New server was fresh install from scratch - just copied /var/opt/axigen to transfer my data.

Old server has written everithing.txtlog file:
# created by AXIGEN version 10.3.0.66 (Linux/x64)

New server has this header in lof files:
# created by AXIGEN version 10.3.1.5 (Linux/x64)

So maybe some new bug or something?

Anyway, if I use telnet to ::1 25 and send whole message through here, it works.
So workarround which works for me is:
apt purge bsd-mailx
apt install mutt
echo ‘set smtp_url=“smtp://localhost”’ > /etc/Muttrc.d/smtp-server.rc

And then use mutt command instead mail / mailx in scripts. Works good (of course you must have some SPF exceptions in Acceptance & Routing rules).