|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a very wierd setup as I transition from the current email
to a sendmail+cyrus based email system. My email currently comes into the internet, through a spam assassin filter, is sent to a server inside my network, that server forwards the message(s) to a POP server on the outside of my firewall. mail->filter->server+cyrus->server+pop ^ ^ | | firewall firewall The server+cyrus is at the moment really only a fowarding box using the server+pop as a smarthost. I want to test delivering any messages sent to me directly to the cyrus server on server+cyrus, stopping any messages in server+cyrus and not sending the messages on to server+pop. I see a line in sendmail.cf calling procmail the local delivery agent (Mlocal, P=/usr/bin/procmail, ...). How can I test that procmail will be used and how can I force any messages to me to local delivery. Seems like all messages must pass through procmail and for those messages directly to me, procmail can call deliver. What about the messages for everone else? If the message is not handled by procmail, will sendmail go ahead and forward the message as it is doing now? Fedora Core 5 with recent patches latest sendmail latest cyrus latest procmail Mike |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In article <UPuth.16$p71.6@newsfe03.lga>, Mike wrote:
> I have a very wierd setup as I transition from the current email > to a sendmail+cyrus based email system. My email currently comes > into the internet, through a spam assassin filter, is sent to a > server inside my network, that server forwards the message(s) to > a POP server on the outside of my firewall. > > mail->filter->server+cyrus->server+pop > ^ ^ > | | > firewall firewall > > The server+cyrus is at the moment really only a fowarding box using > the server+pop as a smarthost. I want to test delivering any messages > sent to me directly to the cyrus server on server+cyrus, stopping > any messages in server+cyrus and not sending the messages on to > server+pop. > > I see a line in sendmail.cf calling procmail the local delivery > agent (Mlocal, P=/usr/bin/procmail, ...). How can I test that > procmail will be used and how can I force any messages to me to > local delivery. Seems like all messages must pass through procmail > and for those messages directly to me, procmail can call deliver. > What about the messages for everone else? If the message is not > handled by procmail, will sendmail go ahead and forward the message > as it is doing now? > > Fedora Core 5 with recent patches > latest sendmail > latest cyrus > latest procmail > Mike Or maybe turn the problem around. Is it possible to change the sendmail setup so that for every message that comes in procmail is called for delivery and inside procmail there is a check for my user id, if my user id the message is given to deliver for inserting into cyrus otherwise the 'lmtp' program is used to forward the message to server+pop for pop delivery? Mike |
|
![]() |
| Outils de la discussion | |
|
|