[xmail] Re: SMTP routing based on source email address ??

2003-02-17 Thread Lars Troen
If your firewall is a checkpoint firewall-1 you can use the smtp security server to 
solve this problem. I have done something similar to this before with great success.
 
Lars

-Original Message- 
From: Rob Arends [mailto:[EMAIL PROTECTED]] 
Sent: Mon 17-Feb-03 6:34 AM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: [xmail] Re: SMTP routing based on source email address ??




I didn't mention that the existing email server is Novell's Groupwise.  The
users don't have control over the outgoing smtp server to send email.  I was
thinking of GroupWise using xmail as a smart host, to drop all outgoing
mail, Xmail have the smarts to look at the source email address via a
mailproc perhaps and if it is not one of the priority users, then send the
mail, or if it is from one of the priority users then relay it to another
smtp relay (doesn't have to be xmail).

If It can't be done at the application layer, perhaps it can be done at the
file level.

Davide, if a mailrpoc was to identify an email to be relayed, could it copy
the email file to the input queue of another xmail server and return an
exitcode that effectively blocks or deletes the email on xmail server one.
The second Xmail server reads the in queue and sends it out.

In theory would this work ??
What dir could I drop a properly formatted file into?

Rob  :-)

You can't route based on the sender, you can only route for destination
( smtpfwd.tab ). And it's domain based, not user based. You cannot run two
instances of XMail on the same machine also. You have to setup another
XMail machine and you have to tell those users to use such machine as SMTP
server. You'll configure this machine by only having custom domains ( the
ones that you handle ) that smtprelay to you main ( POP3 ) machine. At
this point you can setup source routing on your firewall.

- Davide
-

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




-- Binary/unsupported file stripped by Ecartis --
-- Type: application/ms-tnef
-- File: winmail.dat


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: SMTP routing based on source email address ??

2003-02-16 Thread Andrew Joakimsen

create a second domain such as fuckingidiots.thedomain.com

Mail will get there. Either use the slow (what is it? DSL? I've used ISDN
to connect 100 people to the internet as well as the mail server for those
100 people) link for everyone or if the emails have to get there faster
then use the fast link for all emails.

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Rob Arends
Enviado el: Sunday, February 16, 2003 10:42 PM
Para: XMail mailing list
Asunto: [xmail] SMTP routing based on source email address ??


This is probably a good one for Davide.

I have a customer that wants to route certain outgoing emails though a
different internet link (a faster link) for certain users of a domain.
It gets better !!
The two internet links are connected to the same firewall, so at the IP
layer the firewall (a packet filtering only firewall) cannot distinguish
between the two user groups.
My thought was that I could have two instances of xmail running bound to
different IP addresses, and route the priority users through the second
xmail, the firewall would see a different source IP and be able to route the
traffic accordingly.
The problem is, how to route at the application layer, certain users to the
second xmail.

All users have the same internet domain.  I'm not concerned with incomming
mail, it can come in through the first xmail server.

Alternately if anyone has other options for achieving the same end, or other
products that can route email based on source email address, I'd really like
to hear about them.

Thanks Rob  :-)



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: SMTP routing based on source email address ??

2003-02-16 Thread Andrew Joakimsen

Oh, I actually have an idea that should work :)

Since this is behind a firewall I can assume that you dont need any
protection from spammers

Just setup Xmail runing on different ports/Ip/machine/etc just as an open
relay

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Rob Arends
Enviado el: Sunday, February 16, 2003 10:42 PM
Para: XMail mailing list
Asunto: [xmail] SMTP routing based on source email address ??


This is probably a good one for Davide.

I have a customer that wants to route certain outgoing emails though a
different internet link (a faster link) for certain users of a domain.
It gets better !!
The two internet links are connected to the same firewall, so at the IP
layer the firewall (a packet filtering only firewall) cannot distinguish
between the two user groups.
My thought was that I could have two instances of xmail running bound to
different IP addresses, and route the priority users through the second
xmail, the firewall would see a different source IP and be able to route the
traffic accordingly.
The problem is, how to route at the application layer, certain users to the
second xmail.

All users have the same internet domain.  I'm not concerned with incomming
mail, it can come in through the first xmail server.

Alternately if anyone has other options for achieving the same end, or other
products that can route email based on source email address, I'd really like
to hear about them.

Thanks Rob  :-)



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]




[xmail] Re: SMTP routing based on source email address ??

2003-02-16 Thread Rob Arends

I didn't mention that the existing email server is Novell's Groupwise.  The
users don't have control over the outgoing smtp server to send email.  I was
thinking of GroupWise using xmail as a smart host, to drop all outgoing
mail, Xmail have the smarts to look at the source email address via a
mailproc perhaps and if it is not one of the priority users, then send the
mail, or if it is from one of the priority users then relay it to another
smtp relay (doesn't have to be xmail).

If It can't be done at the application layer, perhaps it can be done at the
file level.

Davide, if a mailrpoc was to identify an email to be relayed, could it copy
the email file to the input queue of another xmail server and return an
exitcode that effectively blocks or deletes the email on xmail server one.
The second Xmail server reads the in queue and sends it out.

In theory would this work ??
What dir could I drop a properly formatted file into?

Rob  :-)

You can't route based on the sender, you can only route for destination
( smtpfwd.tab ). And it's domain based, not user based. You cannot run two
instances of XMail on the same machine also. You have to setup another
XMail machine and you have to tell those users to use such machine as SMTP
server. You'll configure this machine by only having custom domains ( the
ones that you handle ) that smtprelay to you main ( POP3 ) machine. At
this point you can setup source routing on your firewall.

- Davide
-

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]