PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > sedmail.cf goodies poll [anfi 2006-11]
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

sedmail.cf goodies poll [anfi 2006-11]

Réponse
 
LinkBack Outils de la discussion
Vieux 02/11/2006, 18h50   #1
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut sedmail.cf goodies poll [anfi 2006-11]

[New sendmail release is coming]

I would like to poll about interest in a few new features implemented
via sendmail.cf that require changes in cf/m4/proto.m4 (a 3-5 liner
changes disabled by default).

1) extended mailertable/relay syntax allowing selecting cutom rule set

It would allow to deploy extra sendmail.cf processing after mailertable
selection or relay selection.
I have used FEATURE(mrs) [mailertable rule sets] to implement a few ways
of integrating sendmail with cyrus-imapd.

2) custom rule set called for local adresses just before local mailer
selection [before _STICKY_LOCAL_DOMAIN_ line]

Some sites would like to deploy *multiple local mailers* or local
mailers acepting "domanized" addresses. Current proto.m4 blocks doing it
in a clean and simple way.
It will to integrate cyrus-imapd with virtual domains with
sendmail.

P.S.
I am ready to provide required cf/m4/proto.m4 patches and cf/feature/*
files. Your task will be to convince sendmail.org to accept the donation
and *at least* distribute modified cf/m4/proto.m4.

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Vieux 02/11/2006, 21h50   #2
Joe Brennan
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]

> P.S.
> I am ready to provide required cf/m4/proto.m4 patches and cf/feature/*
> files. Your task will be to convince sendmail.org to accept the donation
> and *at least* distribute modified cf/m4/proto.m4.


Comment out line 2229 (sendmail 8.13.8), namely:

R<?> $=w $@ RELAY

Class w defines what hostnames to accept mail for. Trusting a host
enough to relay for it is a completely different concept.

Including this line might be made a feature for the sake of backwards
compatibility. But I wonder how many system admins want this little
open relay hole.

Joseph Brennan
Columbia University Information Technology

  Réponse avec citation
Vieux 02/11/2006, 22h39   #3
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]


Andrzej Adam Filip wrote:
> [New sendmail release is coming]
>
> I would like to poll about interest in a few new features implemented
> via sendmail.cf that require changes in cf/m4/proto.m4 (a 3-5 liner
> changes disabled by default).
>
> 1) extended mailertable/relay syntax allowing selecting cutom rule set
>


+1

Anything that enables one to use rulesets in sendmail to do anything
interesting has my vote. In fact, the yahoo thing recently posted here
would have been a good candidate.

> It would allow to deploy extra sendmail.cf processing after mailertable
> selection or relay selection.
> I have used FEATURE(mrs) [mailertable rule sets] to implement a few ways
> of integrating sendmail with cyrus-imapd.
>
> 2) custom rule set called for local adresses just before local mailer
> selection [before _STICKY_LOCAL_DOMAIN_ line]
>
> Some sites would like to deploy *multiple local mailers* or local
> mailers acepting "domanized" addresses. Current proto.m4 blocks doing it
> in a clean and simple way.


And hence hacks to make LUSER_RELAY preserve the domain name.....

> It will to integrate cyrus-imapd with virtual domains with
> sendmail.
>
> P.S.
> I am ready to provide required cf/m4/proto.m4 patches and cf/feature/*
> files. Your task will be to convince sendmail.org to accept the donation
> and *at least* distribute modified cf/m4/proto.m4.


Seeing as how none of my feature patches have ever been included, (then
again, I have never really asked) I doubt very much that my opinion
matters.

Isnt that what the _FFR_ concept is all about? Patch away, sendmail.org
folk!


>
> --
> [pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl


  Réponse avec citation
Vieux 02/11/2006, 22h51   #4
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]

"jmaimon@ttec.com" <jmaimon@ttec.com> writes:

> Andrzej Adam Filip wrote:
>> [...]
>> 2) custom rule set called for local adresses just before local mailer
>> selection [before _STICKY_LOCAL_DOMAIN_ line]
>>
>> Some sites would like to deploy *multiple local mailers* or local
>> mailers acepting "domanized" addresses. Current proto.m4 blocks doing it
>> in a clean and simple way.

>
> And hence hacks to make LUSER_RELAY preserve the domain name.....


It would be tricky :-)

LUSER_RELAY is implemented in rule set 5 (localaddr).

The rule set is called AFTER initial mailer selection, after alias
expansion. If standard local mailer was selected then the rule set 5
gets "domainless" recipient address.

> [...]


--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Vieux 03/11/2006, 04h44   #5
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]


Andrzej Adam Filip wrote:
> "jmaimon@ttec.com" <jmaimon@ttec.com> writes:
>
> > Andrzej Adam Filip wrote:
> >> [...]
> >> 2) custom rule set called for local adresses just before local mailer
> >> selection [before _STICKY_LOCAL_DOMAIN_ line]
> >>
> >> Some sites would like to deploy *multiple local mailers* or local
> >> mailers acepting "domanized" addresses. Current proto.m4 blocks doing it
> >> in a clean and simple way.

> >
> > And hence hacks to make LUSER_RELAY preserve the domain name.....

>
> It would be tricky :-)
>
> LUSER_RELAY is implemented in rule set 5 (localaddr).
>
> The rule set is called AFTER initial mailer selection, after alias
> expansion. If standard local mailer was selected then the rule set 5
> gets "domainless" recipient address.
>


This is what I did

http://www.jmaimon.com/sendmail/#pre...in_luser_relay

  Réponse avec citation
Vieux 03/11/2006, 07h07   #6
Dennis Peterson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]

Andrzej Adam Filip wrote:
> [New sendmail release is coming]
>
> I would like to poll about interest in a few new features implemented
> via sendmail.cf that require changes in cf/m4/proto.m4 (a 3-5 liner
> changes disabled by default).
>
> 1) extended mailertable/relay syntax allowing selecting cutom rule set
>


me out here - what problem are you solving?


dp
  Réponse avec citation
Vieux 03/11/2006, 08h20   #7
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sedmail.cf goodies poll [anfi 2006-11]

Dennis Peterson <dennispe@inetnw.com> writes:

> Andrzej Adam Filip wrote:
>> [New sendmail release is coming]
>>
>> I would like to poll about interest in a few new features implemented
>> via sendmail.cf that require changes in cf/m4/proto.m4 (a 3-5 liner
>> changes disabled by default).
>>
>> 1) extended mailertable/relay syntax allowing selecting cutom rule set

>
> me out here - what problem are you solving?


Standard mailertable selects mailer based on recipient's domain *ONLY*.

The recomended feature has akready allowed to use socket map to ask
cyrus imap about mailbox existence. It has made possible to select
cyrusv2 mailer for existing mailboxes and error mailer for non existing
mailboxes.

It can be argued that gains by use in mailertable can be used by other
ways but the feature has allowed to deploy similar check *after*
selection of LUSER_RELAY (check cyrus mailbox if no local mailbox) and
MAIL_HUB (select local mailbox if no cyrus mailbox).
[ define(`LUSER_RELAY',`_mrs_registered_rule_set_:_o ptional_param_'') ]

I am impressed by what this one R line in cf/m4/proto.m4 could deliver.

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 15h08.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,51441 seconds with 15 queries