[rancid] problem sending on port 465

Vacheslav m_zouhairy at skno.by
Tue Dec 24 05:42:39 UTC 2024


Peace, we currently switched providers of our mail service, now it's 
using port 465.
i managed to start nagios sending messages but rancid is not working.
Previously, using sendmail everything was working.
now i uninstalled sendmail and installed ssmtp with mailx.

rancid is displaying the following error in logs:

/sendmail: RCPT TO:<r_alfredo at contabo.de,> (501 syntax error)

in /var/log/messges :

  /sendmail: 572 rancid at contabo.de host name is unknown
  572 rancid at contabo.de host name is unknown

how can i switch rancid from sendmail to mailx or mail?

i edited /etc/rancid.conf as follows:

SENDMAIL="/usr/bin/mailx"

but that produced an error:

/usr/bin/mailx: invalid option -- 't'
usage: mailx [-dEIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-r 
from-addr] [-s subject] [--] to-addr ...
        mailx [-dEIiNnv] -f [name]
        mailx [-dEIiNnv] [-u user]



More information about the Rancid-discuss mailing list