Questions tagged [qmail]

Message/mail transfer agent designed for UNIX hosts.

qmail is a public-domain mail transfer agent for UNIX hosts written by Dan Bernstein.

Useful links:

Tag usage

The tag qmail can be used for all programming related problems. The tag can also be used for setting up a simple mail server. Please note that https://serverfault.com/ is another Stack Exchange website where you can ask especially configuration specific problems.

78 questions
1
vote
2 answers

Different ways of sending e-mail from linux command line

For our web projects, we need a reliable e-mail distribution mechanism. Due to bad experiences in the past, I have written a bash script (executed hourly) which sends a notification e-mail if the qmail-send process is not running there are too many…
aimfeld
  • 2,931
  • 7
  • 32
  • 43
1
vote
1 answer

Using xargs with qmHandle to remove bounce messages

I have almost 100,000 spam messages in my bounce folder for qmail. I've been trying to use this command: find * | xargs -tl `qmHandle -d$1` But with no success. I've tried multiple variations. I also don't have parallel on my machine. I did…
jerebear
  • 6,503
  • 4
  • 31
  • 38
1
vote
1 answer

PHP mail filtering script: exit codes not recognized in .qmail file

Short story I've got a PHP script filtering incoming mail using a .qmail file. The script works perfectly well and logs all activity but, as far as I know, the last .qmail line shouldn't be executed when my script returns a dot-qmail exit code 99…
HelpfulPanda
  • 377
  • 3
  • 14
1
vote
0 answers

qmail logstash multiline filtering

I've been using logstash for a while now with great success for apache access logs and occasional mysql logs. I've just started to use it for qmail logs but wanted a better way to group qmail logs based on the qmail ID and be able to track bounces…
Logan Best
  • 501
  • 3
  • 7
  • 21
1
vote
1 answer

PHP Mail with Plesk - Not Sending/Receiving Any Emails

I recently got a new dedicated private server from 1&1. It has the latest version of Plesk Panel (11.5.30). On all of my webpages hosted from the server, none of them can send emails. Whenever I test this from here…
Daniel Harris
  • 1,805
  • 10
  • 45
  • 63
1
vote
1 answer

Plesk 9.2 email redirect stopped working after update from 9.0

Im really having a problem with this one. My server is a linux CentOS based running Plesk 9.2 After the update my email forwarding stopped working! Plesk uses qmail to manage emails. Basically whatever I do in the webpased Plesk panel just does not…
user236063
1
vote
1 answer

Qmail SMTP server behind firewall configuration

i've a problem with configuration Qmail + SimScan + SpamAssassin (dovecot + RoundCube) with SPF plugin. For Spf spam prevention, this system rejects all mail that don't passed SPF test with tool "spfquery" (read SPF explanation for understand my…
davymartu
  • 1,393
  • 3
  • 15
  • 34
1
vote
1 answer

PHP Qmail piping to script not working due to permissions?

I have Qmail set up to pipe to a script for a particular email address, which is working; However, part of the script creates a file which is not working. The group on the folder it is attempting to write to is apache with write permission (775). I…
user1262516
1
vote
1 answer

Why do qmail mta have two interfaces to receive the mail

qmail MTA which can send/receive the mail have two starting points viz qmail-smtp and qmail-inject. Why do we have two such different interfaces for mail delivery??? Am going through the tutorial of qmail referenced from:…
user2077511
1
vote
3 answers

stralloc implementation of string in qmail

what is the ending delimiter of string used through stralloc function in qmail(MTA) code??? stralloc str; stralloc_copys(&str,"testing"); printf("%s\n", str.s); It actually prints testingZjklfjndf What is the correct way to print the content???
Anshul
  • 1,416
  • 1
  • 16
  • 42
1
vote
1 answer

Qmail Log: lots of UNAUTHENTICATED SENDER

On qmail logs there are lots of the following lines: 2012-12-14 18:04:49.314299500 simscan:[9999]:CLEAN (4.00/50.00):2.2875s:Delivery Status Notification (Failure):aa.aa.aa.aa::info@xxxx.it 2012-12-14 18:04:49.657999500 CHKUSER accepted rcpt: from…
Mich Dart
  • 2,352
  • 5
  • 26
  • 44
1
vote
1 answer

Stuck thread on Zope when Plone 3.3 content rule tries to send an email

I'm trying to get to the bottom of a problem that's causing our Zope instance to lock up with increasing regularity. I've installed Products.signalstackLogger to try to get to the bottom of it and it appears it's happening when one of the content…
scarba05
  • 2,943
  • 1
  • 27
  • 29
1
vote
1 answer

grep -f using -i option

I want to use grep with the -f, -i, and -v options. I have a pattern file with the following…
1
vote
1 answer

Redirect wildcard email accounts

I trying to setup a forwarder to forward all the mail send to exapmle*@mydomain.com to myaccount@gmail.com. We are using qmail. I trieed setting ".qmail-example*. But did not work. can anyone help me on this . Thank you.
1
vote
3 answers

What is the best way to forward a single qmail alias to /dev/null?

I would like to trash the mail received by a single qmail alias. I don't want any mail delivery errors, and I want qmail to be happy about having delivered the mail. How can I do this, preferably without adding another local email account?
pcorcoran
  • 7,894
  • 6
  • 28
  • 26