liujia 发布的文章

主机服务商列表

  1. BuyVM - 特色机 - 欧洲卢森堡 KVM VPS 机 - 24美元/年起 - 送 Blesta
  2. FiberState - 不限流量实惠物理机 - E3-1240v5 32GB 内存 - 35美元/月起
  3. UCloud快杰云主机 - 没有主动过滤 TCP 25 端口
  4. RackNerd年付美国VPS不到18美元 - 没有主动过滤 TCP 25 端口
  5. Vultr 可按小时计费的主机商 - 适合建国外站
  6. 岭云互联 香港机,月付20元起 - 不存数据,要求访问速度快的,可以试试
  7. Claw云 月付3.5美元起 - 听说是销售阿里云资源的,可以试试

Rock-Solid VPS

roundcube 菜单定制 禁用功能

https://local2.anqun.org/mail/?_task=settings&_action=plugin.password

// don't allow these settings to be overridden by the user
$config['dont_override'] = [];

// List of disabled UI elements/actions
$config['disabled_actions'] = [];

https://local2.anqun.org/mail/?_task=settings&_action=plugin.password
https://local2.anqun.org/mail/?_task=addressbook&_source=1

'mail.delete', 'mail.copy', 'mail.move', 'mail.mark', 'mail.send', 'mail.sendmdn', 'mail.import',

./program/js/app.js:1942
['show', 'reply', 'reply-all', 'reply-list', 'move', 'copy', 'delete', 'open', 'mark', 'edit', 'viewsource', 'bounce', 'print', 'load-attachment', 'download-attachment', 'show-headers', 'hide-headers', 'download', 'forward', 'forward-inline', 'forward-attachment', 'change-format']

class="about" innerClass="inner" onclick="UI.about_dialog(this)" />
<roundcube:button command="compose" type="link" class="compose"

config.dark_mode_support: false
https://github.com/roundcube/roundcubemail/blob/master/skins/elastic/meta.json
"dark_mode_support": true,

POST /mail/?_task=mail&_action=expunge HTTP/2.0" 
POST /mail/ HTTP/2.0" 200 651 "https://local2.anqun.org/mail/?_task=settings&_action=add-folder&
'settings.add-folder', 'settings.preferences','settings.identities','settings.responses',

192.168.1.7 - - [15/Jul/2023:16:17:59 +0800] "GET /mail/?_task=mail&_action=getunread&_page=1&_remote=1&_unlock=0&_=1689409079167 HTTP/2.0" 200 99 "https://local2.anqun.org/mail/?_task=mail&_mbox=Trash
?_task=mail&_mbox=Trash"  folder can not be found

mail._mbox=Trash

dovecot
https://forum.vestacp.com/viewtopic.php?t=11948

<!-- folders list -->
<div id="layout-sidebar" class="listbox" role="navigation" aria-labelledby="aria-label-folderlist">
        <div class="header">
                <a class="button icon back-list-button" href="#back"><span class="inner"><roundcube:label name="back" /></span></a>
                <span class="header-title username"><roundcube:object name="username" /></span>
                <roundcube:button name="folderactions" type="link" title="folderactions" label="actions"
                        class="button icon sidebar-menu" innerclass="inner" data-popup="mailboxoptions-menu" />

1. templates/mail.html
2. /templates/includes/mail-menu.html:2:<div id="mailtoolbar" class="toolbar menu" role="toolbar">
./templates/includes/mail-menu.html:28: <roundcube:container name="toolbar" id="mailtoolbar" />
3. vi /opt/www/roundcubemail/config/config.inc.php
// PLUGINS
// $config['plugins'] = array('managesieve', 'password', 'zipdownload');

// List of disabled UI elements/actions
$config['disabled_actions'] = ['settings', 'addressbook','mail.compose', 'mail.delete', 'mail.copy', 'mail.move', 'mail.mark', 'mail.send', 'mail.sendmdn', 'mail.import','mail.reply', 'mail.reply-all', 'mail.reply-list', 'mail.flagged', 'mail.reply', 'mail.reply-all', 'mail.reply-list', 'mail.move', 'mail.copy', 'mail.delete', 'mail.open', 'mail.mark', 'mail.edit', 'mail.viewsource', 'mail.bounce', 'mail.print', 'mail.load-attachment', 'mail.forward', 'mail.forward-inline', 'mail.forward-attachment', 'about', 'mail.expunge', 'mail.purge', 'mail.folders', 'settings.add-folder','settings.folders','settings.preferences','settings.identities','settings.responses','settings.compose','mail.import-messages'];

// automatically create the above listed default folders on user login
$config['create_default_folders'] = false;

// protect the default folders from renames, deletes, and subscription changes
$config['protect_default_folders'] = false;

https://github.com/roundcube/roundcubemail/blob/3b6c06f697eca916d5756795461a8eea4e397cd2/config/defaults.inc.php

在果园市场买了“大坝山羊肉”煲粥

昨天咨询“大神”后,我到果园市场,在“大坝山羊肉”店买了29元羊肉(约320克)。老板还教我,如果怕寒,可将羊肉在锅里无水翻炒后再煲粥。煲粥时可以加红萝卜和红枣等。

我没有翻炒,因为懒,直接将洗净后的两块带骨羊肉放到电炖锅里煲了约两个钟头。粥有羊肉味,还煲出了油,锅边沾了不少肉沫屑。粥有骨头碎,肉羊稍嫌大块。对牙不好的我来说,将肉从骨头咬下来费劲。特别是羊肉皮,既长又韧,我嚼不烂。曾尝试硬吞,无奈吞不落,不得不将已在喉咙里的另一段拉了出来,扔掉。

roundcube - 收件箱列表为空 - the list is empty - imap - vsz_limit 256 MB

现象:某个邮箱用户登录到 roundcube webmail,收件箱列表是空的。原先的邮件数约有十万封。

实践:查看 dovecot 的 imap.log ,出现类似 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it)) 的字样。按网上的例子,在 /etc/dovecot/dovecot.conf 添加如下内容后,重启 dovecot 服务即可。

service imap {
  vsz_limit = 1024MB
}

参考:https://forum.iredmail.org/topic11051-increasing-vszlimit.html

在“抖音商城”里买“玉米鲜肉云吞”

我用电脑的时间多,用手机的少。“抖音”app是前阵子在网友力荐下才安装的。每天我习惯地在“抖音”点签到,然后领三角钱。

今天,“抖音”app播放的视频是“袁小铰”的直播间,显示18个玉米鲜肉云吞卖6.8元,叠加新人支付优惠后只要2.8元。犹豫了一下,觉得有便宜得占,我就提交订单了。订单显示30天内可凭二维码到实体店里核销提单。

十一点多时,我到了在果园的实体店。店里的人告诉我“抖音”的订单需要到店外的玻璃窗口里处理。我走到店外,里边有个工作人员拿着个手机让我出示二维码。之后,她问我是不是各种馅都各拿几个。我说“好”。

菜名:6.8元抢18颗玉米鲜肉云吞
门店:果园市场附近的“袁小饺”店
份量:约半市斤,够大人食一餐
口感:可能因为夹杂了韭菜、紫菜、香菇猪肉馅,所以连吃18颗,不会觉得腻
评价:可以试一下,适合一个人懒得整饭食的