Discussion:
[SOGo] Unable to send mails using sogo webmail
r***@admin-ahead.com
2014-10-31 13:38:46 UTC
Permalink
Hi,

I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.

EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> (terminated
due to signal 6)

Also the pop up window that opens when write button is clicked does not close
on its own.

Please help.
--
***@sogo.nu
https://inverse.ca/sogo/lists
Christian Mack
2014-11-03 15:09:25 UTC
Permalink
Hello
Post by r***@admin-ahead.com
I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.
EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> (terminated
due to signal 6)
Also the pop up window that opens when write button is clicked does not close
on its own.
Which version of SOGo is that?

Did you also install the newest SOPE packages?

Which SMTP server do you use?
What error messages are in his logs?


Kind regards,
Christian Mack
--
Christian Mack
UniversitÀt Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
Anish P
2014-11-06 08:49:23 UTC
Permalink
Hi,

Thank you for your reply.

The mail server configuration is as follows
sogo-2.2.7-1
postfix-2.6.6-6
sope49-gdl1-mysql-4.9-20140730_1664
cyrus-imapd-2.3.16-6

Errors are reported in sogo.log as well as /var/log/messages.
/var/log/messages shows the following error
===========
Nov 6 13:32:28 localhost imap[7541]: auxpropfunc error invalid parameter
supplied
===========

Error shown in sogo.log is
===========
EXCEPTION: <NSException: 0x7f9136338658> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]> child
4701 exited
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]>
(terminated due to signal 6)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f13388[WOWatchDog]> child
spawned with pid 11263
2014-11-06 13:32:40.162 sogod[11263] MySQL4 connection established
0x0x7f9135cf8040
===========

The cyrus-imap configuration is
===========
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
imap_admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
virtdomains: on
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN
sasl_sql_user: sogo
sasl_sql_passwd: password
sasl_sql_database: sogo
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT c_password FROM sogo_view WHERE
mail = '%u@%r'
allowanonymouslogin: no
allowplaintext: yes
tls_cert_file: /etc/pki/tls/certs/server.pem
tls_key_file: /etc/pki/tls/certs/server.pem
tls_ca_file: /etc/pki/tls/certs/server.pem
===========

Currently based on this configuration I'm able to login to the SOGo
webmail interface and mailboxes are being displayed.

Since /var/log/messages shows auxpropfunc error I tried changing the
sasl_pwcheck_method to pam but then mailboxes are not displayed after
logging in to SOGo webmail.

I'm also able to authenticate to the smtp server via telnet.

Thanks!
Anish
Post by Christian Mack
Hello
Post by r***@admin-ahead.com
I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.
EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> (terminated
due to signal 6)
Also the pop up window that opens when write button is clicked does not close
on its own.
Which version of SOGo is that?
Did you also install the newest SOPE packages?
Which SMTP server do you use?
What error messages are in his logs?
Kind regards,
Christian Mack
--
***@sogo.nu
https://inverse.ca/sogo/lists
Christian Mack
2014-11-06 12:24:18 UTC
Permalink
Hello

So you can send emails, but moving them into your Sent folder doesn't work?
Or do you try to send E-Mails via IMAP?

Could you provide your sogo.conf please.


Kind regards,
Christian Mack
Post by Anish P
Hi,
Thank you for your reply.
The mail server configuration is as follows
sogo-2.2.7-1
postfix-2.6.6-6
sope49-gdl1-mysql-4.9-20140730_1664
cyrus-imapd-2.3.16-6
Errors are reported in sogo.log as well as /var/log/messages.
/var/log/messages shows the following error
===========
Nov 6 13:32:28 localhost imap[7541]: auxpropfunc error invalid parameter
supplied
===========
Error shown in sogo.log is
===========
EXCEPTION: <NSException: 0x7f9136338658> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]> child
4701 exited
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]>
(terminated due to signal 6)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f13388[WOWatchDog]> child
spawned with pid 11263
2014-11-06 13:32:40.162 sogod[11263] MySQL4 connection established
0x0x7f9135cf8040
===========
The cyrus-imap configuration is
===========
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
imap_admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
virtdomains: on
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN
sasl_sql_user: sogo
sasl_sql_passwd: password
sasl_sql_database: sogo
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT c_password FROM sogo_view WHERE
allowanonymouslogin: no
allowplaintext: yes
tls_cert_file: /etc/pki/tls/certs/server.pem
tls_key_file: /etc/pki/tls/certs/server.pem
tls_ca_file: /etc/pki/tls/certs/server.pem
===========
Currently based on this configuration I'm able to login to the SOGo
webmail interface and mailboxes are being displayed.
Since /var/log/messages shows auxpropfunc error I tried changing the
sasl_pwcheck_method to pam but then mailboxes are not displayed after
logging in to SOGo webmail.
I'm also able to authenticate to the smtp server via telnet.
Thanks!
Anish
Post by Christian Mack
Hello
Post by r***@admin-ahead.com
I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.
EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]>
(terminated
due to signal 6)
Also the pop up window that opens when write button is clicked does not close
on its own.
Which version of SOGo is that?
Did you also install the newest SOPE packages?
Which SMTP server do you use?
What error messages are in his logs?
Kind regards,
Christian Mack
--
Christian Mack
UniversitÀt Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416
Anish P
2014-11-06 12:54:20 UTC
Permalink
Hi,

I'm not able to send mails from the SOGo webmail. After I write a new
mail and click send, the pop-up window stays there without closing, and
also the mail doesn't get send.
I checked /var/log/maillog and no entries are being logged there. I
think the mail to be send is not getting handed over to postfix.

The SOGo configuration is as follows.

{
SOGoProfileURL =
"mysql://sogo:***@127.0.0.1:3306/sogo/sogo_user_profile";
OCSFolderInfoURL =
"mysql://sogo:***@127.0.0.1:3306/sogo/sogo_folder_info";
OCSSessionsFolderURL =
"mysql://sogo:***@127.0.0.1:3306/sogo/sogo_sessions_folder";
//SOGoAuthenticationMethod = SQL;
/* Mail */
SOGoDraftsFolderName = INBOX/Drafts;
SOGoSentFolderName = INBOX/Sent;
SOGoTrashFolderName = INBOX/Trash;


SOGoIMAPServer = localhost:143;
SOGoSieveServer = sieve://127.0.0.1:4190;
SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = anish.com;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = YES;
SOGoMailSpoolPath = /var/spool/imap;
NGImap4ConnectionStringSeparator = "/";


SOGoForceIMAPLoginWithEmail = YES;
SOGoMemcachedHost = 127.0.0.1;
SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;


/* Authentication */
SOGoPasswordChangeEnabled = YES;


/* LDAP authentication example */
SOGoUserSources = (
{
type = sql;
id = accounts;
viewURL = "mysql://sogo:***@localhost:3306/sogo/sogo_view";
canAuthenticate = YES;
isAddressBook = NO;
userPasswordAlgorithm = none;
displayName = "Employees";
},
);

/* Web Interface */

SOGoPageTitle = "Company Name";
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;

/* General */
SOGoLanguage = English;
SOGoTimeZone = Asia/Kolkata;
SOGoCalendarDefaultRoles = (
PublicDAndTViewer,
ConfidentialDAndTViewer
);


SOGoSuperUsernames = (cyrus); //This is an array - keep the parens!
WOWorkersCount = 32;

/* Debug */
SOGoDebugRequests = YES;
ImapDebugEnabled = YES;
LDAPDebugEnabled = YES;
PGDebugEnabled = YES;
MySQL4DebugEnabled = YES;
SOGoUIxDebugEnabled = YES;
WODontZipResponse = YES;
WOLogFile = /var/log/sogo/sogo.log;
GCSFolderDebugEnabled = YES;
OCSFolderManagerSQLDebugEnabled = YES;
SOGoImapDebugEnabled = YES;
SOGoUIxDebugEnabled = YES;
SoDebugKeyLookup = YES;
SoDebugBaseURL = YES;
}


Thanks,
Anish
Post by Christian Mack
Hello
So you can send emails, but moving them into your Sent folder doesn't work?
Or do you try to send E-Mails via IMAP?
Could you provide your sogo.conf please.
Kind regards,
Christian Mack
Post by Anish P
Hi,
Thank you for your reply.
The mail server configuration is as follows
sogo-2.2.7-1
postfix-2.6.6-6
sope49-gdl1-mysql-4.9-20140730_1664
cyrus-imapd-2.3.16-6
Errors are reported in sogo.log as well as /var/log/messages.
/var/log/messages shows the following error
===========
Nov 6 13:32:28 localhost imap[7541]: auxpropfunc error invalid parameter
supplied
===========
Error shown in sogo.log is
===========
EXCEPTION: <NSException: 0x7f9136338658> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]> child
4701 exited
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]>
(terminated due to signal 6)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f13388[WOWatchDog]> child
spawned with pid 11263
2014-11-06 13:32:40.162 sogod[11263] MySQL4 connection established
0x0x7f9135cf8040
===========
The cyrus-imap configuration is
===========
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
imap_admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
virtdomains: on
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN
sasl_sql_user: sogo
sasl_sql_passwd: password
sasl_sql_database: sogo
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT c_password FROM sogo_view WHERE
allowanonymouslogin: no
allowplaintext: yes
tls_cert_file: /etc/pki/tls/certs/server.pem
tls_key_file: /etc/pki/tls/certs/server.pem
tls_ca_file: /etc/pki/tls/certs/server.pem
===========
Currently based on this configuration I'm able to login to the SOGo
webmail interface and mailboxes are being displayed.
Since /var/log/messages shows auxpropfunc error I tried changing the
sasl_pwcheck_method to pam but then mailboxes are not displayed after
logging in to SOGo webmail.
I'm also able to authenticate to the smtp server via telnet.
Thanks!
Anish
Post by Christian Mack
Hello
Post by r***@admin-ahead.com
I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.
EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]>
(terminated
due to signal 6)
Also the pop up window that opens when write button is clicked does not close
on its own.
Which version of SOGo is that?
Did you also install the newest SOPE packages?
Which SMTP server do you use?
What error messages are in his logs?
Kind regards,
Christian Mack
--
***@sogo.nu
https://inverse.ca/sogo/lists
Marcel Waldvogel
2014-11-06 14:09:46 UTC
Permalink
Can you run wireshark (or tcpdump) on „host 127.0.0.1 and port 25“ to record the packets while you try to send? What is the error message you get when sending?

-Marcel
Hi,
I'm not able to send mails from the SOGo webmail. After I write a new mail and click send, the pop-up window stays there without closing, and also the mail doesn't get send.
I checked /var/log/maillog and no entries are being logged there. I think the mail to be send is not getting handed over to postfix.
The SOGo configuration is as follows.
{
//SOGoAuthenticationMethod = SQL;
/* Mail */
SOGoDraftsFolderName = INBOX/Drafts;
SOGoSentFolderName = INBOX/Sent;
SOGoTrashFolderName = INBOX/Trash;
SOGoIMAPServer = localhost:143;
SOGoSieveServer = sieve://127.0.0.1:4190 <sieve://127.0.0.1:4190>;
SOGoSMTPServer = 127.0.0.1;
SOGoMailDomain = anish.com <http://anish.com/>;
SOGoMailingMechanism = smtp;
SOGoForceExternalLoginWithEmail = YES;
SOGoMailSpoolPath = /var/spool/imap;
NGImap4ConnectionStringSeparator = "/";
SOGoForceIMAPLoginWithEmail = YES;
SOGoMemcachedHost = 127.0.0.1;
SOGoAppointmentSendEMailNotifications = YES;
SOGoACLsSendEMailNotifications = YES;
/* Authentication */
SOGoPasswordChangeEnabled = YES;
/* LDAP authentication example */
SOGoUserSources = (
{
type = sql;
id = accounts;
canAuthenticate = YES;
isAddressBook = NO;
userPasswordAlgorithm = none;
displayName = "Employees";
},
);
/* Web Interface */
SOGoPageTitle = "Company Name";
SOGoVacationEnabled = YES;
SOGoForwardEnabled = YES;
SOGoSieveScriptsEnabled = YES;
/* General */
SOGoLanguage = English;
SOGoTimeZone = Asia/Kolkata;
SOGoCalendarDefaultRoles = (
PublicDAndTViewer,
ConfidentialDAndTViewer
);
SOGoSuperUsernames = (cyrus); //This is an array - keep the parens!
WOWorkersCount = 32;
/* Debug */
SOGoDebugRequests = YES;
ImapDebugEnabled = YES;
LDAPDebugEnabled = YES;
PGDebugEnabled = YES;
MySQL4DebugEnabled = YES;
SOGoUIxDebugEnabled = YES;
WODontZipResponse = YES;
WOLogFile = /var/log/sogo/sogo.log;
GCSFolderDebugEnabled = YES;
OCSFolderManagerSQLDebugEnabled = YES;
SOGoImapDebugEnabled = YES;
SOGoUIxDebugEnabled = YES;
SoDebugKeyLookup = YES;
SoDebugBaseURL = YES;
}
Thanks,
Anish
Post by Christian Mack
Hello
So you can send emails, but moving them into your Sent folder doesn't work?
Or do you try to send E-Mails via IMAP?
Could you provide your sogo.conf please.
Kind regards,
Christian Mack
Post by Anish P
Hi,
Thank you for your reply.
The mail server configuration is as follows
sogo-2.2.7-1
postfix-2.6.6-6
sope49-gdl1-mysql-4.9-20140730_1664
cyrus-imapd-2.3.16-6
Errors are reported in sogo.log as well as /var/log/messages.
/var/log/messages shows the following error
===========
Nov 6 13:32:28 localhost imap[7541]: auxpropfunc error invalid parameter
supplied
===========
Error shown in sogo.log is
===========
EXCEPTION: <NSException: 0x7f9136338658> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]> child
4701 exited
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f2faa8[WOWatchDogChild]>
(terminated due to signal 6)
Nov 06 13:32:40 sogod [4698]: <0x0x7f9135f13388[WOWatchDog]> child
spawned with pid 11263
2014-11-06 13:32:40.162 sogod[11263] MySQL4 connection established
0x0x7f9135cf8040
===========
The cyrus-imap configuration is
===========
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
imap_admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
virtdomains: on
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql
sasl_sql_engine: mysql
sasl_mech_list: LOGIN PLAIN
sasl_sql_user: sogo
sasl_sql_passwd: password
sasl_sql_database: sogo
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT c_password FROM sogo_view WHERE
allowanonymouslogin: no
allowplaintext: yes
tls_cert_file: /etc/pki/tls/certs/server.pem
tls_key_file: /etc/pki/tls/certs/server.pem
tls_ca_file: /etc/pki/tls/certs/server.pem
===========
Currently based on this configuration I'm able to login to the SOGo
webmail interface and mailboxes are being displayed.
Since /var/log/messages shows auxpropfunc error I tried changing the
sasl_pwcheck_method to pam but then mailboxes are not displayed after
logging in to SOGo webmail.
I'm also able to authenticate to the smtp server via telnet.
Thanks!
Anish
Post by Christian Mack
Hello
Post by r***@admin-ahead.com
I'm trying to configure Sogo with multiple domains with mysql authentication.
I'm able to login to the sogo webmail and view the messages in the inbox, but
when I try to write a mail and send it I get the following error in the sogo
log once the send button is clicked.
EXCEPTION: <NSException: 0x7f913625ab88> NAME:NSInvalidArgumentException
REASON:WOResponse(instance) does not recognize reason INFO:(null)
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]> child 4770
exited
Oct 31 18:20:47 sogod [4698]: <0x0x7f9135eaa2b8[WOWatchDogChild]>
(terminated
due to signal 6)
Also the pop up window that opens when write button is clicked does not close
on its own.
Which version of SOGo is that?
Did you also install the newest SOPE packages?
Which SMTP server do you use?
What error messages are in his logs?
Kind regards,
Christian Mack
--
https://inverse.ca/sogo/lists <https://inverse.ca/sogo/lists>
Anish
2014-11-07 10:26:11 UTC
Permalink
Yeah, I did, even then its showing no traffic.

Thanks,
Anish
Did you select the loopback interface („-i lo“)?
-Marcel
Hi,
I used tcpdump to view the traffic on port 25, but not getting any
output.
Thanks,
Anish
Post by Marcel Waldvogel
Can you run wireshark (or tcpdump) on „host 127.0.0.1 and port 25“
to record the packets while you try to send? What is the error
message you get when sending?
-Marcel
--
***@sogo.nu
https://inverse.ca/sogo/lists
Anish
2014-11-07 11:18:24 UTC
Permalink
Nope, I even tried '-i any' to capture traffic on all interfaces, still
no output.
Changed the parameters in the SOGo configuration as you mentioned but
still no luck getting any output for tcpdump.


Thanks,
Anish
Weird; using „localhost“ instead of „127.0.0.1“? Is there anything else going on on port 25 on any of the interfaces?
Does mail sending work if you use „SOGoMailingMechanism = sendmail;“ (and maybe set „WOSendMail“ to the local sendmail path)?
Does it work if you disable „SOGoForceExternalLoginWithEmail“?
-Marcel
Post by Anish
Yeah, I did, even then its showing no traffic.
Thanks,
Anish
Did you select the loopback interface („-i lo“)?
-Marcel
Hi,
I used tcpdump to view the traffic on port 25, but not getting any output.
Thanks,
Anish
Can you run wireshark (or tcpdump) on „host 127.0.0.1 and port 25“ to record the packets while you try to send? What is the error message you get when sending?
-Marcel
--
***@sogo.nu
https://inverse.ca/sogo/lists
Loading...