Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
5747fa00
Commit
5747fa00
authored
Aug 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix docs
parent
f00fdc71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
doc/reply_by_email/postfix.md
doc/reply_by_email/postfix.md
+17
-5
lib/tasks/gitlab/check.rake
lib/tasks/gitlab/check.rake
+2
-2
No files found.
doc/reply_by_email/postfix.md
View file @
5747fa00
...
@@ -100,7 +100,7 @@ The instructions make the assumption that you will be using the email address `r
...
@@ -100,7 +100,7 @@ The instructions make the assumption that you will be using the email address `r
1.
Check if the
`replies`
user received the email:
1.
Check if the
`replies`
user received the email:
```
sh
```
sh
s
h
- replies
s
u
- replies
mail
mail
```
```
...
@@ -137,7 +137,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
...
@@ -137,7 +137,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
1.
Restart Postfix:
1.
Restart Postfix:
```
sh
```
sh
sudo
postfix restart
sudo
/etc/init.d/
postfix restart
```
```
1.
Test the new setup:
1.
Test the new setup:
...
@@ -146,7 +146,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
...
@@ -146,7 +146,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
2.
Check if the
`replies`
user received the email:
2.
Check if the
`replies`
user received the email:
```
sh
```
sh
s
h
- replies
s
u
- replies
MAIL
=
/home/replies/Maildir
MAIL
=
/home/replies/Maildir
mail
mail
```
```
...
@@ -197,7 +197,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
...
@@ -197,7 +197,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
1.
Configure Postfix to receive mail on all interfaces, which includes the internet:
1.
Configure Postfix to receive mail on all interfaces, which includes the internet:
```
sh
```
sh
sudo
postconf
-e
"in
i
t_interfaces = all"
sudo
postconf
-e
"in
e
t_interfaces = all"
```
```
1.
Configure Postfix to receive mail on both IPv4 and IPv6 protocols:
1.
Configure Postfix to receive mail on both IPv4 and IPv6 protocols:
...
@@ -206,6 +206,18 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
...
@@ -206,6 +206,18 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
sudo
postconf
-e
"inet_protocols = all"
sudo
postconf
-e
"inet_protocols = all"
```
```
1.
Configure Postfix to use the
`+`
delimiter for sub-addressing:
```
sh
sudo
postconf
-e
"recipient_delimiter = +"
```
1.
Restart Postfix:
```
sh
sudo
/etc/init.d/postfix restart
```
## Test the final setup
## Test the final setup
1.
Test SMTP under the new setup:
1.
Test SMTP under the new setup:
...
@@ -246,7 +258,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
...
@@ -246,7 +258,7 @@ Courier, which we will install later to add IMAP authentication, requiers mailbo
1. Check if the `replies` user received the email:
1. Check if the `replies` user received the email:
```sh
```sh
s
h
- replies
s
u
- replies
MAIL=/home/replies/Maildir
MAIL=/home/replies/Maildir
mail
mail
```
```
...
...
lib/tasks/gitlab/check.rake
View file @
5747fa00
...
@@ -595,7 +595,7 @@ namespace :gitlab do
...
@@ -595,7 +595,7 @@ namespace :gitlab do
else
else
puts
"no"
.
red
puts
"no"
.
red
try_fixing_it
(
try_fixing_it
(
sudo_gitlab
(
"RAILS_ENV=production bin/background_jobs start"
)
sudo_gitlab
(
"RAILS_ENV=production
sudo -u git -H
bin/background_jobs start"
)
)
)
for_more_information
(
for_more_information
(
see_installation_guide_section
(
"Install Init Script"
),
see_installation_guide_section
(
"Install Init Script"
),
...
@@ -726,7 +726,7 @@ namespace :gitlab do
...
@@ -726,7 +726,7 @@ namespace :gitlab do
else
else
puts
"no"
.
red
puts
"no"
.
red
try_fixing_it
(
try_fixing_it
(
sudo_gitlab
(
"RAILS_ENV=production bin/mail_room start"
)
sudo_gitlab
(
"RAILS_ENV=production
sudo -u git -H
bin/mail_room start"
)
)
)
for_more_information
(
for_more_information
(
see_installation_guide_section
(
"Install Init Script"
),
see_installation_guide_section
(
"Install Init Script"
),
...
...
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