Difference between revisions of "/etc/ssmtp/ssmtp.conf"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
Default Ubuntu
 
  cat [[/etc/ssmtp/]]ssmtp.conf | grep -v "#"  | grep .
 
  cat [[/etc/ssmtp/]]ssmtp.conf | grep -v "#"  | grep .
 
  root=postmaster
 
  root=postmaster
Line 5: Line 7:
  
  
 +
== Default Ubuntu ==
 
  [[/etc/ssmtp/]]ssmtp.conf
 
  [[/etc/ssmtp/]]ssmtp.conf
 
<pre>
 
<pre>

Revision as of 10:07, 1 November 2021

Default Ubuntu

cat /etc/ssmtp/ssmtp.conf | grep -v "#"  | grep .
root=postmaster
mailhub=mail
hostname=yourmachineName


Default Ubuntu

/etc/ssmtp/ssmtp.conf
#
# Config file for sSMTP sendmail
#
# The person who gets all mail for userids < 1000
# Make this empty to disable rewriting.
root=postmaster

# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=mail

# Where will the mail seem to come from?
#rewriteDomain=

# The full hostname
hostname=Think.localdomain

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
#FromLineOverride=YES

See also

Advertising: