Qmail - 转发不带附件的电子邮件
我有相当标准的 Qmail 烤面包机安装。我使用点文件为我的帐户设置邮件转发,因此当我收到电子邮件时,该电子邮件会保留在我的邮箱中,并且还会转发到另一个电子邮件地址。容易,你说。是的,它工作得很好……除了……这另一个电子邮件地址实际上是一个手机号码,所以我收到的每封电子邮件都会收到一条短信通知。
但是,由于我们的电话提供商限制短信的大小,如果我收到一封带有附件的电子邮件,Qmail 会尝试将其转发到我的手机,但失败了,错误消息返回到原始电子邮件发件人,他认为该电子邮件是根本没有交付。
我还没有找到任何解决方案,但我想到了一个想法 - 是否有可能限制 Qmail,这样他就不会转发特定类型的电子邮件(在我的例子中,带有附件的电子邮件)?或者以某种方式限制他从这些转发器发回错误消息?
I have pretty standard Qmail toaster installation. I'm using the dot files to set up mail forwarding for my account, so when I recieve an e-mail, this e-mail stays in my mailbox and is also forwarded to another email address. Easy, you say. And yes, it is, it is working fine ... except ... That this another email adress is actually a cell phone number, so I get an SMS notification about each email I recieve.
But, as our phone provider limits the size of an SMS, if I recieve an email with attachment, Qmail tries to forward it to my mobile phone, but this fails, the error message gets back to original email sender and he thinks the email was not delivered at all.
I haven't found any solution to this, but I came to an idea - if there is a possibility to LIMIT the Qmail, so he doesn't forward the specific type of emails (in my case, emails with attachments) ? Or somehow restrict him from sending back the error messages from these forwards ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
脱衣舞表演
http://www.phred.org/~alex/stripmime.html
.qmail-default
:或
Demime
http://scifi.squawk.com/demime.html(链接不再工作)
.qmail-default
:Stripmime
http://www.phred.org/~alex/stripmime.html
.qmail-default
:or
Demime
http://scifi.squawk.com/demime.html (link not working anymore)
.qmail-default
: