AUTH as client in per-sender basis
AUTH as client in per-sender basis
am 21.11.2007 11:43:18 von angelv64
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
am 21.11.2007 14:02:50 von Andrzej Filip
angelv64@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@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
Re: AUTH as client in per-sender basis
am 21.11.2007 15:35:34 von angelv64
On 21 nov, 14:02, Andrzej Adam Filip wrote:
> angel...@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
am 21.11.2007 17:22:44 von Andrzej Filip
angelv64@gmail.com writes:
> On 21 nov, 14:02, Andrzej Adam Filip wrote:
>> angel...@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@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/