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 Michael Evans <mi...@yahoo.com> on 2002/04/02 21:27:14 UTC

james and sendmail

Hello,
I'm having troubles that I believe are related to
sendmail.  

First let me ask a general question:
what is the relationship between sendmail and James?

Now my 2 problems:
1) Starting the James server won't work with sendmail
dameon running.  

Trying to start the server gives the following error:
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native
Method)
        at
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)

sure enough, "losf -i :25" yields this:
sendmail 4078 root    4u  IPv4  76721       TCP *:smtp
(LISTEN) 

Now, In a previous email, it was stated that sendmail
and james must work together.  If I kill the sendmail
dameon, James will start up fine.  I'm confused how
both statements can be true.

Thanks in advance,
Mike



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: james and sendmail

Posted by Andrew Timberlake <an...@ddd.co.za>.
Mike

James and sendmail are both mail servers.
sendmail however can work locally without listening for connections ie.
send mail instead only instead of recieving and then passing on.

When sendmail is running, it is holding port 25 to listen for send
instructions, when James starts up, it is also requesting this port but
because it is already in use (by sendmail) java returns the Bind
Exception indicating it cannot access the port required.

sendmail is used by many applicationa on *nix machines but all those
applications access the command line (send only, no listening) part of
sendmail. Therefore if you uninstall or deactivate the daemon part of
sendmail but leave the command line version they can both live together:
James will listen for send instructions while sendmail will only send
from command line. Sendmail will send through it's own mechanisms and
will connect to foreign hosts itself and will bypass James.

James and sendmail are not REQUIRED together (your mail said "must work
together"). They can/may work together as I have described. James can
and does work on a computer without sendmail as it is a complete mail
server within itself.

I hope this answers your questions.

Andrew

On Tue, 2002-04-02 at 21:27, Michael Evans wrote:
> Hello,
> I'm having troubles that I believe are related to
> sendmail.  
> 
> First let me ask a general question:
> what is the relationship between sendmail and James?
> 
> Now my 2 problems:
> 1) Starting the James server won't work with sendmail
> dameon running.  
> 
> Trying to start the server gives the following error:
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native
> Method)
>         at
> java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
> 
> sure enough, "losf -i :25" yields this:
> sendmail 4078 root    4u  IPv4  76721       TCP *:smtp
> (LISTEN) 
> 
> Now, In a previous email, it was stated that sendmail
> and james must work together.  If I kill the sendmail
> dameon, James will start up fine.  I'm confused how
> both statements can be true.
> 
> Thanks in advance,
> Mike
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://http://taxes.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
-- 
Andrew Timberlake
Digital Design Development
http://www.ddd.co.za
mailto:andrew@ddd.co.za
011 705 1737
082 415 8283

"If debugging is the process of removing bugs, 
then programming must be the process of putting them in."


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: james and sendmail

Posted by Michael Garon <mg...@bellatlantic.net>.
The error tells you exactly what is wrong: "Address already in use." Try 
setting one of the servers to listen to a different port. (Look in the 
James config file for the port setting.)

Hope that helps.
Mike

At 11:27 AM 4/2/2002 -0800, you wrote:
>Hello,
>I'm having troubles that I believe are related to
>sendmail.
>
>First let me ask a general question:
>what is the relationship between sendmail and James?
>
>Now my 2 problems:
>1) Starting the James server won't work with sendmail
>dameon running.
>
>Trying to start the server gives the following error:
>java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native
>Method)
>         at
>java.net.PlainSocketImpl.bind(PlainSocketImpl.java:408)
>
>sure enough, "losf -i :25" yields this:
>sendmail 4078 root    4u  IPv4  76721       TCP *:smtp
>(LISTEN)
>
>Now, In a previous email, it was stated that sendmail
>and james must work together.  If I kill the sendmail
>dameon, James will start up fine.  I'm confused how
>both statements can be true.
>
>Thanks in advance,
>Mike
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Tax Center - online filing with TurboTax
>http://http://taxes.yahoo.com/
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>