You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Martin Woolley <ma...@woolleynet.com> on 2003/07/06 14:39:54 UTC

Mail from mailing lists

Hi james users....

I need advice regarding the handling of emails from hte james mailing
list and similar.

I have installed james on my network, with pop3, smtp and fetchpop all
enabled. Fetchpop is working fine, retrieving emali from two external
ISP accounts every 10 minutes. Email gets routed fine expect in the case
of emali from the james mailing list! I have spotted the irony in this
situation ;-)

The issue is that the mailing list mali is adderssed to
server-user@james.apache.org. My actual email address is buried in the
headers somewhere. My James installation does not handle mail for the
james.apache.org domain and so by default looks to deliver it remotely.
I have worked around the problem by using matcher RecipientIs and mailet
Redirect. Whilst this does work, I'm not convinced my solution is a good
one. After all, do I really need to do this for every mailing list that
I subscribe to? And would I ever contemplate doing this if my mail
server was supporting a large suer community? I think not.

So James users, there has to be a better way.

I look forward to being educated.

Thanks in anticipation

Martin



---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: A few quick questions about James

Posted by Kenny Smith <ja...@journalscape.com>.
> I'd like to install and run James as a secondary SMTP server for 
> testing, experimentation, migration, etc.  Can James work in this 
> environment?

As long as you don't run them on the same port, yes.


> The XServe in question has several IP addresses assigned to it.  
> However, I don't know if SendMail/Postfix and James can be configured 
> so that they only response to port 25 requests from a particular IP 
> address.

You definately have control over what ports James is listening on. I'm 
pretty sure you can also control which IP it binds to.

> Assuming not, I think I can resolve the problem by using ipfw to do a 
> little IP shaping.  My plan is to run James on some other port (say 
> 10025), then create a rule to take port 25 requests sent to one 
> particular IP address and redirect them to port 10025.  Has anyone 
> done this.

I personally haven't, but Noel has posted messages that describe this 
kind of thing.

> Question #2: Rejecting mail before it's received
>
> (I apologize in advance for not having first completely read and 
> absorbed all the James documentation and APIs.  I'm sure this answer 
> is in there somewhere.)
>
> I see that Mailets can process mail based on matching rules.  Can mail 
> be intercepted and rejected at the beginning of the SMTP transaction?

No. Currently James does not provide the ability to plug functionality 
into the transaction.

Kenny Smith
JournalScape.com


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: A few quick questions about James

Posted by James Bucanek <su...@gloaming.com>.
Noel J. Bergman wrote on Sunday, July 6, 2003:

>> Question #1: Running two SMTP servers
>
>Just adjust the port and/or bindaddress assignments in config.xml.

Excellent.  I just spent some time with the Postfix config docs and it looks like I can bind Postfix to just one address too.  So it looks like I'm all set.

>Question #2: Rejecting mail before it's received
>
>Fast-fail is currently limited to IP address matching.  All other failures
>are handled within the pipeline.

Unfortunate, but not critical.  Are there any plans to support this in the future?  When I get James up and running, maybe that's something I can contribute to the project.

Thanks Noel and Kenny for the info.

James

______________________________________________________
James Bucanek       <ma...@gloaming.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: A few quick questions about James

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Question #1: Running two SMTP servers

Just adjust the port and/or bindaddress assignments in config.xml.

Question #2: Rejecting mail before it's received

Fast-fail is currently limited to IP address matching.  All other failures
are handled within the pipeline.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


A few quick questions about James

Posted by James Bucanek <su...@gloaming.com>.
Greetings,

I just joined the list, so I hope this isn't too redundant.

I'm considering installing James in a UNIX server (Apple XServe/Mac OS X Server (unlimited)/BSD UNIX) environment to accomplish a number of tasks.  Note that I'm really excited about James.  I'm a Java freak and the idea of providing mail services in Java is just too cool for words.  Besides, it has the best project name in the world.  ;)

I'm not asking for any in-depth help or analysis here, I'm just trying to find out if James will do what I need.  Unless you feel compelled, I'm really only looking for "yes" or "no" answers.


Question #1: Running two SMTP servers

I'd like to install and run James as a secondary SMTP server for testing, experimentation, migration, etc.  Can James work in this environment?

Background - It may be some time before I'm ready to switch off our current SMTP server completely (currently SendMail, but we're switching to Postfix in the near future) and use James for all of our e-mail.

The XServe in question has several IP addresses assigned to it.  However, I don't know if SendMail/Postfix and James can be configured so that they only response to port 25 requests from a particular IP address.

Assuming not, I think I can resolve the problem by using ipfw to do a little IP shaping.  My plan is to run James on some other port (say 10025), then create a rule to take port 25 requests sent to one particular IP address and redirect them to port 10025.  Has anyone done this?


Question #2: Rejecting mail before it's received

(I apologize in advance for not having first completely read and absorbed all the James documentation and APIs.  I'm sure this answer is in there somewhere.)

I see that Mailets can process mail based on matching rules.  Can mail be intercepted and rejected at the beginning of the SMTP transaction?

Background - I'd like to build a service that processes requests based on pseudo e-mail addresses.  However, I'd like to be able to reject (bounce) mail with a 500 series SMTP server error if the address is invalid or malformed.  Is this possible, or must I first accept the mail, process it, then send my own bounce message (which is often very inaccurate).


Again, yes or no is all I'm looking for initially.  If James fits our needs and we get it up and running, I'm sure I'll have a lot more questions later.

James

______________________________________________________
James Bucanek       <ma...@gloaming.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: Mail from mailing lists

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Fetchpop is working fine

> Email gets routed fine expect in the case of emali from
> the james mailing list!

That should be expected with most mailing lists.  What you do is use the
FetchedFrom matcher to select all mail from that task, and forward to the
local user.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org