send Mails move in DRAFTS!

Discuss the Scalix web client

Moderators: ScalixSupport, admin

berger1

send Mails move in DRAFTS!

Postby berger1 » Tue Dec 12, 2006 6:42 am

Hi,

i have large problems with sending mails from webmail interface. All mails move in the draft folder. Sending mails via outlook connector works fine.
I found a topic in this forum about DNS settings etc.. but all works fine. There is no double entry in DNS Server for this scalix machine.

Scalix 11.0 pre-1
Opensuse 10.1

here my configs:

/etc/hosts

127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
192.168.1.4 scalix.mydomain.tld scalix


smtpd.cfg

RELAY accept 127.0.0.1
RELAY accept 192.168.10.0/255.255.255.0
RELAY accept 192.168.1.0/255.255.255.0
RELAY accept .mydoma.tld
RELAY Log_Reject ALL

i got some errors in catalina.out, see below

javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Unknown Source)
at com.scalix.swa.service.MailServices.getTransport(MailServices.java:129)
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1596)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:942)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:139)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:224)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
12.12.2006 11:01:37 org.apache.catalina.core.ApplicationContext log
INFO: ip: 192.168.1.2; username: torsten.krause@dima-systems.de; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.MessagingException</faultcode><faultstring>Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.

</faultstring><detail><e:MessagingException xmlns:e="http://scalix.com/errors"><message>Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.

</message><debug>javax.mail.MessagingException: Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1605)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:942)
at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:139)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:224)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
... skipping the last 14 lines as irrelevant...
</debug></e:MessagingException></detail></SOAP-ENV:Fault>


Any hints? thanks in advance.

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Tue Dec 12, 2006 11:12 am

The clue is in

Code: Select all

javax.mail.AuthenticationFailedException


Can you post the other non-commented lines from your smtpd.cfg file ?

Cheers

Dave

berger1

Postby berger1 » Tue Dec 12, 2006 11:18 am

of course

this is the complete File

RELAY accept 127.0.0.1
RELAY accept 192.168.10.0/255.255.255.0
RELAY accept 192.168.1.0/255.255.255.0
RELAY accept .mydomain.de
RELAY accept .my2nddomain.de
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587
[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL



# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix

Stefan

berger1

Postby berger1 » Wed Dec 13, 2006 6:44 am

Hi,

nobody has an idea?

berger1

SOLVED!

Postby berger1 » Wed Dec 13, 2006 9:07 am

O.k. may be someone is interested in the solution.

The added testuser did not have a passwort. So login in webmail and login via outlook connector works fine. Sending email in outlook works too but sending mails from webmail did not work. So i added a passwort for the user and sending mails via webmail now works fine. Can someone explain this appearance?

Stefan

rtausend

Same problem

Postby rtausend » Tue Dec 26, 2006 10:02 am

I have the same problem, all mails are moved to the Draft folder.
My user has set a Password, Outlook sending works perfect too, same output at
catalina.out, any ideas?

Robert

carlPjohnson
Posts: 77
Joined: Sun Oct 29, 2006 4:55 pm

.. same issue!!

Postby carlPjohnson » Tue Dec 26, 2006 1:08 pm

I am also having the same issue. All emails sent from SWA end up leaving and coming right back to the DRAFTS folder. See errors below.

Dec 26, 2006 10:07:12 AM org.apache.catalina.core.ApplicationContext log
INFO: ip: 192.168.41.45; username: sdahlquist@RCP.LOCAL; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.MessagingException</faultcode><faultstring>Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.

</faultstring><detail><e:MessagingException xmlns:e="http://scalix.com/errors"><message>Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.

</message><debug>javax.mail.MessagingException: Message could not be sent, please try again later. A copy of the message has been placed into your 'Drafts' folder.
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1605)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:942)
at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:139)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:224)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
... skipping the last 14 lines as irrelevant...
</debug></e:MessagingException></detail></SOAP-ENV:Fault>

carlPjohnson
Posts: 77
Joined: Sun Oct 29, 2006 4:55 pm

.. a little more info

Postby carlPjohnson » Tue Dec 26, 2006 1:27 pm

Outlook also sends fine (but it does not really use the SMTP directly)
Using the hosts FQDN as SMTP in swa.properties.
These users are imported from A/D and using Kerberos for Auth.
RES/CAA are using NON- KERBEROS communication between them.

smtpd.cfg

LISTEN=scalix.rcp.local:25,scalix.rcp.local:587
EXTENSIONS=AUTH,DSN,8BITMIME
GREETING=SMTPD;
SMTPFILTER=TRUE
RELAY accept 127.0.0.1
RELAY accept .rcp.local
RELAY Log_Reject ALL
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
[SUBMIT]
ANONYMOUS Log_Reject ALL
[LMTP]
LISTEN=localhost:24

pam.d/smtpd.auth

password required om_autred om_krb5 user_unknown=ignore
auth optional om_auth use_first_pass
account required om_auth
password required om_auth

ual.remote

auth required om_krb5 user_unknown=ignore
auth optional om_auth nullok use_first_pass
account required om_auth
password required om_krb5 user_unknown=ignore
password optional om_auth

carlPjohnson
Posts: 77
Joined: Sun Oct 29, 2006 4:55 pm

FIXED!!

Postby carlPjohnson » Tue Dec 26, 2006 1:41 pm

Looked over the smtpd.auth and changed it to the following and now it works!!

auth optional om_krb5 user_unknown=ignore
password required om_autred om_krb5 user_unknown=ignore
auth optional om_auth use_first_pass
account required om_auth
password required om_auth

rtausend

Postby rtausend » Tue Dec 26, 2006 1:55 pm

i tried to make your settings but after i'm not able to log on anymore ... so it's not better for me :)

Regards Robert

carlPjohnson
Posts: 77
Joined: Sun Oct 29, 2006 4:55 pm

.. can you tell me more about your site

Postby carlPjohnson » Tue Dec 26, 2006 9:41 pm

Can you tell me more about your site, are you using another directory for auth, internal users only, etc? I am guessing that the problem lies somewhere in your auth files located in /var/opt/scalix/sx/X/sys/pam.d

ericwagner101
Posts: 96
Joined: Tue Jul 25, 2006 10:10 pm

Not using kerberos but still have problem

Postby ericwagner101 » Tue Jan 02, 2007 4:44 pm

How do I get this to work if I am not using LDAP or Kerberos?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Wed Jan 03, 2007 4:52 am

if you're not using any external authentication, it should work just fine by default. Do your users have passwords (non-empty), Florian.
Florian von Kurnatowski, Die Harder!

ericwagner101
Posts: 96
Joined: Tue Jul 25, 2006 10:10 pm

Fixed the problem...

Postby ericwagner101 » Wed Jan 03, 2007 4:49 pm

I had to set the swa.email.smtpServer= in swa.properties to the fully qualified host name. Not sure why, but this fixed the problem.

zolo
Posts: 12
Joined: Wed Jan 25, 2006 5:48 am

Postby zolo » Fri Jan 05, 2007 7:16 am

Heallo @all
i have a similar problem. Webmail also puts mail into the drafts-folder. I have no listening scalix-smtpd, sendmail is listening an all IPs. For me it looks like webmail is trying to do smtp-authentication with the user 'users' (see the first log lines). Where is this configurued in Scalix? Can i disable authentication? What is the password for 'users'.

Thank you very much,
Zoki

INFO: No credentials available for BASIC 'users'@www.intelego.net:80
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Unknown Source)
at com.scalix.swa.service.MailServices.getTransport(MailServices.java:129)
at com.oddpost.server.module.SoapMail.sendMessage(SoapMail.java:1596)
at com.oddpost.server.module.SoapMail.send(SoapMail.java:942)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:139)
at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:224)
at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
05-Jan-2007 11:31:06 org.apache.catalina.core.ApplicationContext log
INFO: ip: 217.228.184.13; username: zolo; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.MessagingException</faultcode><faultstring>Beim Senden der Nachricht ist ein Fehler aufgetreten, bitte versuchen Sie es später noch einmal. Ein Kopie der Nachricht befindet sich im 'Entwürfe' Ordner


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 1 guest