Re: Catchall for postmaster/hostmaster/abuse
"Skale, Franz" <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kroupware |
|---|---|
| Message-ID | <[email protected]> |
Hi Jan, i have a multidomain-setup and can therefore give you some advise. First of all you have to create one postmaster in the primary domain. I chose a mail enabled posix user typ because i want system mails (apt-listchanges etc. etc.) to also be delivered. (Of course You have to configure pam-ldap and nscd for that type) Then i added aliases like [email protected], [email protected], [email protected] etc. kolab chooses that email address for last resort (if it don't find matching alias in the destination domain). Add the primary.address to /etc/aliases: # /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse: root noc: root security: root clamav: root root: [email protected] Run: newaliases. Done Rgds. Franz Am 2018-06-13 22:33, schrieb Jan Kowalsky: > Hi Andrea, > > thanks for your answer! > > Am 13.06.2018 um 15:13 schrieb Gelpi Andrea: >> Il 12/06/2018 18:27, Jan Kowalsky ha scritto: > >>> >>> # Catchall to comply with RFC standards >>> ^postmaster@/ [email protected] >>> >>> >>> But then also all outgoing mails to any [email protected] >>> goes >>> also to [email protected] > > >> >> If I'm not wrong it's already as you asked. >> All I've done is to add a redirect in /etc/alias, so that mail to >> postmaster/abuse and so on are redirect to a real mail of one domain. >> >> root: [email protected] > > but this only works for your single domain, doesn't it? Not for all > your > domains in a multidomain environment. Or do I miss something? > > Regards Jan > _______________________________________________ > users mailing list > [email protected] > https://lists.kolab.org/mailman/listinfo/users