June 26, 2022 Roberto Puzzanghera 13 comments
This short guide helped a number of people, also newbies in some cases, to successfully install a mail server based on qmail
.
In case the informations published here are not sufficiently clear and exhaustive, if you want to address me a comment, an hint or a criticism, don't hesitate to post a comment or to contact me via email!
Anyway, if you don't want to take the trouble to read all the documentation and do it by yourself, because you don't have the time, or you need help concerning the qmail world or even if you want to migrate qmail
/vpopmail
to postfix
and you don't know how to do it, I can offer a consulting service.
qq_temporary_problem_(#4.3.0)
June 2, 2023 06:32
qq_temporary_problem_(#4.3.0)
June 1, 2023 21:18
qq_temporary_problem_(#4.3.0)
May 31, 2023 18:22
qq_temporary_problem_(#4.3.0)
May 31, 2023 14:42
qq_temporary_problem_(#4.3.0)
May 31, 2023 14:33
Thank you! for all the documentation, patches and support
May 26, 2023 08:42
free(): double free detected in tcache 2: /var/www/qmail/cgi-bin/qmailadmin
May 17, 2023 15:25
free(): double free detected in tcache 2: /var/www/qmail/cgi-bin/qmailadmin
May 17, 2023 07:46
Tags
apache clamav dkim dovecot ezmlm fail2ban hacks lamp letsencrypt linux linux-vserver lxc mariadb mediawiki mozilla mysql openboard owncloud patches php proftpd qmail qmail to postfix qmail-spp qmailadmin rbl roundcube rsync sieve simscan slackware solr spamassassin spf ssh ssl surbl tcprules tex ucspi-tcp vpopmail vqadmin
Comments
qmail-smtpd: read failed (hang up before quit cmd)
blueintheface March 8, 2021 11:53
I get hundrets of errors like in the subject:
One of the checks is to ask qmail server xxx.xxx.xxx.xxx via smtp if the mailbox (here: user@localdomain.com) exists, and if so and all checks are passed, the mail is delivered to qmail via smtp.
So, whats in the log is the communication between UTM (yyy.yyy.yyy.yyy) and qmail (xxx.xxx.xxx.xxx)
There are a lot of lines with "read failed" in the send-log and the mail isn't delivered to the mailbox. I searched the net for this error, but can't find anything.
I'm running other qmail-servers (rather old ones, based on Bill's Linux Qmail Toaster v 0.9.4), there are no such problems; communication between UTM and qmailservers is the same for all servers.
Any idea?
Reply | Permalink
qmail-smtpd: read failed (hang up before quit cmd)
Roberto Puzzanghera blueintheface March 8, 2021 18:32
Times ago I did a check and realized that messages from these IPs are regularly delivered. I think they violate the smtp protocol in some way (they close the connection before the final quit).
I don't think this is an error of your MTA and it wouldn't even logged in vanilla qmail
Reply | Permalink
bounce queue too long
charles October 2, 2019 03:24
I got this bounce:
any idea?
Reply | Permalink
bounce queue too long
Roberto Puzzanghera charles October 3, 2019 14:36
DNS records are wrong or not set up correctly or inaccessible, or your server is trying to retrieve ANY dns records, which produces a very large response from the DNS that may overflow your response buffer. In this case the any-to-cname patch would help. Are you using my combined patch?
Reply | Permalink
DKIM on Qmail
Thorpe Mayes November 15, 2018 19:40
Hi,
I have qmail running on CentOS 7.x. It was installed per Life With Qmail. It is working fine.
I need to add DKIM.
I assumed that I could simply add the dkim-netqmail-1.06 patch on top of the patches I initially added (qmail-1.03.errno.patch
qmail-1.03.qmail_local.patch
qmail-0.0.0.0.patch
qmail-1.03.qmtpd-netstring.patch
qmail-103.patch)
When I did that I got the following errors:
I went ahead and ran make, and got this:
Clearly I am not doing something correctly. Do I need to simply start over? Eliminate one or more of the other patches? Something else?
I am grateful for any ideas.
Thorpe
Reply | Permalink
DKIM on Qmail
Roberto Puzzanghera Thorpe Mayes November 17, 2018 10:54
Hi, the DKIM patch is intended to be applied over a fresh netqmail. In this case, before compiling, you have to open those .rej files, look what went wrong during the patch process and then manually correct the source.
Edit: Perhaps it could be easier to apply DKIM firstly, and then add all the other extra patches not included already in netqmail
Reply | Permalink
DKIM on Qmail
Thorpe Mayes Roberto Puzzanghera November 20, 2018 15:24
Hi Roberto,
Thank you for the reply and insights.
I have DKIM working, which turned out to be simpler than I was making it.
Thank you.
Thorpe
Reply | Permalink
Qmail Alias
Tim September 11, 2018 09:50
Hello,
i installed qmail with your tutorial and everything ist working fine exept of the aliases.
I want that when i write an Email to an adress that qmail triggers a script which i run with an command in the alias:
|/path/to/the/script/script.sh&
But that doesn't work. Can you help me?
kind regards
Tim
Reply | Permalink
Qmail Alias
Roberto Puzzanghera Tim September 11, 2018 10:13
Hi, I suppose you are inserting that line in your .qmail files... what error do you get?
Reply | Permalink
Adding qmail to supervisord
Jitender May 28, 2018 00:30
Hi,
I am trying to dockerize qmail.
Installling daemontools kills the container(send sig hup 1 which kills init script) + it tries to change innittab. I tried commenting out that part. Compiled qmail and related services + patch. But. now I am having issue adding this to supervirsord.I tried adding all running services related to qmail from a working installation but looks I am doing this wrong:
----
--
I am getting this for al except svscan and svscanboot.
Reply | Permalink
Adding qmail to supervisord
Roberto Puzzanghera Jitender May 28, 2018 13:19
Sorry, I'm not familiar with supervisord
Reply | Permalink
mail not delivered in mailbox follow up
Ed Vrijmoet November 11, 2017 00:30
after looking in my send log i see failure:
but the mailbox is there.
it looks like it can not find my mailbox what could be wrong in the configuration.
Reply | Permalink
mail not delivered in mailbox follow up
Roberto Puzzanghera Ed Vrijmoet November 11, 2017 13:19
Hi, you should provide more details... at least the complete qmail-send log
Are you strictly following my guide? Which lda are you using? dovecot or vpopmail?
And since I received a lot of messages about the missing log@domain mailbox, sorry if I ask, but are you sure that the missing mailbox is the recipient and not the log@yourdomain?
Reply | Permalink