Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Postbuero
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Postbuero
Commits
33ddc162
Verified
Commit
33ddc162
authored
Aug 10, 2022
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Reformat
parent
1b28afb2
No related branches found
No related tags found
1 merge request
!12
Implement Webmilter alias resolution
Checking pipeline status
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/postbuero/views.py
+0
-1
0 additions, 1 deletion
aleksis/apps/postbuero/views.py
with
0 additions
and
1 deletion
aleksis/apps/postbuero/views.py
+
0
−
1
View file @
33ddc162
...
@@ -145,7 +145,6 @@ class WebMilterDomainMixin(ScopedResourceMixin, ClientProtectedResourceMixin):
...
@@ -145,7 +145,6 @@ class WebMilterDomainMixin(ScopedResourceMixin, ClientProtectedResourceMixin):
class
WebMilterAliasView
(
WebMilterDomainMixin
,
RetrieveAPIView
):
class
WebMilterAliasView
(
WebMilterDomainMixin
,
RetrieveAPIView
):
"""
View to resolve an alias address using WebMilter.
"""
"""
View to resolve an alias address using WebMilter.
"""
def
get_object
(
self
):
def
get_object
(
self
):
local_part
,
domain
=
self
.
_get_address_parts
()
local_part
,
domain
=
self
.
_get_address_parts
()
local_part
=
local_part
.
split
(
"
+
"
)[
0
]
local_part
=
local_part
.
split
(
"
+
"
)[
0
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment