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

procmail on a smart host

Réponse
 
LinkBack Outils de la discussion
Vieux 01/02/2007, 15h42   #1
Dave
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut procmail on a smart host

HI guys,

Just wondering if its possible to put procmail on a smart host.
Basically we have a sendmail relay that gathers all incoming email,
processes it through procmail (saves all good email in backup) then
spits out to our exchange server inside.

When we send email the exchange server uses a smart host (a different
sendmail server) to send all outgoing email. Its this server i want to
know if its possible to put procmail on just to keep a backup of all
outbound email.

I have googled for procmail on a smart host but found nothing, the
only things i found was using procmail to send to a smart host.

Thanks

Dave

  Réponse avec citation
Vieux 01/02/2007, 19h26   #2
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: procmail on a smart host

Dave wrote:
> Just wondering if its possible to put procmail on a smart host.
> Basically we have a sendmail relay that gathers all incoming email,
> processes it through procmail (saves all good email in backup) then
> spits out to our exchange server inside.


Hum. This seems sub-optimal. (see below)

> When we send email the exchange server uses a smart host (a different
> sendmail server) to send all outgoing email. Its this server i want to
> know if its possible to put procmail on just to keep a backup of all
> outbound email.
>
> I have googled for procmail on a smart host but found nothing, the
> only things i found was using procmail to send to a smart host.


I don't think you will be able to use Procmail to do what you are
wanting to do.

First, Procmail operates on email out side of the SMTP session. It
sounds like you are having your inbound server deliver messages with
Procmail as an LDA, which then in turn sends the messages on to the
internal server. Email coming in to the first Sendmail box and being
delivered to Procmail is one end-to-end delivery. Email leaving the
first Sendmail box to the Exchange server is another (different)
end-to-end delivery. With this in mind, email leaving the Exchange
server to the second Sendmail box and on out to the world is only one
end-to-end delivery, there is no place (that I'm aware of) for Procmail
to hook in to the outbound message delivery.

Now, if you do not use Procmail to make your backup, but something else
that will accomplish the same thing that resides in the end-to-end
delivery, you can use the same technology on the first inbound Sendmail
box as you could on the second outbound Sendmail box. Milter-BCC is one
such way to add an additional recipient to a message as it passes
through Sendmail during the end-to-end delivery.

So, you could use Milter-BCC to add a recipient to each and every
outbound message such that it would be sent to a special mail box for
archival / backup reasons.

I would also be very tempted to try to use the same thing for inbound
archiving / backup too. I personally like the idea that you are
maintaining the end-to-end delivery with out completing delivery and
starting another delivery. You would just need to alter the inbound
Sendmail box to use milter-bcc and configure it that it does not accept
messages (for mail boxes on Exchange) locally but rather relay them in
to the Exchange server. This would allow you to take full advantage of
the message queue and all it's features (retries and the likes).

Just my $.02 worth.



Grant. . . .

  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 19h24.


É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 0,08486 seconds with 10 queries