On 03/01/2013 01:00 PM, Patrick Ben Koetter wrote: > * Olivier Bitsch <[email protected]>: >> I'm not an expert of postfix, I suggest to search on the web, but normally >> changing mydestination to example.net permit to postfix to allow all mail >> from [email protected] (when username exists on the system). > The Postfix mydestination parameter defines which (sub)domains Postfix will > consider 'local'. For these domains Postfix will try to deliver messages via > local_transport to system users - that is if you use it with the default > settings. > > p@rick > >
The postfix man page says about the variable $mydomain = The internet domain name of this mail system. I've set this, but it has obviously no influence on the email address I see when I login at the sogo web interface, do I also have to change something in Sogo? With this setting I had no trouble with postfix and my last Sogo installation, actually never. > >> >> 2013/3/1 Dirk Werner <[email protected]> >> >>> >>> On 03/01/2013 12:21 PM, Olivier Bitsch wrote: >>> >>> Yes, the postfix conf provided is very minimalist, you have to >>> adapt mydestination parameters or use an other way to identify the valid >>> mails. >>> >>> >>> Changing the parameters mydestination and myorigin in >>> /etc/postfix/main.cfto /etc/mailname does not change the email address >>> ending, it's still .net. >>> Any further idea? >>> >>> Dirk >>> >>> >>> >>> 2013/3/1 Dirk Werner <[email protected]> >>> >>>> Please forget this post, it was send without me giving it free .... I >>>> can login now at the sogo web interface! But I have to adopt postfix a >>>> little bit cause my maildomain ist not correctly used! >>>> >>>> On 03/01/2013 12:09 PM, Dirk Werner wrote: >>>> >>>> >>>> >>>> On 03/01/2013 11:54 AM, Olivier Bitsch wrote: >>>> >>>> You cannot change user password with passwd command, user samba-tools >>>> user setpassword "username" instead. The nologin option is a security >>>> recommandation and can be changed in smb.conf. >>>> >>>> >>>> Ok, setting the pwd with samba-tool second time let's me login >>>> successfully! >>>> >>>> One more issue: The mail domain is not the correct one, I have announced >>>> airwerk.com while setting up postfix, this is stored in /etc/mailname. >>>> Now in the web interface I have mail endings like airwerk.net . My bind >>>> >>>> olivier. >>>> >>>> >>>> 2013/3/1 Dirk Werner <[email protected]> >>>> >>>>> >>>>> On 03/01/2013 11:10 AM, Olivier Bitsch wrote: >>>>> >>>>> Try to add obey pam restrictions = yes in [global] of your Samba4 >>>>> configuration and restart. If working, I will update the tutorial. Also, >>>>> simply with su - %username, the home directory should be created >>>>> automatically. >>>>> >>>>> I've done su - username, but I have no chance to set the users >>>>> password, if I do passwd username, I get: >>>>> >>>>> passwd: Authentication token manipulation error >>>>> passwd: password unchanged >>>>> >>>>> The user does not exist in /etc/passwd . Doing getent passwd shows the >>>>> following line >>>>> >>>>> AIRWERKMAIL\dwerner:*:3000020:100:dwerner:/home/dwerner:/usr/sbin/nologin >>>>> >>>>> How can I change the end /usr/sbin/nologin ? >>>>> >>>>> >>>>> >>>>> 2013/3/1 Dirk Werner <[email protected]> >>>>> >>>>>> >>>>>> On 03/01/2013 10:51 AM, Olivier Bitsch wrote: >>>>>> >>>>>> Nothing wrong, for the moment (as explained in the tutorial), you have >>>>>> to create the account with samba-tools first in order to have the right >>>>>> RDN >>>>>> for the user. About your SOGo config file, it's seems you miss the >>>>>> SOGoUserSources in the tutorial. >>>>>> >>>>>> >>>>>> Oh, the SOGoUserSources entry got somehow not into the file, I've >>>>>> added that now and I can login, but get as result page >>>>>> >>>>>> object not found: SOGo => dwerner >>>>>> >>>>>> I realise just now that there are no dirs below /home for the users I >>>>>> have created with samba-tool. Do I have to establish users home >>>>>> directories >>>>>> by hand? >>>>>> >>>>>> >>>>>> >>>>>> Olivier. >>>>>> >>>>>> >>>>>> 2013/3/1 Dirk Werner <[email protected]> >>>>>> >>>>>>> I have this line in sogo.log when trying to login at the web >>>>>>> interface: >>>>>>> >>>>>>> Feb 28 21:17:26 sogod [1032]: [ERROR] >>>>>>> <0x0x7fe4621964f0[SOGoUserManager]> No authentication sources defined - >>>>>>> nobody will be able to login. Check your defaults. >>>>>>> >>>>>>> This is my /var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults >>>>>>> >>>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>>> <!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" >>>>>>> "http://www.gnustep.org/plist-0_9.xml"<http://www.gnustep.org/plist-0_9.xml> >>>>>>> <plist version="0.9"> >>>>>>> <dict> >>>>>>> <key>NSGlobalDomain</key> >>>>>>> <dict> >>>>>>> </dict> >>>>>>> <key>sogod</key> >>>>>>> <dict> >>>>>>> <key>OCSEMailAlarmsFolderURL</key> >>>>>>> <string>postgresql://sogo:mypwd@localhost >>>>>>> :5432/sogo/sogo_alarm_folderdefaults</string> >>>>>>> <key>OCSFolderInfoURL</key> >>>>>>> <string>postgresql://sogo:mypwd@localhost >>>>>>> :5432/sogo/sogo_folder_info</string> >>>>>>> <key>OCSSessionsFolderURL</key> >>>>>>> <string>postgresql://sogo:mypwd@localhost >>>>>>> :5432/sogo/sogo_sessions_folder</string> >>>>>>> <key>SOGoMailAuxiliaryUserAccountsEnabled</key> >>>>>>> <string>YES</string> >>>>>>> <key>SOGoProfileURL</key> >>>>>>> <string>postgresql://sogo:mypwd@localhost >>>>>>> :5432/sogo/sogo_user_profile</string> >>>>>>> <key>SOGoTimeZone</key> >>>>>>> <string>Europe/Berlin</string> >>>>>>> <key>WOLogFile</key> >>>>>>> <string>-</string> >>>>>>> <key>WONoDetach</key> >>>>>>> <string>YES</string> >>>>>>> <key>WOPidFile</key> >>>>>>> <string>/tmp/sogo.pid</string> >>>>>>> </dict> >>>>>>> </dict> >>>>>>> </plist> >>>>>>> >>>>>>> Anything wrong in there? The file is quite short, compared to the ones >>>>>>> I had with other installations before. >>>>>>> >>>>>>> >>>>>>> On 03/01/2013 10:12 AM, Olivier Bitsch wrote: >>>>>>> >>>>>>> About installation, please choose Samba4 and not Internal as you >>>>>>> probably want to link user database with your domain controller. >>>>>>> >>>>>>> Try to type dpkg-reconfigure igestis to change the options. >>>>>>> >>>>>>> Best regards. >>>>>>> >>>>>>> Olivier. >>>>>>> >>>>>>> >>>>>>> 2013/3/1 Olivier Bitsch <[email protected]> >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Thanks for your feedback, I've opened the case here >>>>>>>> http://www.igestis.org/redmine/issues/232 and I will try to give you >>>>>>>> an update today. >>>>>>>> >>>>>>>> Best regards. >>>>>>>> >>>>>>>> Olivier. >>>>>>>> >>>>>>>> >>>>>>>> 2013/3/1 Dirk Werner <[email protected]> >>>>>>>> >>>>>>>>> On 02/28/2013 10:07 PM, Olivier Bitsch wrote: >>>>>>>>>> Yes iGestis needs Mysql for it's own database, so dont worry, you >>>>>>>>> can >>>>>>>>>> have Mysql in same time of postgresql. Note that igestis is >>>>>>>>> optional >>>>>>>>>> but will offer a very easy way to manage employees . >>>>>>>>>> >>>>>>>>> Hi, >>>>>>>>> I've installed igestis and configured it for 'internal' access. As I >>>>>>>>> understood it, internal means the mysql DB?! But I'm getting this >>>>>>>>> page >>>>>>>>> when accessing http://192.168.1.2/igestis in a Browser: >>>>>>>>> >>>>>>>>> Oops, iGestis encountered a fatal error. >>>>>>>>> In order to fix the issue : >>>>>>>>> Change the variable DEBUG_MODE to true in the file >>>>>>>>> /usr/share/igestis/index.php >>>>>>>>> Change the variable display_errors to On in the file apache >>>>>>>>> configuration (usually in /etc/apache2/conf) >>>>>>>>> Check the logs for Apache or iGestis (usually in >>>>>>>>> /var/log/igestis/igestis.log and /var/log/apache2/error.log) >>>>>>>>> array(4) { ["type"]=> int(1) ["message"]=> string(57) "Call to a >>>>>>>>> member >>>>>>>>> function module_access() on a non-object" ["file"]=> string(48) >>>>>>>>> "/usr/share/igestis/includes/common_librairie.php" ["line"]=> >>>>>>>>> int(838) } >>>>>>>>> >>>>>>>>> I have changed the mentioned parameters. In >>>>>>>>> /var/log/igestis/igestis.log >>>>>>>>> there are these lines >>>>>>>>> >>>>>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined index: Page - Erreur >>>>>>>>> fatale sur la ligne 820 dans le fichier >>>>>>>>> /usr/share/igestis/includes/common_librairie.php >>>>>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined offset: 1 - Erreur >>>>>>>>> fatale >>>>>>>>> sur la ligne 826 dans le fichier >>>>>>>>> /usr/share/igestis/includes/common_librairie.php >>>>>>>>> 2013-03-01 09:57:36 - Unknown - [2] >>>>>>>>> include(/usr/share//igestis/modules//config.php): failed to open >>>>>>>>> stream: >>>>>>>>> No such file or directory - Erreur fatale sur la ligne 831 dans le >>>>>>>>> fichier /usr/share/igestis/includes/common_librairie.php >>>>>>>>> 2013-03-01 09:57:36 - Unknown - [2] include(): Failed opening >>>>>>>>> '/usr/share//igestis/modules//config.php' for inclusion >>>>>>>>> (include_path='.:/usr/share/php:/usr/share/pear') - Erreur fatale >>>>>>>>> sur la >>>>>>>>> ligne 831 dans le fichier >>>>>>>>> /usr/share/igestis/includes/common_librairie.php >>>>>>>>> 2013-03-01 09:57:36 - Unknown - [8] Undefined variable: - Erreur >>>>>>>>> fatale >>>>>>>>> sur la ligne 836 dans le fichier >>>>>>>>> /usr/share/igestis/includes/common_librairie.php >>>>>>>>> >>>>>>>>> Any idea? >>>>>>>>> Dirk >>>>>>>>> -- >>>>>>>>> [email protected] >>>>>>>>> https://inverse.ca/sogo/lists >>>>>>>>> >>>>>>>> >> -- >> [email protected] >> https://inverse.ca/sogo/lists -- [email protected] https://inverse.ca/sogo/lists
