On Wed, 2023-01-11 at 13:24 +0000, [email protected] wrote:
> January 11, 2023 1:05 PM, "Wael Karram" <[email protected]> wrote:
> 
> > Hello,
> > 
> 
> Hello,
> 
> 
> > I tried to look it up online and went also through the mailing list but
> > couldn't
> > find what I needed, hence why I'm asking here:
> > 
> > I am trying to setup a relay on an OpenSMTPd server which should only accept
> > mail from a specific IP address (possibly also authenticating as a local
> > user)
> > and then use SRS to forward the email (so long it isn't addressed to the
> > local
> > server).
> > 
> 
> What have you tried ?
> 
> It seems like something very close to the default config:
> 
> - add srs with the `srs` keyword
> - add a match rule that uses `from src`
> - add authentication on `listen` if you want authenticated session, you can
> also
>   have a `match` rule apply to a specific authenticated user with `from auth``
> 
> The smtpd.conf man page has many examples
> 

OK thanks, that's interesting I will try.
It also got me thinking, is there a way to follow a "best effort" approach?
As in, at first try to send the mail directly and only fall-back on failure to
the second MX.
This will make it so the setup is somewhat less reliant on the second MX (whose
uptime I cannot guarantee as much as the first).

-- 
Kind Regards,
Wael Karram.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to