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 > milter/aliases
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

milter/aliases

Réponse
 
LinkBack Outils de la discussion
Vieux 14/05/2007, 15h16   #1
chris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut milter/aliases

hi,

i use a milter filter and some email lists in the aliases file.
the problem is that the milter scans before the aliases list expands
the members. but i want to scan with the milter for every single member
of the list.
does anyone have a solution to expand the list before the milter?

/thx,chris


  Réponse avec citation
Vieux 14/05/2007, 15h26   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

On May 14, 10:16 am, "chris" <boes...@gmail.com> wrote:
> hi,
>
> i use a milter filter and some email lists in the aliases file.
> the problem is that the milter scans before the aliases list expands
> the members. but i want to scan with the milter for every single member
> of the list.
> does anyone have a solution to expand the list before the milter?
>
> /thx,chris


To obtain exapnded recipients from sendmail, the semi standard way is
to fork a sendmail -bv and parse the output

milter-rrres allows you to access sendmail -bv directly from the
milter api as well as calling rulesets and maps.

http://www.jmaimon.com/sendmail/

Depending on your setup, you can also parse the alias file or whatnot
yourself.

It occurs to me, that after the changes in 8.14 to eliminate/support
error recipient handling, sendmail might actually be able to supply
the expanded recipient list directly to the milter.

  Réponse avec citation
Vieux 14/05/2007, 15h28   #3
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

On 05/14/07 09:16, chris wrote:
> does anyone have a solution to expand the list before the milter?


This not (really) possible with current email / milter SMTP
implementations. More this is a limitation of SMTP, not milters. SMTP
sends an envelope containing one sender, one or more recipients, and a
message. Milters operate on the envelope, not individual recipients.

Now there are some things in development to enhance SMTP to offer per
recipient results / scanning during the SMTP transaction. However this
is not a reality as of yet.

The closest thing that can be assured to work is to limit recipients to
one per envelope so that you can be assured to have individualized
settings in each milter pass.



Grant. . . .

  Réponse avec citation
Vieux 14/05/2007, 17h29   #4
Ralf Döblitz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

Grant Taylor <gtaylor@riverviewtech.net> wrote:
[...]
> The closest thing that can be assured to work is to limit recipients to
> one per envelope so that you can be assured to have individualized
> settings in each milter pass.


But one should be aware that this is a protocol violation as conforming
MTAs must be capable of processign at least 100 recipients in a single
SMTPÂtransaction. So the sending MTA would not need to retransmit but
could legally abort the whole message run and signal an error to the
sender.

Ralf
--
Ralf Döblitz * Schapenstraße 6 * 38104 Braunschweig * Germany
Phone: +49-531-2361223 Fax: +49-531-2361224 mailto:doeblitz@doeblitz.net
Homepage: http://www.escape.de/users/selene/
Mit UTF-8 kann man gleichzeitig äöüßÄÖÜæœłø¼½¾¤¹²³¢€£¥¶§ ¬Ã·Ã—±©®™¡¿ verwenden…
  Réponse avec citation
Vieux 15/05/2007, 08h07   #5
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

On 5/14/2007 11:29 AM, Ralf Döblitz wrote:
> But one should be aware that this is a protocol violation as conforming
> MTAs must be capable of processign at least 100 recipients in a single
> SMTPÂ transaction.


It has been my experience that systems are seldom completely RFC
compliant. In fact a good friend and colleague once told me that RFCs
are not best viewed as the bible of how to do things but rather a very
good recommendation on how to be best inter operable. If you keep this
in mind, you will find that a lot of things strive to be as inter
operable as possible, though few achieve RFC compliance. Each thing has
its own varying degree of compliance. So, technically this can be an
issue, but I think you will find other things far more likely to be a
problem than this.

> So the sending MTA would not need to retransmit but
> could legally abort the whole message run and signal an error to the
> sender.


This is an interesting view point, and one that I had not thought of
before. I usually think of things trying to get as much through at one
time as possible and only re-transmit what did not make it through. The
idea being get things to go the best that you can and then deal with the
rest after the fact. I.e. program how to deal with the failure and work
with the rest.



Grant. . . .

P.S. Sorry if this is a double post. My MUA is acting a bit weird over
a satellite connection.

  Réponse avec citation
Vieux 15/05/2007, 17h33   #6
Ralf Döblitz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

Grant Taylor <gtaylor@riverviewtech.net> wrote:
[...]
>> So the sending MTA would not need to retransmit but
>> could legally abort the whole message run and signal an error to the
>> sender.

>
> This is an interesting view point, and one that I had not thought of
> before. I usually think of things trying to get as much through at one
> time as possible and only re-transmit what did not make it through. The
> idea being get things to go the best that you can and then deal with the
> rest after the fact. I.e. program how to deal with the failure and work
> with the rest.


Of course, butas it is legal to abort the run one should be prepared
that this could happen. Some large list processing sites are rumoured
not to retry mails that are undeliverable in the first try, so
everything not explicitly forbidden should be weighed when deciding
wether to violate the RFC a little bit or not, especially when dealing
with customers' mail.

Ralf (violating some other parts of 821/822 and accepting the risks involved)
--
Ralf Döblitz * Schapenstraße 6 * 38104 Braunschweig * Germany
Phone: +49-531-2361223 Fax: +49-531-2361224 mailto:doeblitz@doeblitz.net
Homepage: http://www.escape.de/users/selene/
Mit UTF-8 kann man gleichzeitig äöüßÄÖÜæœłø¼½¾¤¹²³¢€£¥¶§ ¬Ã·Ã—±©®™¡¿ verwenden…
  Réponse avec citation
Vieux 16/05/2007, 19h12   #7
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

On 05/15/07 11:33, Ralf Döblitz wrote:
> Ralf (violating some other parts of 821/822 and accepting the risks involved)


I think the most important thing you said was in your closing line "...
accepting the risks involved ...". You have made an informed decision.
There are many thing in this industry that can be done, some should
and some should not. So long as you are making an informed decision and
are willing to accept the risks there in, you are ahead of the curve.



Grant. . . .

  Réponse avec citation
Vieux 17/05/2007, 00h59   #8
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: milter/aliases

On May 14, 10:26 am, "jmai...@ttec.com" <jmai...@ttec.com> wrote:
> On May 14, 10:16 am, "chris" <boes...@gmail.com> wrote:
>
> > hi,

>
> > i use a milter filter and some email lists in the aliases file.
> > the problem is that the milter scans before the aliases list expands
> > the members. but i want to scan with the milter for every single member
> > of the list.
> > does anyone have a solution to expand the list before the milter?

>
> > /thx,chris

>
> To obtain exapnded recipients from sendmail, the semi standard way is
> to fork a sendmail -bv and parse the output
>
> milter-rrres allows you to access sendmail -bv directly from the


err. -bv is still on the TODO list. -bt is what was exposed.


  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 03h45.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, 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 1,13884 seconds with 16 queries