Re: Postfix and roundup-mailgw anybody have a working setup?
"John P. Rouillard" <[email protected]> Wed, 03 Apr 2024 08:38:48 -0400
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin: In message <[email protected]>, =?UTF-8?Q?Martin_=C3=96stlund?= via Roundup-users writes: >On 4/2/24 23:42, John P. Rouillard wrote: >> I am trying to help somebody setup inbound email using postfix for >> multiple roundup trackers on two different virtual addresses. For this >> example: [email protected] and [email protected]. >> >> Does anybody have a setup that does this and runs the roundup-mailgw >> with the proper uid/gid? > >Not with multiple trackers, but with a single tracker instance. If I >were to have multiple trackers I would probably make Postfix route >[email protected] and [email protected] to the appropiate tracker. I know that is a possibility, although I have never used it. Do you have an example of this? >What issues are you seeing? The system got upgraded and apparently the postfix config got lost during the upgrade. I think this will work, but something simpler would be good as well. The box is known as abox.com on the internet but receives email for: [email protected] and [email protected]. in /etc/postfix/main.cf add: virtual_alias_domains = example.com another.com virtual_alias_maps = hash:/etc/postfix/virtual alias_maps = hash:/etc/aliases hash:/etc/postfix/aliases.roundup in /etc/postfix/virtual add: # after changing this run 'postmap /etc/postfix/virtual' [email protected] roundup_issues_example [email protected] roundup_bugs_another Create /etc/postfix/aliases.roundup with owner/group roundup_user/roundup_group. Add: # after changing this run 'postmap /etc/postfix/aliases.roundup' roundup_issues_example |"/tools/roundup/bin/roundup-mailgw /d/track/example" roundup_issues_another |"/tools/roundup/bin/roundup-mailgw /d/track/another" and I think that's it. The ownership on aliases.roundup should cause roundup-mailgw to run as the roundup user according to local(8). The (writable) tracker files are owned by the roundup_user. I think all the trackers are owned by the same roundup user. If not, a separate alias file for each user would need to be created. Thoughts? -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions.