Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Carlos Ramos Carreño
slapos
Commits
2ebe1683
Commit
2ebe1683
authored
May 13, 2013
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix noroot patch for postfix.
parent
e01eb53a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
component/postfix/buildout.cfg
component/postfix/buildout.cfg
+1
-1
component/postfix/noroot.patch
component/postfix/noroot.patch
+21
-0
No files found.
component/postfix/buildout.cfg
View file @
2ebe1683
...
@@ -12,7 +12,7 @@ recipe = hexagonit.recipe.download
...
@@ -12,7 +12,7 @@ recipe = hexagonit.recipe.download
url =${:_profile_base_location_}/${:filename}
url =${:_profile_base_location_}/${:filename}
filename = ${:_buildout_section_name_}
filename = ${:_buildout_section_name_}
download-only = true
download-only = true
md5sum =
b27031282a7c1cfc2c43a721c2b8802f
md5sum =
a476856bb1a4ee2ab03963acac03cd1d
[skip-libdb-check.patch]
[skip-libdb-check.patch]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
...
...
component/postfix/noroot.patch
View file @
2ebe1683
...
@@ -15,3 +15,24 @@
...
@@ -15,3 +15,24 @@
errno = saved_errno;
errno = saved_errno;
-}
-}
+*/}
+*/}
--- a/src/postfix/postfix.c
+++ b/src/postfix/postfix.c
@@ -448,12 +448,12 @@
int main(int argc, char **argv)
* privileges for selected operations. That's right - it takes privileges
* to toss privileges.
*/
- if (getuid() != 0) {
+ /*if (getuid() != 0) {
msg_error("to submit mail, use the Postfix sendmail command");
msg_fatal("the postfix command is reserved for the superuser");
}
if (unsafe() != 0)
- msg_fatal("the postfix command must not run as a set-uid process");
+ msg_fatal("the postfix command must not run as a set-uid process");*/
/*
* Parse switches.
--
1.7.11.3
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