Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>When you typed in <code>sudo sendmailconfig</code>, you should have been prompted to configure sendmail. </p> <p>For reference, the files that are updated during configuration are located at the following (in case you want to update them manually):</p> <pre><code>/etc/mail/sendmail.conf /etc/cron.d/sendmail /etc/mail/sendmail.mc </code></pre> <p>You can test sendmail to see if it is properly configured and setup by typing the following into the command line:</p> <pre><code>$ echo "My test email being sent from sendmail" | /usr/sbin/sendmail myemail@domain.com </code></pre> <p>The following will allow you to add smtp relay to sendmail:</p> <pre><code>#Change to your mail config directory: cd /etc/mail #Make a auth subdirectory mkdir auth chmod 700 auth #Create a file with your auth information to the smtp server cd auth touch client-info #In the file, put the following, matching up to your smtp server: AuthInfo:your.isp.net "U:root" "I:user" "P:password" #Generate the Authentication database, make both files readable only by root makemap hash client-info &lt; client-info chmod 600 client-info cd .. </code></pre> <p>Add the following lines to sendmail.mc, but <em>before</em> the <code>MAILERDEFINITIONS</code>. Make sure you update your smtp server.</p> <pre><code>define(`SMART_HOST',`your.isp.net')dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash -o /etc/mail/auth/client-info.db')dnl </code></pre> <p>Invoke creation sendmail.cf (alternatively run <code>make -C /etc/mail</code>):</p> <pre><code>m4 sendmail.mc &gt; sendmail.cf </code></pre> <p>Restart the sendmail daemon:</p> <pre><code>service sendmail restart </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload