邮件系统 设为首页
加入收藏
总编信箱
| 第一邮局 | 免费邮箱 | 邮箱评测 | 企业邮局 | 移动邮件 | 邮件系统 | 邮件营销 | 反垃圾邮件 | 邮件客户端 | 邮件安全 |
当前位置:第一邮局>邮件系统>Qmail>文章内容

关于Qmail问题集

来源:Mail1.com.cn 编辑:Mail 发布时间:2007-05-11 [收藏] [推荐] [评论(0条)]
stallation script that comes with qmail-scanner, I get the following error:

Sending eicar test virus - should be caught by perlscanner module...
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died

What's wrong?
* Q: When compiling qmail, I get the following error:

qmail-remote.c:36: openssl/ssl.h: No such file or directory

what's wrong?
* Q: I keep on getting tons of "double bounce" messages that say "I tried to deliver a bounce message to this address, but the bounce bounced!". What causes this and how can I stop it?
* Q: When I try to send e-mail with Outlook or any other mail client, I get an error stating "sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)". What is causing this error?
* Q: How can I disable qmail from conducting reverse DNS lookups on SMTP connections?
* Q: Is there a way to customize my qmail server's pop greeting?
* Q: How can I change the length of time that a given message will sit in the qmail queue before being dropped?
* Q: I am running qmail-scanner with Spamassassin and ClamAV. When I run the qmail-scanner test script or when I view my logs, I see the following error:
qmail-inject: fatal: qq temporary problem Bad error. qmail-inject died
* Q: I've got my qmail server up and running, but the smtp server is running extremely slow. What's wrong?
* Q: Is there a way in which I can limit the size of messages that my qmail server will accept?
* Q: I am unable successfully login to my qmail server on port 110 (POP). When I view the qmail-pop3d logs, I see this error message:

bind: address already used @40000000402764171035c1e4 tcpserver: fatal: unable to bind: address already in use

* Q: What functions are possible with the "qmailctl" tool?
* Q: How can I block a certain sender or an entire domain from sending mail to my Qmail server?
* Q: I've only got one domain on my server. Can I install Qmail without Vpopmail since I don't plan on having multiple domains?
* Q: When my Qmail server bounces messages, it comes from "mailer-daemon@mydomain.com". Can I change that?
* Q: What is the purpose of each of the Qmail control files within the /var/qmail/control directory?
* Q: How do I set my Qmail server up to allow authenticated users to remotely send mail through my server?
* Q: My Internet Server Provider (ISP) blocks 3rd party connections to port 25, so I cannot send mail. What can I do?
* Q: What is "smtp authentication", what is "pop before smtp" and which is better?
* Q: When I test my Qmail server for an open relay at http://www.abuse.net/relay.html, it says "Hmmn, at first glance, host appeared to accept a message for relay..." Does this mean my Qmail server is an open relay???
* Q: Does the Qmailrocks.org Qmail installation prevent open relaying and/or how do I prevent Qmail from being an open relay?
* Q: I want to be able to backup my mail data. How can I do this?


Q:
On my FreeBSD server, when I run the test_installation script that comes with qmail-scanner, I get the following error:

Sending eicar test virus - should be caught by perlscanner module...
qmail-inject: fatal: qq temporary problem (#4.3.0)
Bad error. qmail-inject died

What's wrong?
A:
This error is typically encounted after the latest version of Perl is installed from the FreeBSD ports collection with the "ENABLE_SUIDPERL" option disabled. The solution is to reinstall Perl with the "ENABLE_SUIDPERL" feature enabled. Please see this page: http://freebsd.qmailrocks.org/suidperl.htm

return to top

Q:
When compiling qmail, I get the following error:

qmail-remote.c:36: openssl/ssl.h: No such file or directory

what's wrong?
A:
You need to install both openssl and openssl-devel. On Redhat related products, you can find rpm's of both openssl and openssl-devel. The up2date package manager is usually the best way to go on Redhat products. On Debian, you will want to installed openssl and libssl-dev like so:

apt-get install openssl
apt-get install libssl-dev

return to top

Q:
I keep on getting tons of "double bounce" messages that say "I tried to deliver a bounce message to this address, but the bounce bounced!". What causes this and how can I stop it?
A:
Double bounces are typically caused when a spammer sends an email to an email address that does not exist on your server. By default, the server will try to bounce the message because that mailbox could not be found. However, if the return address that the spammer uses is fake, then the bounced message will also bounce and be returned to your server. Thus a "double bounce".

To greatly reduce the numbers of double bounce messages, you can instruct vpopmail to delete these emails that are being sent to invalid addresses on your server instead of attempting to bounce them. On a QMR install, you can do this by logging into the qmailadmin interface as the postmaster user for each domain. Click on "email accounts" and then click "Set catchall to delete". This will set your domain's cathcall function to "delete", thus deleting any an all emails send to invalid addresses and avoiding the potential double bounce. These days, acutally using a catchall is a pretty dumb idea. In this day and age, all a catchall does is catch all the SPAM. Disable the catchall function by setting it to delete and your inbox and mail server will both thank you.

return to top

Q:
When I try to send e-mail with Outlook or any other mail client, I get an error stating "sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)". What is causing this error?
A:
This error can be annoying, but it's actually a good thing. Your qmail server is rejecting your attempt to relay through it because you aren't authenticated properly. Usually, this is caused by one of these 2 mistakes:

1 The SMTP mail server address that you are using is not listed in the /var/qmail/control/rcpthosts file and is therefore not allowed to remotely relay through the server. Check your mail client setting and take note of the SMTP mail server address that you are using. Then check the /var/qmail/control/rcpthosts file and make sure that domain is listed there. If it isn't, stick it in there and then restart qmail to make sure the setting takes.

2. You haven't set up your mail client for SMTP authentication. The qmailrocks installation requires SMTP authentication in order to send. In Outlook, for example, this is activated in the advanced settings by checking the box that states "my server requires authentication".

return to top

Q:
How can I disable qmail from conducting reverse DNS lookups on SMTP connections?
A:
This can be done by adding a "-H" flag to the tcpserver call within the qmail-smtpd supervise script. That file is located at /var/qmail/supervise/qmail-smtpd/run and you would do the following:

< Find the line that starts with the tcpserver call:

/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \

and add the "-H" flag:

/usr/local/bin/tcpserver -v -R -H -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \

return to top

Q:
Is there a way to customize my qmail server's pop greeting?
A:
Sure. You can edit the greeting verbage in /usr/src/qmail/qmail-1.03/qmail-popup.c
You will need to recompile qmail after making any changes. You can do this with the command "make setup check".

Note: All qmail processes must be stopped before you can recompile. Have fun.

return to top

Q:
How can I change the length of time that a given message will sit in the qmail queue before being dropped?
A:
You can change the length of time messages will stay in the queue by creating a file /var/qmail/control/queuelifetime. In this file you will have a single line containing the time, in seconds, that you wish the queue to keep any given message queued for.

For example:

3600 - 1 hour
86400 - 1 day
604800 - 1 week

return to top

Q:
I am running qmail-scanner with Spamassassin and ClamAV. When I run the qmail-scanner test script or when I view my logs, I see the following error:
qmail-inject: fatal: qq temporary problem Bad error. qmail-inject died
A:
Usually this can be fixed by raising the "softlimit" setting within the /var/qmail/supervise/qmail-smtpd file. Try raising it to around 35MB, or 35000000 bytes and that should fix it.

return to top

Q:
I've got my qmail server up and running, but the smtp server is running extremely slow. What's wrong?
A:
This can result from a lot of things, but most often it's the result of a DNS error of some kind. Check to make sure your mail server's hostname has a proper DNS setup. You may want to try www.dnsreport.com. to test your server's DNS configuration. Also, make sure that your server's IP address has a reverse PTR record associated with it. Additionally, I would recommend installing djbdns and running a local caching nameserver to which your qmail server can make fast queries. You can find help on djbdns at www.djbdnsrocks.org.

return to top

Q:
Is there a way in which I can limit the size of messages that my qmail server will accept?
A:
Yes. You can create the file /var/qmail/control/databytes. Within this file you specify the maximum message size, in bytes, that your server will accept. For example, an entry of 10000000 would limit messages to 10MB. Anything over that size will be rejected by the server and the sender should get a bounce message stating that the message is over the allowed message size. The syntax of the file is easy. You simply put in the maximum number and nothing else. So for a limit of 10MB, you would create a file called /var/qmail/control/databytes and on the first line you would enter the number 10000000 and nothing else. Save the file and you're all done. You may want to restart qmail just to be sure it kicks in.

return to top

Q:
I am unable successfully login to my qmail server on port 110 (POP). When I view the qmail-pop3d logs, I see this error message:

bind: address already used @40000000402764171035c1e4 tcpserver: fatal: unable to bind: address already in use

A:
Most likely, your server is already running a POP service. Since there is already a POP service running, qmail-pop3d cannot bind itself to port 110. To fix this, check your server's setup to make sure that any other POP services are killed and then disabled. Often times, the other POP service will be running out of either xinetd or inetd, so check the /etc/xinetd.d scripts or the /etc/inetd.conf script and make sure that any POP services are disabled. Also check your init scripts and make sure that no POP servers, such as Qpopper, are running and/or configured to start on server boot.

return to top

Q:
What functions are possible with the "qmailctl" tool?
A:
You can get a nice printout of all the possible qmailctl functions and their purposes by running:

qmailctl help

You'll get something like this:

stop -- stops mail service (smtp connections refused, nothing goes out)
start -- starts mail service (smtp connection accepted, mail can go out)
pause -- temporarily stops mail service (connections accepted, nothing leaves)
cont -- continues paused mail service
stat -- displays status of mail service
cdb -- rebuild the tcpserver cdb file for smtp
restart -- stops and restarts smtp, sends qmail-send a TERM
上一篇:TurboLinux下架设Qmail服务器历程   下一篇:Life with qmail -- 中文版
[365Key收藏] [雅虎收藏+] [返回顶部] [打印本页] [关闭窗口]  
邮箱   相关文章
·TurboLinux下架设Qmail服务器历
·Life with qmail -- 中文版
·建立qmail邮件系统防毒
·Qmail邮件服务器安装过程
·qmail邮件系统(六)qmail的日志
·qmail邮件系统(三)qmail的工作
·qmail邮件系统(五)vpopmail和q
·qmail邮件系统(二)安装
·qmail邮件系统(四)ucspi-tcp的
·qmail邮件系统(一)Qmail系统的
·qmail vpopmail squirrelmail 安
·Maildir转换成mbox邮箱格式脚本
免费邮箱 163邮箱  21CN邮箱  Gmail  Hotmail  QQ邮箱  SoGou邮箱  新浪邮箱  雅虎邮箱  
邮箱评测 企业邮箱评测  
企业邮局 企业邮箱  企业邮箱资讯  
移动邮件 技术前沿  手机邮件  
邮件系统 CMail Server  WinMail  SendMail  Qmail  Postfix  MDaemon Server  Lotus Notes  IMail Server  Foxmail Server  Exchange Server  Domino  Winwebmail  
邮件营销 网络营销  营销案例  营销技巧  邮件营销  
反垃圾邮件 Anti-Spam技术产品  新闻资讯  
邮件客户端 DreamMail  Foxmail  IncrediMail  KooMail  Outlook  The Bat!  
邮件安全
用户名: 新注册) 密码: 匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论
  热点文章
·Maildir转换成mbox邮箱格式脚本
·TurboLinux下架设Qmail服务器历
·Life with qmail -- 中文版
·常规的qmail的防垃圾邮件处理
·qmail vpopmail squirrelmail 安
·Qmail邮件服务器安装过程
·qmail邮件系统(五)vpopmail和q
·浅谈qmail之邮件转发规则
·qmail邮件系统(一)Qmail系统的
·Qmail下如何将某个域下的账号邮
·qmail邮件系统(二)安装
·使用Forward功能建立邮件列表的
网站首页 -  网站地图 -  域名注册 -  虚拟主机 -  企业邮箱  -  网站投稿  -  广告联系 -  帮助中心  -  

Copyright 2007-2008 Mail1.com.cn All Rights Reserved
本站内容均来自网络,如果侵犯版权请来信告知,核实后我们会在24小时删除 联系方式:
第一邮局QQ群:14743955 E-mail:www@onlinex.com.cn