Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat /etc/msmtprc
- # Set default values for all following accounts.
- defaults
- auth on
- tls on
- tls_trust_file /etc/ssl/certs/ca-certificates.crt
- logfile ~/.msmtp.log
- account alerts
- host smtp.gmail.com
- port 587
- from [email protected]
- user [email protected]
- password F@ncyt0wnL0L
- # Set a default account
- account default : alerts
- aliases /etc/mail/aliases
- mailer aliases for linux to use local system smtp email alerting
- $ cat /etc/mail/aliases
- # Basic system aliases -- these MUST be present.
- MAILER-DAEMON: postmaster
- postmaster: root
- # Send root to admin
- root: [email protected]
- # General redirections for pseudo accounts.
- adm: root
- bin: root
- daemon: root
- exim: root
- lp: root
- mail: root
- named: root
- nobody: root
- postfix: root
- # Well-known aliases -- these should be filled in!
- # root:
- # operator:
- # Standard RFC2142 aliases
- abuse: postmaster
- ftp: root
- hostmaster: root
- news: usenet
- noc: root
- security: root
- usenet: root
- uucp: root
- webmaster: root
- www: webmaster
- # trap decode to catch security attacks
- # decode: /dev/null
Add Comment
Please, Sign In to add comment