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 Hammad Sophie <ha...@sibisoft.com> on 2003/12/23 22:28:14 UTC

HELP! Some outgoing emails disappearing....

Hi I posted a message a few days earlier, but didn't get a response yet. I
would really appreciate an answer....

My problem is that any email I send to a valid .edu addresses (i've tried
two domains: missouri.edu and scudc.scu.edu) DISAPPEAR. (I have no problems
receiving emails) There is no error response sent back to sender or to
postmaster. They just disappear.

On the mailet log I get the following:


19/12/03 12:27:33 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1071865652476-1979-to-scudc.scu.edu into outgoing after 0 retries
19/12/03 12:27:33 INFO  James.Mailet: RemoteDelivery: Attempting delivery of
Mail1071865652476-1979-to-scudc.scu.edu to host smtp2.engr.scu.edu. to
addresses [x@scudc.scu.edu]
19/12/03 12:27:33 INFO  James.Mailet: RemoteDelivery: Temporary exception
delivering mail (Mail1071865652476-1979-to-scudc.scu.edu:
javax.mail.MessagingException: 501 5.0.0 Invalid domain name

	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
	at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:511)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:243)
	at javax.mail.Service.connect(Service.java:234)
	at javax.mail.Service.connect(Service.java:135)
	at javax.mail.Service.connect(Service.java:87)
	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:93)
	at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery.jav
a:231)
	at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:59
3)
	at java.lang.Thread.run(Thread.java:536)

19/12/03 12:27:33 INFO  James.Mailet: RemoteDelivery: Storing message
Mail1071865652476-1979-to-scudc.scu.edu into outgoing after 1 retries
19/12/03 12:27:33 INFO  James.Mailet: RemoteDelivery: Mail
(Mail1071865652476-1979-to-yahoo.com) sent successfully to
mx1.mail.yahoo.com.

I am confused about what to do. I'm running James 2.1 on Win2k. the machine
is on the open net.


Would really appreciate some help.

Thanks in advance.

-------------------------------------
Hammad Sophie
Sibisoft, Inc.
42080 Osgood Rd #8
Fremont, CA 94538


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


RE: HELP! Some outgoing emails disappearing....

Posted by Hammad Sophie <ha...@sibisoft.com>.
I finally talked to pacbell about setting up an smtp relay and their support
folks can't help. I got bounced around between sbc and 1-888-web-host.
Finally the web host people suggested that that pacbell configure the
reverse DNS properly. I hope that will solve the problem.

Hammad.

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com]
Sent: Tuesday, December 23, 2003 4:27 PM
To: James Users List
Subject: RE: HELP! Some outgoing emails disappearing....


Hammad Sophie wrote:

> > > what you are suggesting is that I've setup the mail server to be
> > > mail.mydomain.com at ip x.x.x.y.  When smtp2.scudc.scu.edu checks
> > > x.x.x.y it gets adsl.blah.pacbell.net and thus rejects?

> Yes.  And also quite possibly it is rejecting you a priori because you
> are sending from a DHCP pool.

> The address that we've assigned our mail server is a static one. Pacbell
> gives us 4-5 static addresses which have been registered with DNS to point
> to our mail server.

Ah, OK.  I saw adsl and made a false assumption.  I just checked your IP
against OpenRBL, and none of the lists appear to be confused regarding your
IP address' status.

You could contact the mail administrator at that institution to ask if there
is a problem.  As noted, a reverse DNS does not match the domain of the HELO
name you are using, and that might be blocked by them.

> > You should find out from pacbell.net which SMTP server you should
> > be using, and just set that into the <gateway> element.

> What I understand from your response is that I only need to change the
> gateway element in the config file. Users will still use the currently
> configured smtp server in outlook etc. as mail.mydomain.com?

Yes.  And then you would use pacbell as a relay.  You might not need to do
it, but that is probably the quickest way to get any DNS related issue(s)
resolved.

> I'm using smtp authRequired and have disabled remoteAddrNotInNetwork

> Will changing the gateway require changing any of these other settings?

No.

> The problem is I never get a failure message. For all I know, the email
> went through when in reality it never does... :(

Ever?  It could take a couple of days for James to give up.

	--- Noel


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


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


RE: HELP! Some outgoing emails disappearing....

Posted by "Noel J. Bergman" <no...@devtech.com>.
Hammad Sophie wrote:

> > > what you are suggesting is that I've setup the mail server to be
> > > mail.mydomain.com at ip x.x.x.y.  When smtp2.scudc.scu.edu checks
> > > x.x.x.y it gets adsl.blah.pacbell.net and thus rejects?

> Yes.  And also quite possibly it is rejecting you a priori because you
> are sending from a DHCP pool.

> The address that we've assigned our mail server is a static one. Pacbell
> gives us 4-5 static addresses which have been registered with DNS to point
> to our mail server.

Ah, OK.  I saw adsl and made a false assumption.  I just checked your IP
against OpenRBL, and none of the lists appear to be confused regarding your
IP address' status.

You could contact the mail administrator at that institution to ask if there
is a problem.  As noted, a reverse DNS does not match the domain of the HELO
name you are using, and that might be blocked by them.

> > You should find out from pacbell.net which SMTP server you should
> > be using, and just set that into the <gateway> element.

> What I understand from your response is that I only need to change the
> gateway element in the config file. Users will still use the currently
> configured smtp server in outlook etc. as mail.mydomain.com?

Yes.  And then you would use pacbell as a relay.  You might not need to do
it, but that is probably the quickest way to get any DNS related issue(s)
resolved.

> I'm using smtp authRequired and have disabled remoteAddrNotInNetwork

> Will changing the gateway require changing any of these other settings?

No.

> The problem is I never get a failure message. For all I know, the email
> went through when in reality it never does... :(

Ever?  It could take a couple of days for James to give up.

	--- Noel


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


RE: HELP! Some outgoing emails disappearing....

Posted by Hammad Sophie <ha...@sibisoft.com>.
Thanks for the tips Noel. My comments/questions follow

Hammad Sophie wrote:

> what you are suggesting is that I've setup the mail server to be
> mail.mydomain.com at ip x.x.x.y.  When smtp2.scudc.scu.edu checks
> x.x.x.y it gets adsl.blah.pacbell.net and thus rejects?

Noel responded:
Yes.  And also quite possibly it is rejecting you a priori because you are
sending from a DHCP pool.

Hammad new:
The address that we've assigned our mail server is a static one. Pacbell
gives us 4-5 static addresses which have been registered with DNS to point
to our mail server.

Hammad old:
> What do I need to do to get it running?

Noel response:
You should find out from pacbell.net which SMTP server you should be using,
and just set that into the <gateway> element.

Hammad new:
What I understand from your response is that I only need to change the
gateway element in the config file. Users will still use the currently
configured smtp server in outlook etc. as mail.mydomain.com?
BTW, I'm using smtp authRequired and have disabled remoteAddrNotInNetwork
since we have multiple locations and different isps and some road warriors.
Will changing the gateway require changing any of these other settings?

Hammad old:
> Why does it 'eat up' the error message?

Noel response:
It is treating it as a temporary error, and queuing it up to retry later.

The problem is I never get a failure message. For all I know, the email went
through when in reality it never does... :(

Thanks once again, Noel.

Hammad.


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


RE: HELP! Some outgoing emails disappearing....

Posted by "Noel J. Bergman" <no...@devtech.com>.
Hammad Sophie wrote:

> what you are suggesting is that I've setup the mail server to be
> mail.mydomain.com at ip x.x.x.y.  When smtp2.scudc.scu.edu checks
> x.x.x.y it gets adsl.blah.pacbell.net and thus rejects?

Yes.  And also quite possibly it is rejecting you a priori because you are
sending from a DHCP pool.

> What do I need to do to get it running?

You should find out from pacbell.net which SMTP server you should be using,
and just set that into the <gateway> element.

> Why does it 'eat up' the error message?

It is treating it as a temporary error, and queuing it up to retry later.

	--- Noel


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


RE: HELP! Some outgoing emails disappearing....

Posted by Hammad Sophie <ha...@sibisoft.com>.
Thanks for the quick response Noel.

Ok, so what you are suggesting is that I've setup the mail server to be
mail.mydomain.com at ip x.x.x.y
When smtp2.scudc.scu.edu checks x.x.x.y it gets adsl.blah.pacbell.net and
thus rejects?

What do I need to do to get it running? Why does it 'eat up' the error
message?
I'm getting similar problems with sbcglobal.net addresses but at least I get
an error message from postmaster....

Hammad.

p.s. I'm new to the world of mail servers....

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com]
Sent: Tuesday, December 23, 2003 2:21 PM
To: James Users List
Subject: RE: HELP! Some outgoing emails disappearing....


> My problem is that any email I send to a valid .edu addresses (i've tried
> two domains: missouri.edu and scudc.scu.edu) DISAPPEAR.

Attempting delivery of Mail1071865652476-1979-to-scudc.scu.edu to host
smtp2.engr.scu.edu. to addresses [x@scudc.scu.edu]
Temporary exception delivering mail
(Mail1071865652476-1979-to-scudc.scu.edu:
javax.mail.MessagingException: 501 5.0.0 Invalid domain name
	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
	at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:511)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:243)

It appears that both smtp.engr.scu.edu and smtp2.engr.scu.edu are rejecting
whatever name you are passing in the HELO string.  They are probably doing a
reverse DNS lookup, and getting a failure.

	--- Noel


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


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


RE: HELP! Some outgoing emails disappearing....

Posted by "Noel J. Bergman" <no...@devtech.com>.
> My problem is that any email I send to a valid .edu addresses (i've tried
> two domains: missouri.edu and scudc.scu.edu) DISAPPEAR.

Attempting delivery of Mail1071865652476-1979-to-scudc.scu.edu to host
smtp2.engr.scu.edu. to addresses [x@scudc.scu.edu]
Temporary exception delivering mail
(Mail1071865652476-1979-to-scudc.scu.edu:
javax.mail.MessagingException: 501 5.0.0 Invalid domain name
	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:879)
	at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:511)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:243)

It appears that both smtp.engr.scu.edu and smtp2.engr.scu.edu are rejecting
whatever name you are passing in the HELO string.  They are probably doing a
reverse DNS lookup, and getting a failure.

	--- Noel


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