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

2003-02-16 Thread Rob Arends
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]




[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]




[xmail] Re: still a problem with psync

2003-02-16 Thread Martin Schmid

Davide

Thanks for your analysis. I'd appreciate psync to just kill syntactical 
wrong messages. It's of no help if I find out by chance that a message 
delivery has stalled some weeks ago. The message content may certainly 
be outdatet by the moment of discovery. Usually it's spam anyway...

Could this cleaning feature be a future improvement? Or, could such mail 
just be passed to the psync account?

I wouldn't have seen this problem if I hadn't installed SpamPal (which I 
appreciate much) as a spam marker proxy with bayesian filter plugin 
running on it. I was just wondering a little that the same messages were 
processed by the bayesian filter again and again and again and again and 
.

Regards

Martin



Davide Libenzi schrieb:

On Fri, 14 Feb 2003, Martin Schmid wrote:

  

One of the two messages looks as follows (mail text fetched by Telnet
session):

--- start of retr
retr 1
+OK 1172 octets
Received: from mx2.mail.yahoo.com [217.131.132.24] by wl1.webland.ch
  (SMTPD32-7.04) id A58CE73F00FE; Wed, 15 Jan 2003 12:27:08 +0100
From: Form Feedback [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: your request form
Below is the result of your feedback form.  It was submitted by
 (fr*ep*[EMAIL PROTECTED]) on Tuesday, January 14, 2003 at 08:12:18
---
: Go to this link to get no cost memberships (email is needed)
Message-Id: [EMAIL PROTECTED]
Date: Wed, 15 Jan 2003 12:27:11 +0100
X-RCPT-TO: [EMAIL PROTECTED]
Status: R
X-UIDL: 5660



Thanks Martin, you report helped. The message does not have a correct
RFC822 format. The subject spawns multiple lines with the following lines
not starting with an LWS. This would be correct :

Subject: RE: your request form
 Below is the result of your feedback form.  It was submitted by
 (fr*ep*[EMAIL PROTECTED]) on Tuesday, January 14, 2003 at 08:12:18
 ---
 : Go to this link to get no cost memberships (email is needed)


Now, XMail does not recognize it as a valid RFC822 message and it's not
able to process it.




- 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]


  



-
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]