AUTH as client in per-sender basis
Hello...
I need to send emails to one smart-host authenticating as per sender
basis, but I can=B4t see how to do it: the /etc/mail/authinfo is as per
host basis
Regards and thanks in advanced
Re: AUTH as client in per-sender basis
angelv64 [at] gmail.com writes:
> Hello...
>
> I need to send emails to one smart-host authenticating as per sender
> basis, but I can´t see how to do it: the /etc/mail/authinfo is as per
> host basis
>
> Regards and thanks in advanced
State number of required different authentication credentials and level
of your sendmail expertise. The best solutions depends on it.
--
[pl>en: Andrew] Andrzej Adam Filip : anfi [at] priv.onet.pl : anfi [at] xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Re: AUTH as client in per-sender basis
On 21 nov, 14:02, Andrzej Adam Filip <a... [at] onet.eu> wrote:
> angel... [at] gmail.com writes:
> > Hello...
>
> > I need to send emails to one smart-host authenticating as per sender
> > basis, but I can=B4t see how to do it: the /etc/mail/authinfo is as per
> > host basis
>
> > Regards and thanks in advanced
>
> State number of required different authentication credentials and level
> of your sendmail expertise. The best solutions depends on it.
I have over 50 users.....
Re: AUTH as client in per-sender basis
angelv64 [at] gmail.com writes:
> On 21 nov, 14:02, Andrzej Adam Filip <a... [at] onet.eu> wrote:
>> angel... [at] gmail.com writes:
>> > Hello...
>>
>> > I need to send emails to one smart-host authenticating as per sender
>> > basis, but I can´t see how to do it: the /etc/mail/authinfo is as per
>> > host basis
>>
>> > Regards and thanks in advanced
>>
>> State number of required different authentication credentials and level
>> of your sendmail expertise. The best solutions depends on it.
>
> I have over 50 users.....
AFAIK:
0) it can be done in sendmail.cf
1) it can not be done by *.m4 files provided by sendmail.org
2) you need to generate custom sendmail.cf for the task
You may take a look at following combination:
A) smart table - it selects smart host relay based on envelope sender
info [you may make it more complicated]
B) in smart table use per envelope sender destination name and custom
[e.g. CNAME in your domain ]
C) in authinfo define credentials per CNAME
It is one of *many* options.
Another one is to create custom auth_info rule set capable to select
credentials based also on &f. In such remember to use modified smtp
mailer sending only one message per one outgoing SMTP connection.
--
[pl>en: Andrew] Andrzej Adam Filip : anfi [at] priv.onet.pl : anfi [at] xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/