Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncpython
/
srvcnf2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fc9b01f2
authored
Jan 16, 2018
by
netz.coop
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.1.6 Posttools Fix
1 parent
14f45818
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
CHANGELOG
web/mailsrv/mailcnf_posttools.py
CHANGELOG
View file @
fc9b01f
2018-01-16 v0.1.6 Posttools Fix
2018-01-16 v0.1.5 Posttools
2018-01-16 v0.1.5 Posttools
2018-01-16 v0.1.4 startscript kill
2018-01-16 v0.1.4 startscript kill
2018-01-16 v0.1.3 USER/DOMAIN/ALIAS select statement
2018-01-16 v0.1.3 USER/DOMAIN/ALIAS select statement
...
...
web/mailsrv/mailcnf_posttools.py
View file @
fc9b01f
...
@@ -84,9 +84,9 @@ class mailcnf_posttools(ncauth_base):
...
@@ -84,9 +84,9 @@ class mailcnf_posttools(ncauth_base):
return
dict
return
dict
def
postsuperdel
(
self
,
id
,
mailname
=
''
):
def
postsuperdel
(
self
,
id
,
mailname
=
''
):
print
(
''
)
self
.
write
(
"postsuper -d "
+
str
(
id
)
+
" "
)
old_dir
=
os
.
getcwd
()
old_dir
=
os
.
getcwd
()
os
.
chdir
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
""
)
)
os
.
chdir
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
""
)
)
os
.
chdir
(
'..'
)
os
.
chdir
(
'..'
)
p1
=
str
(
Popen
(
"postsuper -d "
+
str
(
id
)
,
stdout
=
PIPE
,
shell
=
True
)
.
communicate
()[
0
])
p1
=
str
(
Popen
(
"
/usr/sbin/
postsuper -d "
+
str
(
id
)
,
stdout
=
PIPE
,
shell
=
True
)
.
communicate
()[
0
])
return
"Nachricht "
+
str
(
id
)
+
" von "
+
str
(
mailname
)
+
" gelöscht"
return
"Nachricht "
+
str
(
id
)
+
" von "
+
str
(
mailname
)
+
" gelöscht"
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment