mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-25 17:06:01 +03:00
[GH-ISSUE #1580] Catch all mail #1240
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#1240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @RT4U on GitHub (Oct 6, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1580
Impacted versions
Steps to reproduce
Current behavior
Expected behavior
Video/Screenshot link (optional)
Hi, how to create a catch all mail like, I wanted to send a mail with from address bounces(some random chars)@domain.com from the account admin@domain.com.
How to make one? Or is it even possible?
@JOduMonT commented on GitHub (Oct 13, 2018):
Hi @RT4U
related to different issues (466, 298) your not the first at looking for a catchall.
So this is the way I did it
hopefully; a contributor will tell us if mess with this config or everything is fine.
my answer is inspired from this post
1. create
/etc/postfix/virtualand add these linesNOTE: the 1st line, where you redirect catchall on catchall is apparently very important
where domain1.tld is your main domain
2. reference /etc/postfix/virtual in /etc/postfix/main.cf
around the line 75
NOTE: I gave you a context but I really just add the last line :
hash:/etc/postfix/virtual3. create the database
postmap /etc/postfix/virtualthis command will generate the /etc/postfix/virtual.db
4. restart or reload postfix
systemctl restart postfixservice postfix reload5. attribute catchall to a user
@RT4U commented on GitHub (Oct 14, 2018):
Hi @jodumont
Does this work for sending address?
Like I need to send with sender address as bounces-@domain.tld from admin@domain.tld.
@JOduMonT commented on GitHub (Oct 14, 2018):
If I understand right your question and the project

I believe the account you create is for authentication
than the alias is for receiving email
and finally, sender addresses is where you add email you would like to use to send email but they are not an account and/or an alias
such as
you could have an account : compta@domain.tld
and as an alias the jean.bond@domain.tld because (Jean is your actual accountant)
and as sender addresses you will add bill@domain.tld
to let's Jean sender bill through this address.
@RT4U commented on GitHub (Oct 14, 2018):
I get it @jodumont
But that's not what I wanted. I need to the sender address to be a catch all address. Like jean@domain.tld could be able to send from bill@domain.tld instead of just bill@domain.tld
I've used it by editing postfix in the past, when I am setting up my own custom mail server, but I couldn't remember that. Is it possible to do it here?
@RT4U commented on GitHub (Oct 14, 2018):
Oh lol, github removes the angle brackets, I just noticed it. I should be able to send with bill(some random chars)@domain.tld from jean@domain.tld. A catch all sender address.
@jodumont
@JOduMonT commented on GitHub (Oct 14, 2018):
hum; I never ear about this
a quick look (because I'm curious :) let's me found this
but you should definitely change the name of your issue for something like :
how to setup a catch all sender addressorhow to setup a dynamic sender address@RT4U commented on GitHub (Oct 14, 2018):
I don't know how to edit the title, but I've changed the description. Never thought GitHub would just cut whatever inside the angle brackets instead of normalising
@JOduMonT commented on GitHub (Oct 14, 2018):
on stack overflow family site it's also hard to edit properly
that's why I love screenshot :P
to edit your title you should have an edit button

@tonioo commented on GitHub (Oct 15, 2018):
@RT4U Have you tried to add a sender address of the form @domain.tld to your account?
@RT4U commented on GitHub (Oct 16, 2018):
I tried adding it. But didn't work. It stays that sender is not owned by admin@domain.tld
@tonioo commented on GitHub (Oct 17, 2018):
@RT4U Can you provided a screenshot?