Re: [SM-USERS] per user SMTP credentials

2012-12-03 Thread Paul Lesniewski
On Sun, Dec 2, 2012 at 4:32 AM, Hendrik Haddorp  wrote:
> Hi,
> using the SquirrelMail configuration script I can set SMTP credentials
> (smtp_sitewide_user / smtp_sitewide_pass). But how do I set those per
> user? I assumed one could specify that in the user preferences but the
> web interface doesn't seem to support that nor could I find anything
> about that in the docs.

You can configure it to use the same credentials that the user logged
in with.  If you need to set up arbitrary SMTP (or IMAP) server logins
on a per-user basis, this is only possible currently using a
proprietary plugin provided by myself.

Cheers,

Paul

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] Looking for a new version with AJAX etc.

2012-12-03 Thread Paul Lesniewski
On Wed, Nov 28, 2012 at 10:00 AM, jerry  wrote:
> OK, I just installed Roundcube.  I must say, it's a pleasing interface.
> You are
> able to use shift-click and ctl-click on the message list to choose
> multiple messages for
> deletion - unlike SM where you have to individually click on each
> message.

See the Select Range plugin.

> As far as adapting SM to AJAX - doesn't sound too probable to me.  AJAX
> is a totally different way of doing business.  I am starting to use it
> in my business software ( a set of LAMP applications ) and I can say
> that it's hard to poke at the edges with AJAX and just do a little here
> and there.  One of the main strengths of SM is the richness of all the
> plugins - and I can't but imagine that converting to AJAX would break
> all or most of them.

Fredrik was referring to version 1.5.2.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] per user SMTP credentials

2012-12-03 Thread Nikolaos Milas
On 3/12/2012 9:56 πμ, Paul Lesniewski wrote:

> You can configure it to use the same credentials that the user logged
> in with.

I have tried to do so, by using:

$smtpServerAddress = 'localhost';
$smtpPort = 587;
$smtp_auth_mech = 'plain';
$smtp_sitewide_user = '';
$smtp_sitewide_pass = '';
$sendmail_path = '/usr/sbin/sendmail';
$sendmail_args = '-i -t';
$pop_before_smtp = false;
$pop_before_smtp_host = '';

but I see no indication that SM is using SMTP Auth when sending an 
email. Here is an example from a message sent (Postfix log) [A message 
from ldapu...@example.com to n...@example.net, with bcc to 
ldapu...@example.com]:

Dec 3 12:09:30 mail squirrelmail: Successful webmail login: by ldapuser 
(example.com) at 195.251.xxx.xxx on 12/03/2012 12:09:30:
Dec 3 12:09:53 mail postfix/pickup[20153]: CA00C6D6770: uid=48 
from=
Dec 3 12:09:53 mail postfix/cleanup[9685]: CA00C6D6770: 
message-id=
Dec 3 12:09:53 mail opendkim[2243]: CA00C6D6770: DKIM-Signature header 
added (s=default, d=example.com)
Dec 3 12:09:53 mail postfix/qmgr[2506]: CA00C6D6770: 
from=, size=838, nrcpt=2 (queue active)
Dec 3 12:09:54 mail postfix/pipe[17222]: CA00C6D6770: 
to=, relay=dovecot, delay=0.45, 
delays=0.25/0.005/0/0.2, dsn=2.0.0, status=sent (delivered via dovecot 
service)
Dec 3 12:09:54 mail squirrelmail: Message sent via webmail: by ldapuser 
(example.com) at 195.251.xxx.xxx on 12/03/2012 12:09:54: Message-ID: 
c56a08b660d30ad3b9ac64b5a8c0ed4c.squir...@mail.example.com
Dec 3 12:09:56 mail postfix/smtp[22535]: CA00C6D6770: 
to=, relay=example.net[184.154.xxx.xxx]:25, delay=3.2, 
delays=0.25/0.018/1.8/1.2, dsn=2.0.0, status=sent (250 OK 
id=1TfSyK-003yhK-HF)
Dec 3 12:09:56 mail postfix/qmgr[2506]: CA00C6D6770: removed
Dec 3 12:09:59 mail squirrelmail: Webmail logout: by ldapuser 
(example.com) at 195.251.xxx.xxx on 12/03/2012 12:09:59:

Should we change something more to make sure SM is sending each mail 
using SMTP Auth?

Regards,
Nick


--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] Looking for a new version with AJAX etc.

2012-12-03 Thread Nikolaos Milas
On 29/11/2012 7:10 μμ, Wm Mussatto wrote:

> I concur that there needs to be a non-AJAX version.

I won't insist on the use of AJAX, BUT a well-designed, pleasent 
interface is definitely needed. The bundled themes are simply over-aged 
and inadequate - below user expectations. As others have indicated, the 
UI may become a primary reason for forcing admins to migrate to other 
solutions, which would indeed be a pitty.

We are in the era of HTML 5 (incl. CSS), and someone should probably 
devote work on leveraging these technologies to create a GUI which is 
really rich, extensible, functional, productive and pleasing.

I hope some UI/web-technologies professional(s) can voluntarily provide 
this work, or the SM project could attempt to launch a dedicated 
UI-revision project which will have very well-defined budget, targets, 
time-frame etc. and promote/request public funding (I have proposed the 
same to LibreOffice whose GUI also remains terribly neglected...)

A first phase would be to create proposals of new UI designs and present 
to people for commenting/voting.

The essence is mainly to realize the importance of the UI which will 
undoubtedly lead to providing the resources needed.

My 2c.

Best regards,
Nick

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] per user SMTP credentials

2012-12-03 Thread Tomas Kuliavas
Nikolaos Milas wrote
> On 3/12/2012 9:56 πμ, Paul Lesniewski wrote:
> 
>> You can configure it to use the same credentials that the user logged
>> in with.
> 
> I have tried to do so, by using:
> 
> 
> but I see no indication that SM is using SMTP Auth when sending an 
> email. Here is an example from a message sent (Postfix log) [A message 
> from 

> ldapuser@

>  to 

> nick@

> , with bcc to 

> ldapuser@

> ]:

Could you show output of SquirrelMail conf.pl in "2. server settings"
section. Your log snippet is either not full or you are not using SMTP for
email delivery. I suspect that UID=48 is your webserver user id and you are
using sendmail exec delivery instead of SMTP. 

Please don't post squirrelmail logger records to avoid log spam.
Authentication is logged by postfix and not by SquirrelMail.

You should be looking for 

Dec  3 19:51:18 example postfix/smtpd[17104]: 1B39E11806F:
client=example[127.0.0.1], sasl_method=PLAIN, sasl_username=u...@example.org

in your mail logs.
-- 
Tomas



--
View this message in context: 
http://squirrelmail.5843.n7.nabble.com/per-user-SMTP-credentials-tp25156p25162.html
Sent from the squirrelmail-users mailing list archive at Nabble.com.

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] per user SMTP credentials

2012-12-03 Thread Paul Lesniewski
On Mon, Dec 3, 2012 at 2:22 AM, Nikolaos Milas  wrote:
> On 3/12/2012 9:56 πμ, Paul Lesniewski wrote:
>
>> You can configure it to use the same credentials that the user logged
>> in with.
>
> I have tried to do so, by using:
>
> $smtpServerAddress = 'localhost';
> $smtpPort = 587;
> $smtp_auth_mech = 'plain';
> $smtp_sitewide_user = '';
> $smtp_sitewide_pass = '';
> $sendmail_path = '/usr/sbin/sendmail';
> $sendmail_args = '-i -t';
> $pop_before_smtp = false;
> $pop_before_smtp_host = '';
>
> Dec 3 12:09:53 mail postfix/pickup[20153]: CA00C6D6770: uid=48
> from=

This indicates you have $useSendmail set to true.  If you want to send
using SMTP, you need to turn that off.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Re: [SM-USERS] per user SMTP credentials

2012-12-03 Thread Hendrik Haddorp
Hi,
I found an alternative solution. I did setup postfix on the server as 
described here: 
http://www.cyberciti.biz/faq/postfix-multiple-isp-accounts-smarthost-smtp-client/
This allows to configure a SMTP server and credentials per user. So far 
I have only tested it with one user though. It works nice except two 
things: It's a bit complicated to update passwords and a user should be 
able to send a mail as a different user if he changes the sender mail 
address to that of another user. I assume that is fixable with postfix 
as well. If so I'm quite happy with that setup.
What plugin is that that allows to configure servers per user? I did not 
find anything like that on the SquirrelMail website.

regards,
Hendrik

--
Keep yourself connected to Go Parallel: 
BUILD Helping you discover the best ways to construct your parallel projects.
http://goparallel.sourceforge.net
-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users