Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sendmail
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
sendmail
Commits
fc47a129
Commit
fc47a129
authored
Feb 01, 2021
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Configured SMTP AUTH
parent
fe1b4312
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
Makefile
Makefile
+2
-0
sendmail.mc
sendmail.mc
+28
-0
No files found.
Makefile
View file @
fc47a129
...
@@ -51,6 +51,8 @@ all: sendmail-config mail-aliases sendmail-default sm-client-service sendmail-se
...
@@ -51,6 +51,8 @@ all: sendmail-config mail-aliases sendmail-default sm-client-service sendmail-se
echo
$
$(hostname)
>
/etc/mail/local-host-names
echo
$
$(hostname)
>
/etc/mail/local-host-names
@
echo
"
$$
MAIL_ALIASES"
>
/etc/mail/aliases
@
echo
"
$$
MAIL_ALIASES"
>
/etc/mail/aliases
newaliases
newaliases
install
-v
-Dm644
sendmail.mc /etc/mail
cd
/etc/mail
&&
m4 m4/cf.m4 sendmail.mc
>
sendmail.cf
@
echo
"
$$
SENDMAIL_DEFAULT"
>
/etc/default/sendmail
@
echo
"
$$
SENDMAIL_DEFAULT"
>
/etc/default/sendmail
@
echo
"
$$
SM_CLIENT_SERVICE"
>
/lib/systemd/system/sm-client.service
@
echo
"
$$
SM_CLIENT_SERVICE"
>
/lib/systemd/system/sm-client.service
systemctl
enable
sm-client.service
systemctl
enable
sm-client.service
...
...
sendmail.mc
0 → 100644
View file @
fc47a129
VERSIONID(`Cyrus IMAP, SASL and STARTTLS for Certo appliance')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
dnl ----------------------------------------------------------------------------
dnl Ensure that local users' addresses have a domain.
dnl ----------------------------------------------------------------------------
define(`always_add_domain')dnl
dnl ----------------------------------------------------------------------------
dnl Authentication (SMTP AUTH).
dnl A is a workaround for broken MTAs that do not implement RFC 2554.
dnl The p option tells sendmail: "don't permit mechanisms susceptible to simple
dnl passive attack (e.g., LOGIN, PLAIN), unless a security layer (think TLS
dnl tunnel) is active."
dnl The y option prohibits anonymous logins.
dnl ----------------------------------------------------------------------------
define(`confAUTH_OPTIONS', `A p y')dnl
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 PLAIN')dnl
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 PLAIN')dnl
dnl ----------------------------------------------------------------------------
dnl Privacy.
dnl ----------------------------------------------------------------------------
define(`confPRIVACY_FLAGS', `goaway')dnl
MAILER(local)dnl
MAILER(smtp)dnl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment