Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Well hello there Charlie Brown, you blockhead." -- Lucy Van Pelt


computers / comp.mail.sendmail / Re: Cyrus Delivery with realm enable mailboxes for multiple domains

SubjectAuthor
* Cyrus Delivery with realm enable mailboxes for multiple domainsGuy Tech
+- Re: Cyrus Delivery with realm enable mailboxes for multiple domainsClaus Aßmann
`- Re: Cyrus Delivery with realm enable mailboxes for multiple domainsMarco Moock

1
Cyrus Delivery with realm enable mailboxes for multiple domains

<8267925b-6e95-496f-b1d6-0886cdbbbf95n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=861&group=comp.mail.sendmail#861

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:ad4:4a6f:0:b0:671:4350:edfa with SMTP id cn15-20020ad44a6f000000b006714350edfamr37066qvb.0.1699456269089;
Wed, 08 Nov 2023 07:11:09 -0800 (PST)
X-Received: by 2002:a05:6870:d150:b0:1c0:e7d3:3b2d with SMTP id
f16-20020a056870d15000b001c0e7d33b2dmr811370oac.7.1699456268890; Wed, 08 Nov
2023 07:11:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 8 Nov 2023 07:11:08 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=192.188.84.67; posting-account=kidWTwoAAADNY34f8kfc1iwFBPM3twR2
NNTP-Posting-Host: 192.188.84.67
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8267925b-6e95-496f-b1d6-0886cdbbbf95n@googlegroups.com>
Subject: Cyrus Delivery with realm enable mailboxes for multiple domains
From: techguyf...@gmail.com (Guy Tech)
Injection-Date: Wed, 08 Nov 2023 15:11:09 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1836
 by: Guy Tech - Wed, 8 Nov 2023 15:11 UTC

Hi,

I am trying to set up sendmail to deliver received messages using realm formatted mailboxes (ie user@domain) instead of user.

So far I can get it work by with this
Mcyrus, P=/usr/lib64/cyrus/deliver, F=lsDFMnPqSA5@w/:|, S=EnvFromL, R=EnvToL/HdrToL,
U=cyrus:mail, T=DNS/RFC822/X-Unix,
A=deliver -e -m $h -- $u@$M
[I changed "A=deliver -e -m $h -- $u" to "A=deliver -e -m $h -- $u@$M"]

This will work fine you only handling email from a single domain, but will not work if need to handle multiple domains. I am at a loss to figure out how to format deliver to support multiple domains. Any suggestions?

FYI: This is to support when mail clients like Microsoft Outlook no longer accept username as it has to be a full eMail address for the account.

Thanks for your help!

Re: Cyrus Delivery with realm enable mailboxes for multiple domains

<uigcaq$eb1$1@news.misty.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=862&group=comp.mail.sendmail#862

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Cyrus Delivery with realm enable mailboxes for multiple domains
Date: Wed, 8 Nov 2023 11:17:30 -0500 (EST)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <uigcaq$eb1$1@news.misty.com>
References: <8267925b-6e95-496f-b1d6-0886cdbbbf95n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 8 Nov 2023 16:17:30 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="14689"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Wed, 8 Nov 2023 16:17 UTC

Guy Tech wrote:

> formatted mailboxes (ie user@domain) instead of user.

> Mcyrus, P=/usr/lib64/cyrus/deliver, F=lsDFMnPqSA5@w/:|, S=EnvFromL,
> R=EnvToL/HdrToL,

op.*:
5.5. M -- Define Mailer
....
Sender Rewriting set(s) for sender addresses
Recipient Rewriting set(s) for recipient addresses

Your mailer uses the "L"ocal version of the rulesets, you probably
want to change this to the "SMTP" version -- compare the SMTP mailers.

Give it try in test mode
sendmail -bt
? /tryflags er
/try cyrus user@your.domain
/tryflags hr
/try cyrus user@your.domain

(disclaimer: I haven't tried it myself)

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: Cyrus Delivery with realm enable mailboxes for multiple domains

<uii4u2$240ea$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=863&group=comp.mail.sendmail#863

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usene...@dorfdsl.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Cyrus Delivery with realm enable mailboxes for multiple domains
Date: Thu, 9 Nov 2023 09:23:30 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <uii4u2$240ea$1@dont-email.me>
References: <8267925b-6e95-496f-b1d6-0886cdbbbf95n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Nov 2023 08:23:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d0b186840f8722188facc4528301dcd";
logging-data="2228682"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/V3YgnqdkouPY72ukdknwV"
Cancel-Lock: sha1:shoJ2Wjyp1Ahw0EzottmpedOC94=
 by: Marco Moock - Thu, 9 Nov 2023 08:23 UTC

Am 08.11.2023 um 07:11:08 Uhr schrieb Guy Tech:

> FYI: This is to support when mail clients like Microsoft Outlook no
> longer accept username as it has to be a full eMail address for the
> account.

It that really the case?
If so, MS is going to become more insane.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor