mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #114] Screen notifications cover mail management menu #96
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chlarsen on GitHub (Sep 4, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/114
Originally assigned to: @jasonmunro on GitHub.
Dear Jason,

Have a look at the attached screenshot. Whenever I delete an email, the resulting notification comes up and stays, effectively covering up the email management menu.
This may be related to my idea to implement some kind of auto-refresh for the mailbox, as well as the folder list on the left, where unread messages might appear as numbers behind the folder name.
Thanks a lot, indeed,
Chris
@jasonmunro commented on GitHub (Sep 6, 2016):
You should be able to click anywhere on the notification and it will disappear. At one time I had it auto-hide after 5-10 seconds, but I sometimes missed the notice so I removed that.
All combined views in the main menu auto-refresh, but standard IMAP folder message lists do not. I should be able to add that easily enough.
Adding unread counts per folder isn't particularly hard, but we will have to "opt in" the folders you want to check (I have seen situations where users have hundreds of folders and getting the status for all of them is problematic).
@chlarsen commented on GitHub (Sep 7, 2016):
Dear Jason,
Got it :-), thanks a lot.
I might come up with a list of suggestions to save a few clicks and
(hopefully) increase usability even further - but I think let's hold our
horses till the more important weird issue has been ironed out.
What do you think?
Cheers,
Chris
On 06/09/16 19:26, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 7, 2016):
Feel free to share any and all feedback and suggestions! It's very helpful. If you could, create separate issues for each so it's easier to tag and track them. Also, I added auto-refresh to IMAP message list views (happens every 60 seconds), and I'm working on a neat way to include unread counts in the folder list.
@jasonmunro commented on GitHub (Sep 7, 2016):
Just committed some unread indicators in the folder list. Any folder that is included in the combined views will have it's total unread message counts tracked, as will the unread total in the main menu.
To add a folder to the combined views, navigate to it, and use the icon in the upper right (circle with a checkmark in it). Also any folder that you interact with will display the unread count, but it won't be tracked in the background unless added to the combined views.
@jasonmunro commented on GitHub (Sep 8, 2016):
@chlarsen, I just want to say thanks again for working with me on all of this. Your feedback is making the software better and helping potential future users. Your willingness to fight through a problem and do all the crazy debugging things I ask you to is commendable. I'm confident we can make Cypht work for your situation.
@chlarsen commented on GitHub (Sep 8, 2016):
Dear Jason,
Gosh, you are fast! I will check this out a bit later, as I am swamped
this morning.
I noted a strange thing: Yes you were right about the missing "Reply to"
address, but I did set it, even set a signature and saved it. But next
time I log in, it is gone. This has now happened a few times. Weird. I
store user prefs in PgSQL, so will check asap, how/if/when these details
are stored in the relevant tables.
I want to thank YOU, actually. It is a pleasure to work with you on this
:-).
More soonest,
Chris
On 08/09/16 06:05, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@chlarsen commented on GitHub (Sep 18, 2016):
Dear Jason,
I have - finally - managed to download th new version and updated the
instance. I noted the new default domain stanza in hm3.ini, too :-)
Now, when I call the application from within my browser, I get:
Warning: Invalid argument supplied for foreach() in
/home/www_php/mmc.lan/cypht/lib/modules_exec.php on line 248
No module assignments found
Probably something very, very silly I am missing... Any thoughts?
Thanks a lot and enjoy the rest of your Sunday!
Chris
On 08/09/16 06:05, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
@chlarsen,
That is pretty weird. Not sure whats going on. Maybe a problem with your ini file. Can you send me a copy of it? Feel free to redact anything you need to, my main concern is the modules settings at the bottom.
@chlarsen commented on GitHub (Sep 19, 2016):
Thanks a lot for your quick reply: Here you go - it's probably something
pretty stupid from my side:
------------------------------------------------%<-------------------------------------------------
;
; General settings
;
; Session Type
; ------------
; Sessions are how the server maintains your logged in state. Cypht supports
; standard PHP sessions, as well as it's own completely independent session
; system that uses memcached or a database for storage. In order to use
; database sessions the database must be correctly configured in the "DB
; Support" section and the hm_user_session table must be created. In
order to
; use Memcached sessions, the memcached server must be correctly configured
; in the "Memcached Support" section.
;
; Valid values for this setting:
;
; PHP Standard PHP session handlers
; DB Custom database based sessions
; MEM Custom Memcached based sessions
;
session_type=PHP
; Authentication Type
; -------------------
; This setting defines how Cypht will authenticate your username and
password
; when you login. If you want to use a database it must be correctly
configured
; in the "DB Support" section and the hm_user table must be created.
There are
; 3 PHP cli scripts to help manage database users in the scripts/
directory (
; create_account.php, delete_account.php, and update_password.php). If
you want
; to authenticate against an IMAP server, you must setup the imap_auth_*
setting
s
; below. If you want to authenticate against a POP3 server, you must
setup the
; pop3_auth_* settings below. If you want to authenticate against an
LDAP server
,
; you must setup the ldap_auth_* settings. Finally, if you want to let users
; pick from a list of popular mail services or try to auto-discover a mail
; system, set this to dynamic and make sure the dynamic_login module set is
; enabled in the "Module Sets" section of this file.
;
; Valid values for this setting:
;
; DB Authenticate against the database
; LDAP Authenticate against an LDAP server
; IMAP Authenticate using an IMAP server
; POP3 Authenticate using a POP3 server
; dynamic Let the user choose from a list, or try to auto discover the
mail
; services based on the E-mail domain
;
;auth_type=DB
auth_type=IMAP
; LDAP Authentication
; -------------------
; If auth_type is set to LDAP, configure the LDAP server to authenticate
against
; with the following settings, otherwise these are ignored.
;
; The hostname or IP address of the LDAP server to authenticate to
ldap_auth_server=localhost
; The port the LDAP server is listening on.
ldap_auth_port=389
; Enable TLS/SSL connections. Leave blank or set to false to disable. Set to
; true to enable TLS connections.
ldap_auth_tls=
; The "base dn" of the LDAP server
ldap_base_dn="example,dc=com"
; IMAP Authentication
; -------------------
; If auth_type is set to IMAP, configure the IMAP server to authenticate
against
; with the following settings, otherwise these are ignored.
;
; This is just a label used in the UI. It can be set to anything
;imap_auth_name=localhost
imap_auth_name=MMC IMAP Server
; The hostname or IP address of the IMAP server to authenticate to
;imap_auth_server=localhost
imap_auth_server=www_php.jail.vlan
; The port the IMAP server is listening on.
imap_auth_port=143
; Enable TLS/SSL connections. Leave blank or set to false to disable. Set to
; true to enable TLS connections. If you want to use IMAP STARTTLS, do NOT
; enable this. This is only for TLS enabled sockets (typically on port 993).
imap_auth_tls=
; POP3 Authentication
; -------------------
; if auth_type is set to POP3, configure the POP3 server to authenticate
against
; with the following settings, otherwise these are ignored.
;
; This is just a label used in the UI. It can be set to anything
pop3_auth_name=localhost
; The hostname or IP address of the POP3 server to authenticate to
pop3_auth_server=localhost
; The port the POP3 server is listening on.
pop3_auth_port=110
; Enable TLS/SSL connections. Leave blank or set to false to disable. Set to
; true to enable TLS connections.
pop3_auth_tls=
; Default SMTP Server
; -------------------
; You can set a default SMTP server for all Cypht users. Authentication
will be
; done with the users login credentials, so this only makes sense if you are
; using POP3 or IMAP for authentication. Leave these values blank to
disable a
; default SMTP server, otherwise fill in the required values below
;
; This is just a label used in the UI. It can be set to anything
;default_smtp_name=
default_smtp_name=MMC SMTP Server
; The hostname or IP address of the SMTP server
;default_smtp_server=
default_smtp_server=mail.jail.vlan
; The port the SMTP server is listening on.
;default_smtp_port=
default_smtp_port=25
; Enable TLS/SSL connections. Leave blank or set to false to disable. Set to
; true to enable TLS connections.
default_smtp_tls=
; If your SMTP service does not require authentication, you can disable it
; by setting the following to true.
default_smtp_no_auth=
; Settings Storage
; ----------------
; Cypht supports 2 methods for saving user settings between logins. File
based
; settings or in a database table. To store settings in a database, it
must be
; configured in the "DB Support" section and the hm_user_settings table
must be
; created. To store settings on the filesystem, the user_settings_dir
must be
; created and the webserver software must be able to write to it.
;
; Valid values for this setting:
;
; file Store user settings in the filesystem
; DB Store user settings in a database
;
;user_config_type=file
user_config_type=DB
; Settings Location
; -----------------
; If user_config_type is set to file, this must be set to an existing
directory
; that the webserver software can read and write to. If settings storage
is set
; to DB, this is ignored. It should not be inside the webserver document
root.
;user_settings_dir=/var/lib/hm3/users
user_settings_dir=/home/cypht.[my.domain]/users
; Attachment Location
; -------------------
; Cypht needs a temporary place to store attachments that are to be sent
with
; an outgoing message. This folder must exist and be writable by the
webserver
; software. It should not be inside the webserver document root.
;attachment_dir=/var/lib/hm3/attachments
attachment_dir=/home/cypht.[my.domain]/attachments
; Application Data Location
; -------------------------
; Some Cypht module sets have their own ini files that need to be
readable by
; the webserver software, but not writable, and definitely not inside the
; webserver document root.
;app_data_dir=/var/lib/hm3/app_data
attachment_dir=/home/cypht.[my.domain]/app_data
; Disable HTTPS Redirect
; ---------------------
; By default Cypht will not allow unencrypted HTTP requests, only HTTPS.
If you
; manage this differently, or know what you are doing, set the following
to true
; to disable the HTTPS redirect.
;
; Valid values for this setting
;
; true Disable HTTPS redirect
; false (or blank) Redirect HTTP requests to HTTPS
;
;disable_tls=false
disable_tls=true
; Admin Users
; ----------
; You can define a comma delimited list of admin users that Cypht will grant
; special rights to. Currently this only enables the "create account"
link in
; the account module set that provides a form to create a new account.
This is
; only used if the auth_type is set to DB. Leave this blank if you don't
want
; to define any admin users, or are using IMAP or POP3 authentication.
admin_users=
; Cookie Domain
; -------------
; By default Cypht uses the server name used in the request to determine
; the domain name to set the cookie for. Configurations that use a reverse
; proxy might need to define the domain name used for cookies. Leave this
; blank to let Cypht auotmatically determine the domain
cookie_domain=
; Outbound E-mail Domain
; ----------------------
; Default domain used for outbound E-mail addresses when using IMAP auth and
; users don't login with a full E-mail address. Users can customize this
with
; the profiles module will will override this default
;default_email_domain=
default_email_domain=[my.domain]
; Application Name
; ----------------
; This label is used in the UI to reference the program - you can change
it to
; "Your awesome webmail" to replace the Cypht name used in various places.
;app_name=Cypht
app_name=MMC Webmail
; Default Language
; ----------------
; Users can select from available interface languages on the site
settings page.
; This sets the default for a user who has not done so. Valid values are
2 chara
cter
; langauge codes that have matching language definitions in the
language/ folder
.
default_language=en
; JavaScript Compression
; ----------------------
; When the configuration script is run, all JavaScript files are
concatenated
; and optionally compressed. To compress the content, define a command
and it's
; options below. Cypht does not come with compresson software, so you must
; install and configure that separately. Leave blank or set to false to
disable
; external compression.
;
; Examples:
; js_compress='java -jar /usr/local/lib/yuicompressor-2.4.8.jar --type js'
; js_compress='uglifyjs -nc --unsafe -c -v'
;
js_compress=false
; CSS Compression
; ---------------
; When the configuration script is run, all CSS files are concatenated and
; optionally compressed. To compress the content, define a command and it's
; options below. Cypht does not come with compresson software, so you must
; install and configure that separately. Leave blank or set to false to
disable
; external compression.
;
; Example:
; css_compress='java -jar /usr/local/lib/yuicompressor-2.4.8.jar
--type css'
;
css_compress=false
; Memcached Support
; -----------------
; Cypht can use memcached to cache data. If this enabled, modules that
support
; memcache will attempt to use it to improve performance. Currently,
only the
; feeds module uses this option.
enable_memcached=true
;memcached_server=127.0.0.1
memcached_server=broker.jail.vlan
memcached_port=11211
; Browser Encryption Options
; --------------------------
; WARNING: These options are still experimental and cause problems.
Specifically
; character set issues could occur, and the history module set breaks
when the
; local storage option is enabled.
;
; Cypht can use the Forge JavaScript encryption library to encrypt AJAX
; responses and data stored in browser local storage Enabling either one of
; these options causes the forge javascript library to be included. This
adds
; about 70KB to the page size (when gzipped).
; Use AES encryption for ajax responses. Set to true to enable, leave
blank or
; set to false to disable.
encrypt_ajax_requests=
; Use AES encryption for data stored in the browser local storage. Set
to true
; to enable, or leave blank or set to false to disable.
encrypt_local_storage=
;
; DB Support
;
; Database Support
; ----------------
; Cypht can use a database for 3 different purposes: authentication,
sessions,
; and user settings. Each requires the following settings to be
configured and
; the correct table to be created. CREATE TABLE SQL statements for Mysql and
; Postgresql are below.
;
; Database host name or ip address
;db_host=127.0.0.1
db_host=pgsql.jail.vlan
; Name of the database with the required tables
;db_name=test
db_name=cypht
; User to connect to the database with
;db_user=test
db_user=cypht
; Password to connect to the database with
;db_pass=123456
db_pass=[cypht db password]
; Database type. can be any supported PDO driver ;
(http://php.net/manual/en/pdo
.drivers.php)
;db_driver=mysql
db_driver=pgsql
; DB Sessions
; -----------
; If your session_type is set to DB the following table must exist in the DB
; defined above, and the db user must have read-write access to it:
;
; Postgresql:
; CREATE TABLE hm_user_session (hm_id varchar(250) primary key not
null, data
text, date timestamp);
;
; Mysql or sqlite:
; CREATE TABLE hm_user_session (hm_id varchar(250), data longblob,
date timest
amp, primary key (hm_id));
; DB Authentication
; -----------------
; If your auth_type is set to DB, the following table must exist in the DB
; defined above, and the db user must have read-write access to it:
;
; Postgresql:
; CREATE TABLE hm_user (username varchar(255) primary key not null,
hash varch
ar(255));
;
; Mysql or sqlite:
; CREATE TABLE hm_user (username varchar(250), hash varchar(250),
primary key
(username));
; DB Settings
; -----------
; If your user_config_type is set to DB, the following table must exist
in the
; DB defined above, and the db user must have read-write access to it:
;
; Postgresql:
; CREATE TABLE hm_user_settings (username varchar(250) primary key not
null, s
ettings text);
;
; Mysql or sqlite:
; CREATE TABLE hm_user_settings(username varchar(250), settings
longblob, prim
ary key (username));
;
; Modules
;
; Module Sets
; -----------
; Cypht uses module sets to separate functionality in the program.
Module sets
; can be enabled and disabled independently by commenting out or
uncommenting
; the assignments below. Add a new assignment to enable your own module
sets.
; Core
; ----
; Handles page layout, login/logout, and the default settings pages.
This set
; is required.
modules[]=core
; Contacts
; -------
; Contact support. This module requires that at least one "backend" contacts
; module be enabled (ldap_contacts, gmail_contacts, or local_contacts). You
; can enable all the backends you want to support.
modules[]=contacts
; Local contact support. Simple, locally stored contacts backend
;modules[]=local_contacts
; LDAP contact support. Use an LDAP server to store contacts. The ldap.ini
; file must be configured for your setup
;modules[]=ldap_contacts
modules[]=ldap_contacts
; Gmail contact support. Read-only support for Gmail contacts. Only
available
; if you have a Gmail account enabled that uses Oauth2 authentication
; modules[]=gmail_contacts
modules[]=gmail_contacts
; Feeds
; -----
; RSS/ATOM feed support
;modules[]=feeds
; POP3
; ----
; POP3 E-mail account support
;modules[]=pop3
; IMAP
; ----
; IMAP E-mail account support
modules[]=imap
; SMTP
; ----
; Send outbound E-mail using SMTP servers
modules[]=smtp
; Account
; ------
; UI features for admins to create accounts, and for users to update
passwords
; (when using the built-in DB authentication)
;modules[]=account
; Idle timer
; ---------
; Controls idle time and automatic logout
modules[]=idle_timer
; Calendar
; -------
; Basic calendar
;modules[]=calendar
; Themes
; ------
; Change the UI using CSS
;modules[]=themes
; NUX
; ---
; Friendly new user experience. Quickly add common E-mail services, and view
; development updates
modules[]=nux
; Developer
; ---------
; For development, provides resources and installation details. Only
available
; in "debug mode"
;modules[]=developer
; Github
; ------
; Github repository tracking
;modules[]=github
; WordPress
; ---------
; WordPress.com notifications and freshly pressed lists
;modules[]=wordpress
; History
; -------
; Simple list of messages read since login
modules[]=history
; Saved searches
; --------------
; Save and re-run searches easily
modules[]=saved_searches
; NASA
; ----
; Access the NASA APOD API content
;modules[]=nasa
; Profiles
; --------
; Profiles to set reply-to, name, and signature to associated E-mail
accounts
modules[]=profiles
; Inline message
; --------------
; View messages inline in a reading pane instead of on a new page
modules[]=inline_message
; IMAP folders
; -----------
; Support for adding/renaming/deleting folders in IMAP accounts
modules[]=imap_folders
; Site
; ----
; Site specific overrides. Used to control other module sets without hacking
; the code.
; modules[]=site
; Dynamic login
; -------------
; Allows user to authenticate against a list of popular mail services, or to
; auto-discover the services for the specified E-mail address. The auth_type
; setting must be set to "dynamic", otherwise this module set does not do
; anything
; modules[]=dynamic_login
; API login
; --------
; Allows an API based login that returns a JSON response containing the
session
; and hm_id values needed to create a login session. You will need to
set the
; api_login_key value to something unique and include that in the POST
request.
; modules[]=api_login
; api_login_key=
; Recover settings
; ----------------
; When using IMAP or POP3 authentication, if a user's password is
changed, we
; can't decrypt the existing user settings. This module detects that
situation
; and provides a page where a user can enter their old and new passwords to
; recover their previous settings.
; modules[]= recover_settings
; Hello World
; -----------
; Example module set with lots of comments
; modules[]=hello_world
------------------------------------------------%<-------------------------------------------------
On 19/09/16 17:44, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
I can't explain it! The code in question is reading the list of enabled module from the hm3.rc file - so something is either wrong with the file itself, or maybe it's a permission problem, or ... something I have not thought of yet :). Can you try re-running the config_gen.php script and see if that helps?
@chlarsen commented on GitHub (Sep 19, 2016):
Dear Jason,
I re-ran the config_gen.php scriot, and it did help, indeed. I must have
messed up earlier. Weird!
I have already tested the effects of the default domain settings: The
latter does appear in the profile with a complete "reply-to" address.
However, if I send myself a mail, and I reply to it, the new addressee
field is empty.
I guess this is still a carry-over of the fact that I am forced in the
given setting to use Psix-compatible user names... Is it possible that
the current algorithm just adds the default domain? What if the make
Cypht look up via LDAP to get the mail attribute from the uid, always on
the basis of the given default domain (because there might be two
identical uids on two different domains)? Maybe I have to move from IMAP
authentication to LDAP?
What do you think?
Chris
On 19/09/16 20:29, Jason Munro wrote:
@jasonmunro commented on GitHub (Sep 19, 2016):
hmm... I thought I had that bit fixed. Can you make sure setup both a reply-to and E-mail address in your profile, and save it, then try resending to see if that helps?
@chlarsen commented on GitHub (Sep 19, 2016):
To be honest, I want to avoid exactly that, because manually setting up
email addresses that are already existing in a Directory is just too
much admin work. If I set them manually, they work - nad have done so
even before.
IMAP authentication may be too dumb to extract the email from the
username. I will try LDAP authentucation, as this gives us more handles
to play aorund with other attributes - derived from the Directory.
What do you think?
Chris
On 19/09/16 21:56, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
I understand you don't want users to manually set these up, I just want to see if doing so fixes the problem since I can't seem to reproduce the issue :)
@chlarsen commented on GitHub (Sep 19, 2016):
I did test the manual profiles creation - this works, and has even
worked before. So, if I add my email address manually, plus my reply-to
address, it works.
Am I correct to assume that the usernames in your setting includes the
domain?
On 19/09/16 22:03, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
ok, thanks for the confirmation! I use DB auth, so my username does not have a domain - but I also use profiles per account since I have 6 or so that I use Cypht to manage. Looking at the code I'm having a hard time explaining how the default domain is failing. Before sending we check both the reply-to and from address, and if they aren't E-mail addresses, we append the default domain to them. On reply, we should be picking these up to populate the To: field.
@chlarsen commented on GitHub (Sep 19, 2016):
Just tested using LDAP as authentication. Same issue: I sent a mail to
myself, and relying to it gives an empty addressee field. The good thing
with LDAP may be that we can extract the full mail address à la uid -->
mail attribute,.. although a simple add on default domain would do in my
case.
Chris
On 19/09/16 22:10, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
Could you show me the full set of headers on a message that results in an empty To: field when replying? I know you did this before, just want to double check again. Thanks!
@chlarsen commented on GitHub (Sep 19, 2016):
Here you go:
Test to Self
Date Mon, 19 Sep 2016 19:26:48 +0000
From christoph.larsen@mmc.lan
To christoph.larsen@mmc.lan
Tags Seen
Return-Path christoph.larsen@mmc.lan
Delivered-To christoph.larsen@mmc.lan
Received from unknown (HELO www_php.jail.vlan)
(christoph.larsen@[127.0.1.106])(envelope-sender
christoph.larsen@mmc.lan)by mmc.lan (qmail-ldap-1.03) with AES128-SHA
encrypted SMTPfor christoph.larsen@mmc.lan; 19 Sep 2016 22:26:48 +0300
MIME-Version 1.0
Reply-To @mmc.lan
Message-Id 8b6c0925aa04b37de2a3dc280d4de5c3@www_php.jail.vlan
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding quoted-printable
On 19/09/16 22:24, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@chlarsen commented on GitHub (Sep 19, 2016):
I did see the correct headers - here is the screenshot of the reply mask...
On 19/09/16 22:24, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
I see the problem :) The reply-to is bad, and that is the first one we select from the headers when we reply. Should have a fix shortly!
@chlarsen commented on GitHub (Sep 19, 2016):
:-) Thanks a lot!
May I sneak in an idea? For simple users without much (read: any!) IT
skills, it would be great, if they could land straight at their inbox,
without much ado and clicks. Is there any way to configure Cypht that way?
Not urgent, but a thought...
Thanks a million!
Chris
On 19/09/16 22:31, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
SMTP issue fixed (I hope) here:
github.com/jasonmunro/cypht@23ec8412d1I'm not sure how you are updating your local install - it might make sense to use git for that if you aren't. With git you can just do a "git pull" to get the latest changes without having to redownload a zip file.
Also, you probably need to change your auth back to IMAP since that is what automatically adds your IMAP E-mail account after you login. With LDAP auth you won't have any E-mail sources by default.
I considered a redirect-after-login option since I normally navigate to the combined unread view after login. Let me think about how I want to implement that and I will let you know (I will create a new issue for that once I come up with a plan).
@chlarsen commented on GitHub (Sep 19, 2016):
Thank you so much, let me try.!
Yes, or combined unread - the current landing page is looks always like
the attached screenshot a bit confusing...
Chris
On 19/09/16 22:42, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@chlarsen commented on GitHub (Sep 19, 2016):
Beau-ti-ful! Works now like a charm! Thanks a lot!!!
On 19/09/16 22:42, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 19, 2016):
Just pushed a simple hm3.ini setting called "redirect_after_login". From the sample ini:
; Redirect After Login
; --------------------
; You can login directly to any page in Cypht by going to the correct url before
; logging in, but that is not very user friendly. To redirect users to a url
; after login add the url arguments below (everything in the url after the last
; slash). You must use double quotes around the value otherwise it will cause
; an ini parsing error. To redirect users after login to the combined unread
; view you would use:
;
; redirect_after_login="?page=message_list&list_path=unread"
If you navigate to your inbox, then copy the url arguments to the ini file, that should work as well.
@jasonmunro commented on GitHub (Sep 19, 2016):
actually, a better way to describe that is "everything after and including the question mark"
@chlarsen commented on GitHub (Sep 19, 2016):
That sounds purrrrfect. I wil ltry tomorrow, as it is a bit late - great
stuff. Thank you so much, Jason!
Good night from here!
Chris
On 19/09/16 23:08, Jason Munro wrote:
Dr Christoph H. Larsen
synaLinQ
296/33 Lương Định Của, Ngọc Hội 2, Vĩnh Ngọc
Nha Trang, Khánh Hòa, Việt Nam
Mobile: +84-98-9607357 (Vietnam)
+254-776-588224, +254-701-279511 (Kenya)
+256-778-121305 (Uganda)
+49-176-96456254 (Germany)
Fax: +49-231-292734790
E-mail: christoph.larsen@synalinq.com
Skype: christoph.larsen
@jasonmunro commented on GitHub (Sep 22, 2016):
@chlarsen,
Just a heads up that there are some nice improvements and fixes committed in the last few days. Specifically some fixes around the unread indicators in the folder list and a new filter when browsing an IMAP folder so you can just view read/unread/flagged/etc.
@jasonmunro commented on GitHub (Oct 10, 2016):
This issue has gone pretty off topic, so I'm going to close it just to keep things tidy. As always, feel free to create new issues as needed!