ibm-cloud-docs / email-delivery

email-delivery
1 stars 7 forks source link

Incorrect quote used when configuring sendmail.mc #12

Open dlentzIBM opened 11 months ago

dlentzIBM commented 11 months ago

In both the RHEL/CENTOS and Ubuntu/Debian sections the instructions state to edit the sendmail.mc file , comment out one line and add these lines:

define('SMART_HOST', 'smtp.sendgrid.net')dnl FEATURE('access_db')dnl define('RELAY_MAILER_ARGS', 'TCP $h 587')dnl define('ESMTP_MAILER_ARGS', 'TCP $h 587')dnl

The sendmail.mc file cannot use single quotes like most things, the m4 command will fail if you do. Please update this documentation to use the ` quote as the first quote in a string.

For example: FEATURE('access_db')dnl. <-- Bad, will fail due to first single quote FEATURE(`access_db')dnl. <-- Good! This will pass. Notice the first quote is the left quote. The ending quote is fine.