[SM-USERS] cannot send mail - Server replied: 0 Can't open SMTP stream
this is my first post here. so please go easy on my nettiqette. I've set up a mail server on ubuntu 7.04 according to instructions at http://johnny.chadda.se/2007/04/15/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/ I am able to login via squirrelmail, /var/log/syslog shows: Oct 8 13:26:23 blackbox dovecot: imap-login: Login: user=<[EMAIL PROTECTED]>, method=PLAIN, rip=59.95.4.220, lip=192.168.1.254, TLS Oct 8 13:26:23 blackbox dovecot: IMAP([EMAIL PROTECTED]): Disconnected: Logged out On sending mail - squirrel mail complains: ERROR: Server replied: 0 Can't open SMTP stream. /var/log/syslog shows: Oct 8 13:30:35 blackbox postfix/smtpd[10538]: connect from unknown[59.95.4.220] Oct 8 13:30:35 blackbox postfix/smtpd[10538]: lost connection after UNKNOWN from unknown[59.95.4.220] Oct 8 13:30:35 blackbox postfix/smtpd[10538]: disconnect from unknown[59.95.4.220] I am able to send and receive using evolution with out any problem. using ubuntu7.04, postfix 2.3.8-2, dovecot 1.0.rc17-1ubuntu2.1, squirrelmail 2:1.4.9a-1ubuntu0.1 thanks in advance A Moore CCNP.,ECNE. CITP All content in this message is copyright of its respective authors. If you are not the intended recipient or have received this message in error please delete it and any/all attachments immediately. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] cannot send mail - Server replied: 0 Can't open SMTP stream
> this is my first post here. so please go easy on my nettiqette. > > I've set up a mail server on ubuntu 7.04 according to instructions at > http://johnny.chadda.se/2007/04/15/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/ > > I am able to login via squirrelmail, /var/log/syslog shows: > Oct 8 13:26:23 blackbox dovecot: imap-login: Login: > user=<[EMAIL PROTECTED]>, method=PLAIN, > rip=59.95.4.220, lip=192.168.1.254, TLS > Oct 8 13:26:23 blackbox dovecot: > IMAP([EMAIL PROTECTED]): Disconnected: Logged out > > On sending mail - squirrel mail complains: ERROR: > Server replied: 0 Can't open SMTP stream. > /var/log/syslog shows: > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: connect from > unknown[59.95.4.220] > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: lost connection after > UNKNOWN from unknown[59.95.4.220] > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: disconnect from > unknown[59.95.4.220] > > I am able to send and receive using evolution with out any problem. > > using ubuntu7.04, postfix 2.3.8-2, dovecot 1.0.rc17-1ubuntu2.1, > squirrelmail 2:1.4.9a-1ubuntu0.1 > > > thanks in advance In those Postfix instructions "TLS" means StartTLS extension and not SMTP over SSL/TLS. SquirrelMail 1.4.x does not support SMTP STARTTLS extension. In SquirrelMail 1.4.x "Secure SMTP (TLS)" option is used to control SMTP over SSL/TLS. If you have enabled Secure SMTP and use 25 for SMTP server port in SquirrelMail configuration, please disable Secure SMTP or change port to smtps service port. See SquirrelMail documentation for more information about TLS (http://www.squirrelmail.org/docs/admin/admin-5.html#ss5.4). In Postfix SMTP over SSL is enabled by uncommenting smtps service and related options in master.cf. -- Tomas - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Bug Report
> I subscribe to the squirrelmail-users mailing list. > [ ] True - No need to CC me when replying > [/] False - Please CC me when replying > > This bug occurs when I ... > View my inbox > > The description of the bug: > Emails are not listed in date order Did you try sorting them by clicking the grey box to the right of the date header? > I can reproduce the bug by: > Opening my inbox > -- > > My browser information: > Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) > Gecko/20070914 Firefox/2.0.0.7 > > My web server information: > PHP Version 4.4.6 > PHP Extensions (List) > * 0 = xml > * 1 = tokenizer > * 2 = standard > * 3 = session > * 4 = posix > * 5 = overload > * 6 = mbstring > * 7 = gettext > * 8 = ctype > * 9 = zlib > * 10 = pcre > * 11 = openssl > * 12 = apache2handler > * 13 = Zend Optimizer > > SquirrelMail-specific information: > Version: 1.4.8 > Plugins (List) > * 0 = translate > * 1 = calendar > * 2 = abook_take > * 3 = bug_report > * 4 = sent_subfolders > * 5 = delete_move_next > * 6 = message_details > * 7 = listcommands > * 8 = squirrel_logger > * 9 = cookie_warning > * 10 = view_as_html > * 11 = unsafe_image_rules > * 12 = squirrelspell > * 13 = abook_import_export > > My IMAP server information: > Server type: dovecot > Server info: * OK [HIDDEN] ready. > Capabilities: IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND > UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS STARTTLS > AUTH=PLAIN - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] cannot send mail - Server replied: 0 Can't open SMTP stream
Thanks for the quick reply. I upgraded to squirrelmail 1.5.1 and enabled smtps service port in master.cf. That solved the problem. Ashley. Tomas Kuliavas <[EMAIL PROTECTED]> wrote: > this is my first post here. so please go easy on my nettiqette. > > I've set up a mail server on ubuntu 7.04 according to instructions at > http://johnny.chadda.se/2007/04/15/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/ > > I am able to login via squirrelmail, /var/log/syslog shows: > Oct 8 13:26:23 blackbox dovecot: imap-login: Login: > user=, method=PLAIN, > rip=59.95.4.220, lip=192.168.1.254, TLS > Oct 8 13:26:23 blackbox dovecot: > IMAP([EMAIL PROTECTED]): Disconnected: Logged out > > On sending mail - squirrel mail complains: ERROR: > Server replied: 0 Can't open SMTP stream. > /var/log/syslog shows: > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: connect from > unknown[59.95.4.220] > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: lost connection after > UNKNOWN from unknown[59.95.4.220] > Oct 8 13:30:35 blackbox postfix/smtpd[10538]: disconnect from > unknown[59.95.4.220] > > I am able to send and receive using evolution with out any problem. > > using ubuntu7.04, postfix 2.3.8-2, dovecot 1.0.rc17-1ubuntu2.1, > squirrelmail 2:1.4.9a-1ubuntu0.1 > > > thanks in advance In those Postfix instructions "TLS" means StartTLS extension and not SMTP over SSL/TLS. SquirrelMail 1.4.x does not support SMTP STARTTLS extension. In SquirrelMail 1.4.x "Secure SMTP (TLS)" option is used to control SMTP over SSL/TLS. If you have enabled Secure SMTP and use 25 for SMTP server port in SquirrelMail configuration, please disable Secure SMTP or change port to smtps service port. See SquirrelMail documentation for more information about TLS (http://www.squirrelmail.org/docs/admin/admin-5.html#ss5.4). In Postfix SMTP over SSL is enabled by uncommenting smtps service and related options in master.cf. -- Tomas - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users A Moore CCNP.,ECNE. CITP All content in this message is copyright of its respective authors. If you are not the intended recipient or have received this message in error please delete it and any/all attachments immediately. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] cannot send mail - Server replied: 0 Can't open SMTP stream
Ashley Moore wrote: > > Thanks for the quick reply. > > I upgraded to squirrelmail 1.5.1 and enabled smtps service port in > master.cf. That solved the problem. > If you upgrade to SquirrelMail 1.5.1 on Ubuntu 7.0.4, you will have new issues. You don't have to upgrade to 1.5.1 and enable smtps. Upgrade to 1.5.1 AND fix all outdated 1.5.1 version issues OR use smtps with SquirrelMail 1.4.x. If you have smtp server and web server on same host, you can enable relaying for local address. There is no point in using SSL/TLS on localhost. -- Tomas -- View this message in context: http://www.nabble.com/cannot-send-mail---Server-replied%3A-0-Can%27t-open-SMTP-stream-tf4586716.html#a13095485 Sent from the squirrelmail-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Spam Sent From WebMail
> Matt wrote: >> On 9/7/07, Chris Hoogendyk <[EMAIL PROTECTED]> wrote: >>> Matt wrote: > Do you have any proof of a virus logging in? Couldn't it just be > plain ol' keyboard logging and the the person who gets the logs > (not your intended > users) sends out the spam manually? It's technically possible to > write a program that logs in automatically, using any kind of mail > interface - not just web mail interfaces, as long as you have the > password, but without the password it's a harder nut to crack. The > key question is: how do the spammers get the password? If they get > it through a broken browser caching the user name and password, > fix the broken browser. > I haven't been able to figure out what the name of the virus is, yet... however... I doubt it is keyboard logging for the following reasons: 1 - The logins happen from IPs on our network (that is.. someone outside didn't capture the login info and then use it). 2 - When the user cleans their machine the spam stops going out, even if the password is kept the same. Alot of these users have reported they don't type their username/password into webmail, but rather use IE to save it. So the virus is getting the username and password out of the IE saved password area. >>> >>> If you can track the IP, and you can separate 1 and 2 above, that >>> would be helpful. If you are not a network specialist, get someone to >>> help you. Capture the traffic between the user machine and your web >>> server to confirm the activity. Then run diagnostics on the client >>> machine *before* cleaning it. Identify what the process is that is >>> originating the traffic, pin down the source, and submit it to >>> security forums, McAfee, etc. >>> >>> If this really is a virus, it seems it would be known. There are a >>> lot of security people out there who track this stuff. When the user >>> cleans their machine, I presume you mean running a virus scan? Don't >>> you get reports from that? Doesn't it tell you that it found something >>> and what it found? Then you can look that up on the virus and security >>> sites and get a detailed analysis of it. >>> >>> Also, I'm presuming since you can track the IP that you are in fact >>> looking at the logs on the server and seeing that the hits are against >>> the web pages. If you haven't confirmed this, and your squirrelmail >>> server is also your general mail server (which is typical), then it >>> is possible, and also typical of viruses, that they might simply be >>> shooting mail out and it is going through your regular mail server >>> (smtp) without any connection to squirrelmail. >>> >>> If you are not examining all the logs on the server, then you should >>> be. If you are not the sysadmin, then get the help of the sysadmin >>> and/or somone who is a security specialist. Comparing web logs, imap >>> logs, auth logs, mail logs, will give you a fuller picture of what is >>> going on. There is not a whole lot that people on the list can tell >>> you without real due diligence on your part. We can't (or shouldn't be >>> expected to) dig into your server as root and see what is really going >>> on. >>> >>> Once you've nailed it down, you have to take action. Clean up all the >>> computers on your network. Tell your users not to save their logins >>> on IE. Even tell them not to use IE ("Internet Exploder" if that helps >>> get the point across). Firefox is more reliable and secure. Configure >>> it to never save login or form information. >> >> All great advise... except these are users on a broadband and dial-up >> network. Being the normal luser... they clean their system with a virus >> scanner... say ok it's clean (And it is) but fail to remember or note >> what the scanner found.. so I have no idea what virus it is... what I do >> know is there was just a large worm that went around, and it >> corresponded with that outbreak. >> >> I will have to try a packet capture next time it happens. >> >> The purpose of my post here is not to have others did into my servers. >> The purpose was to find out if anyone else is seeing this. I find it >> hard to believe no one else is seeing it especially since I've seen >> other posts with the same question.. > > So, among all your users, there ought to be at least one who you can ask > to take notes and tell you what the virus scanner said. Is this still > going on? Pick a victim and ask them to take notes and let you know > exactly what happens. > > Also, can you tell us what logs you are looking at and what you have > found? (Asking you the same thing I am asking you to ask your users. ;-) > ) > > If there is doubt coming from others on the list, it is because they > want it nailed down. Saying, "I know this is a virus", doesn't nail it > down. So, do you have full access to the server? Are you the admin? Can > you look at all the log files? Then tell us what you s
Re: [SM-USERS] cannot send mail - Server replied: 0 Can't open SMTP stream
Thanks for the insight. I *will* take good (and experienced) advice. Yes, now that you've pointed out I will also enable relaying for local address as postfix/dovecot and apache do run on the same PC. I guess it'll save me some un-necessary CPU cycles. Thanks once again. Tomas Kuliavas <[EMAIL PROTECTED]> wrote: Ashley Moore wrote: > > Thanks for the quick reply. > > I upgraded to squirrelmail 1.5.1 and enabled smtps service port in > master.cf. That solved the problem. > If you upgrade to SquirrelMail 1.5.1 on Ubuntu 7.0.4, you will have new issues. You don't have to upgrade to 1.5.1 and enable smtps. Upgrade to 1.5.1 AND fix all outdated 1.5.1 version issues OR use smtps with SquirrelMail 1.4.x. If you have smtp server and web server on same host, you can enable relaying for local address. There is no point in using SSL/TLS on localhost. -- Tomas -- View this message in context: http://www.nabble.com/cannot-send-mail---Server-replied%3A-0-Can%27t-open-SMTP-stream-tf4586716.html#a13095485 Sent from the squirrelmail-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users A Moore CCNP.,ECNE. CITP All content in this message is copyright of its respective authors. If you are not the intended recipient or have received this message in error please delete it and any/all attachments immediately. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Spell checking says I'm not logged in?
Tomas Kuliavas wrote: > Tim Hogan wrote: > >> I have decided to give SquirrelMail a try and I have install v1.4.11 >> which seems to be working quite well, with the exception of spell >> checking. Whether I am going into "SpellChecker Options" or clicking on >> spell check after typing a message I get the following error; >> >> "You must be logged in to access this page." >> >> Here is what ends up in the PHP logs of the web server; >> >> [Sun Oct 07 10:18:25 2007] [error] [client 10.1.1.58] PHP Notice: Use >> of undefined constant PAGE_NAME - assumed 'PAGE_NAME' in >> /data/Hoganzoo.com/squirrelmail-1.4.11/functions/auth.php on line 57, >> referer: https://www.hoganzoo.com/webmail/src/options.php >> >> >> I have tried everything that I could think of with permissions and >> configuration and I just cannot figure this out. Any ideas? >> >> For reference, here is the output of the config test script; >> >> ... >> Base URL detected as: https://www.hoganzoo.com/webmail/webmail/src >> (location base set to https://www.hoganzoo.com/webmail) >> > > > Location base must contain only protocol, hostname and port information. You > can't put URL path there. > > Tomas, I caught that and I changed it to $config_location_base = 'https://www.hoganzoo.com'; however I am still getting the same error. Thanks for the idea but I am afraid that I am going to need a few more :) Regards, Tim - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Spell checking says I'm not logged in?
Tim Hogan wrote: > > > > Tomas Kuliavas wrote: >> Tim Hogan wrote: >> >>> I have decided to give SquirrelMail a try and I have install v1.4.11 >>> which seems to be working quite well, with the exception of spell >>> checking. Whether I am going into "SpellChecker Options" or clicking on >>> spell check after typing a message I get the following error; >>> >>> "You must be logged in to access this page." >>> >>> Here is what ends up in the PHP logs of the web server; >>> >>> [Sun Oct 07 10:18:25 2007] [error] [client 10.1.1.58] PHP Notice: Use >>> of undefined constant PAGE_NAME - assumed 'PAGE_NAME' in >>> /data/Hoganzoo.com/squirrelmail-1.4.11/functions/auth.php on line 57, >>> referer: https://www.hoganzoo.com/webmail/src/options.php >>> >>> >>> I have tried everything that I could think of with permissions and >>> configuration and I just cannot figure this out. Any ideas? >>> >>> For reference, here is the output of the config test script; >>> >>> ... >>> Base URL detected as: https://www.hoganzoo.com/webmail/webmail/src >>> (location base set to https://www.hoganzoo.com/webmail) >>> >> >> >> Location base must contain only protocol, hostname and port information. >> You >> can't put URL path there. >> >> > > Tomas, > > I caught that and I changed it to > > $config_location_base = 'https://www.hoganzoo.com'; > > however I am still getting the same error. Thanks for the idea but I am > afraid that I am going to need a few more :) > > Could you provide more information about your setup? 1. PHP session settings 2. PHP $_SERVER variables 3. Why are you overriding location base? SquirrelSpell plugin is bundled with SquirrelMail. Are you sure that you are using standard bundled squirrelspell plugin version? Can you reproduce same issue in standard SquirrelMail 1.4.11 setup with only squirrelspell plugin enabled? SquirrelSpell plugin uses standard SquirrelMail functions to validate user session. If plugin fails with "You must be logged", other plugins will also fail. Are you sure that session cookie path is set correctly in browser? Why session cookie has 'src/' url part in your setup? -- Tomas -- View this message in context: http://www.nabble.com/Spell-checking-says-I%27m-not-logged-in--tf4583791.html#a13104338 Sent from the squirrelmail-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] Maik Hastenpflug/BBDO-InterOne/DE is out of the office.
On Mon, October 1, 2007 16:02, Maik Hastenpflug wrote: > > I will be out of the office starting 30.09.2007 and will not return until > 08.10.2007. your autoresponder works well, just remember to disable it on maillist Precedence: list filter all mails that have this in headers should do this -- This message was sent using 100% recycled spam mails. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] High priority symbol doesn't appear in message list
On Wed, September 5, 2007 1:31 pm, Paul Lesniewski wrote: >> >> >> >> >> Hi all, >> >> >> >> >> >> >> >> >> >> The high priority symbol (!) not shown in my message list if >> I >> >> >> >> recieve a >> >> >> >> >> message with high priority set on. I use SM 1.4.10a on >> Mandriva >> >> >> Linux >> >> >> >> >> 2006 >> >> >> >> >> x86_64. Any pointer? >> >> >> >> > >> >> >> >> > Using 1.4.11svn (not too far removed from 1.4.10a), I see the >> >> "!" >> >> >> mark >> >> >> >> > clearly. You might look at the mail headers and if those are >> OK >> >> >> >> > (X-Priority, Priority or Importance header should be "1" or >> "2" >> >> or >> >> >> >> > "high" or "urgent") and if so, ask Mandriva what changes they >> >> made >> >> >> to >> >> >> >> > the code. >> >> >> >> > >> >> >> >> What code? >> >> >> > >> >> >> > Try SquirrelMail code? >> >> >> > >> >> >> >> I am using SM source and not Mandriva's package. >> >> >> > >> >> >> > Sorry, I missed that, read it as a Mandriva SM package. >> >> >> > >> >> >> >> 1.4.11svn? >> >> >> > >> >> >> > No, what you have is probably not different than 1.4.11 >> >> >> > >> >> >> >> hmmm. Do I need to test with it or is there any patch for this? >> I >> >> >> don't >> >> >> >> know whether this is a widely known bug or others don't care.. >> :P >> >> >> > >> >> >> > No bug that I know of. I'd guess that your message headers >> might >> >> be >> >> >> > borked. What was the user agent? What do the priority headers >> >> look >> >> >> > like? >> >> >> > >> >> >> This is one of the email header: >> >> >> >> >> >> User-Agent: SquirrelMail/1.4.10a >> >> >> X-Priority: 1 (Highest) >> >> >> Importance: High >> >> >> Return-Path: [EMAIL PROTECTED] >> >> >> MIME-Version: 1.0 >> >> >> Content-Type: text/plain; charset=iso-8859-1 >> >> >> Content-Transfer-Encoding: 8bit >> >> >> X-DBMail-PhysMessage-ID: 149810 >> >> >> >> >> >> As u can see that the X-Priority is correct but there's no ! >> symbol >> >> in >> >> >> message list. I use dbmail as the imap. >> >> > >> >> > I cannot reproduce. >> >> > >> >> > You might want to do a bit of debugging starting in >> >> > functions/mailbox_display.php >> >> > >> >> > Anyone else seen this? >> >> > >> >> I got one email from gmail with this header which SM showed the ! >> sign >> >> in >> >> the message list: >> >> >> >> >> >> from: [EMAIL PROTECTED] >> >> to: [EMAIL PROTECTED] >> >> x-priority: 1 >> >> priority: urgent >> >> importance: high >> >> date: 22 Aug 2007 22:03:24 +0800 >> >> subject: Malaysia Postcode System >> >> Message-Id: <[EMAIL PROTECTED]> >> >> X-Virus-Scanned: amavisd-new at kolejshahputra.edu.my >> >> Return-Path: [EMAIL PROTECTED] >> >> MIME-Version: 1.0 >> >> Content-Type: text/html; charset=us-ascii >> >> content-transfer-encoding: quoted-printable >> >> X-DBMail-PhysMessage-ID: 150351 >> >> >> >> As u can see above, the x-priority is all in small letters. Does it >> make >> >> any difference? >> > >> > No, it should not. Especially give that your sample above was generated by SM itself. I have a test message with the same header and it shows just fine. >> > >> >> Does priority: urgent take into account to show the ! >> >> sign? >> > >> > Yes. Here is the critical code: >> > >> > function parsePriority($sValue) { >> > $aValue=preg_split('/\s/',trim($sValue)); >> > $value = strtolower(array_shift($aValue)); >> > if ( is_numeric($value) ) { >> > return $value; >> > } >> > if ( $value == 'urgent' || $value == 'high' ) { >> > return 1; >> > } elseif ( $value == 'non-urgent' || $value == 'low' ) { >> > return 5; >> > } >> > return 3; >> > } >> Thanks for pointing me the code. It seems that X-Priority: didn't get parsed correctly by SM. Don't u think so? > > No. > > It works fine for me. > >> FYI, I also use a sieve filter >> (with sieve plugin) to filter out messages based on certain criteria. DO >> u think it has something to do with this? > > Dunno, seems unlikely. You need to debug. > This problem solved with 1.4.11. Now I can get the '!' symbol for all High Priority messages. Thanks. -- Muhd Zamri Muhd Suharini System Administrator Kolej ShahPutra Kuantan Pahang Darul Makmur Malaysia Tel : +609.573.777.7 ext 119 Fax : +609.573.889.9 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
[SM-USERS] default_user settings in file manager - thoughts?
I don't have a clean patch for this.. apologies in advance. What this does is change the way the file manager plugin config file works, allows a 'default_user' config line that is used if the username isn't specified already. This way you can set a default quota limit and file root for file manager and you don't have to specify every user. It also creates the users' directory upon login. This requires a small change in file_manager.php and a larger change in functions.php. In file_manager.users (the config file) you can add a line at the BOTTOM of the file like so: default_user /var/local/squirrelmail/files 40MB [EMAIL PROTECTED] 0 0 0 The $username will get appended to the path for the user's base dir. The base dir will get auto created upon login. It'll only be used if the user isn't specified already in the config file ABOVE the default_user. This isn't for everybody, but may be appropriate in some environments, and this code has not been heavily tested yet. - file_manager.php: just before line 1882, add this: // create the dir if it doesn't exist // this might be very unsafe thing to do.. // you have been warned! if((!is_dir($cwd)) && ($cwd == $baseDir)) mkdir($cwd, intval($defaultFolderPerms, 8)); if ($DIR = opendir($cwd)) // line 1882 -- functions.php: Right below the '}' on line 173, add this: // this is a duplication of the if(){ ... } above // but with the $username used to set a single basedir elseif ($configSettings[1][0] == 'default_user') { $numberOfFields = sizeof($configSettings[1]); $file_manager_user_config[$username]['allowEditBinary'] = $configSettings[1][$numberOfFields - 1]; $file_manager_user_config[$username]['allowChmod'] = $configSettings[1][$numberOfFields - 2]; $file_manager_user_config[$username]['allowLinks'] = $configSettings[1][$numberOfFields - 3]; $file_manager_user_config[$username]['adminMail'] = $configSettings[1][$numberOfFields - 4]; $numberOfBaseDirs = 1; for ( ; $numberOfBaseDirs < $numberOfFields - 5; $numberOfBaseDirs++) { $file_manager_user_config[$username]['baseDir1'] = $configSettings[1][1] . '/' . $username; } $quota = $configSettings[1][$numberOfFields - 5]; if (is_numeric($quota) || is_numeric(get_real_size($quota))) { $file_manager_user_config[$username]['quota'] = $quota; $numberOfBaseDirs--; } else { $file_manager_user_config[$username]['baseDir' . $numberOfBaseDirs] = $quota; $file_manager_user_config[$username]['quota'] = ''; } $foundUserConfig = 1; break; } // end of default_user elseif -- Ken -- Ken Anderson Pacific.Net - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
Re: [SM-USERS] High priority symbol doesn't appear in message list
On 10/8/07, zamri <[EMAIL PROTECTED]> wrote: > On Wed, September 5, 2007 1:31 pm, Paul Lesniewski wrote: > >> >> >> >> >> Hi all, > >> >> >> >> >> > >> >> >> >> >> The high priority symbol (!) not shown in my message list > if > >> I > >> >> >> >> recieve a > >> >> >> >> >> message with high priority set on. I use SM 1.4.10a on > >> Mandriva > >> >> >> Linux > >> >> >> >> >> 2006 > >> >> >> >> >> x86_64. Any pointer? > >> >> >> >> > > >> >> >> >> > Using 1.4.11svn (not too far removed from 1.4.10a), I see > the > >> >> "!" > >> >> >> mark > >> >> >> >> > clearly. You might look at the mail headers and if those > are > >> OK > >> >> >> >> > (X-Priority, Priority or Importance header should be "1" or > >> "2" > >> >> or > >> >> >> >> > "high" or "urgent") and if so, ask Mandriva what changes > they > >> >> made > >> >> >> to > >> >> >> >> > the code. > >> >> >> >> > > >> >> >> >> What code? > >> >> >> > > >> >> >> > Try SquirrelMail code? > >> >> >> > > >> >> >> >> I am using SM source and not Mandriva's package. > >> >> >> > > >> >> >> > Sorry, I missed that, read it as a Mandriva SM package. > >> >> >> > > >> >> >> >> 1.4.11svn? > >> >> >> > > >> >> >> > No, what you have is probably not different than 1.4.11 > >> >> >> > > >> >> >> >> hmmm. Do I need to test with it or is there any patch for > this? > >> I > >> >> >> don't > >> >> >> >> know whether this is a widely known bug or others don't care.. > >> :P > >> >> >> > > >> >> >> > No bug that I know of. I'd guess that your message headers > >> might > >> >> be > >> >> >> > borked. What was the user agent? What do the priority headers > >> >> look > >> >> >> > like? > >> >> >> > > >> >> >> This is one of the email header: > >> >> >> > >> >> >> User-Agent: SquirrelMail/1.4.10a > >> >> >> X-Priority: 1 (Highest) > >> >> >> Importance: High > >> >> >> Return-Path: [EMAIL PROTECTED] > >> >> >> MIME-Version: 1.0 > >> >> >> Content-Type: text/plain; charset=iso-8859-1 > >> >> >> Content-Transfer-Encoding: 8bit > >> >> >> X-DBMail-PhysMessage-ID: 149810 > >> >> >> > >> >> >> As u can see that the X-Priority is correct but there's no ! > >> symbol > >> >> in > >> >> >> message list. I use dbmail as the imap. > >> >> > > >> >> > I cannot reproduce. > >> >> > > >> >> > You might want to do a bit of debugging starting in > >> >> > functions/mailbox_display.php > >> >> > > >> >> > Anyone else seen this? > >> >> > > >> >> I got one email from gmail with this header which SM showed the ! > >> sign > >> >> in > >> >> the message list: > >> >> > >> >> > >> >> from: [EMAIL PROTECTED] > >> >> to: [EMAIL PROTECTED] > >> >> x-priority: 1 > >> >> priority: urgent > >> >> importance: high > >> >> date: 22 Aug 2007 22:03:24 +0800 > >> >> subject: Malaysia Postcode System > >> >> Message-Id: > <[EMAIL PROTECTED]> > >> >> X-Virus-Scanned: amavisd-new at kolejshahputra.edu.my > >> >> Return-Path: [EMAIL PROTECTED] > >> >> MIME-Version: 1.0 > >> >> Content-Type: text/html; charset=us-ascii > >> >> content-transfer-encoding: quoted-printable > >> >> X-DBMail-PhysMessage-ID: 150351 > >> >> > >> >> As u can see above, the x-priority is all in small letters. Does it > >> make > >> >> any difference? > >> > > >> > No, it should not. Especially give that your sample above was > generated by SM itself. I have a test message with the same header and it > shows just fine. > >> > > >> >> Does priority: urgent take into account to show the ! > >> >> sign? > >> > > >> > Yes. Here is the critical code: > >> > > >> > function parsePriority($sValue) { > >> > $aValue=preg_split('/\s/',trim($sValue)); > >> > $value = strtolower(array_shift($aValue)); > >> > if ( is_numeric($value) ) { > >> > return $value; > >> > } > >> > if ( $value == 'urgent' || $value == 'high' ) { > >> > return 1; > >> > } elseif ( $value == 'non-urgent' || $value == 'low' ) { > >> > return 5; > >> > } > >> > return 3; > >> > } > >> Thanks for pointing me the code. It seems that X-Priority: didn't get > parsed correctly by SM. Don't u think so? > > > > No. > > > > It works fine for me. > > > >> FYI, I also use a sieve filter > >> (with sieve plugin) to filter out messages based on certain criteria. > DO > >> u think it has something to do with this? > > > > Dunno, seems unlikely. You need to debug. > > > > This problem solved with 1.4.11. Now I can get the '!' symbol for all High > Priority messages. Thanks. Thank you for the feedback. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.