qmail

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? ...

Email aliasing with qmail

I'm trying to set up email domain aliasing in qmail (I'm on a Plesk server). What should happen is that emails sent to [email protected] get sent to [email protected] (regardless of what user is). I would like this to happen without having to set up redirects and mess around with that sort of thing. I've followed the details on this fo...

Intercept QMail SMTP emails

Hello Here is the situation, we have a linux web server that runs Plesk and I need a way to intercept emails sent to and from the server. Plesk uses qmail to send and receive emails. We have sorted the receiving emails problem by adding a mailgroup to each email address that includes an "archive@" address. Then we use a PHP script to r...

Authenticate via POP3 using vPopMail

I'm working on installing vPopMail on CentOS for use with a Qmail / Courier-IMAP mail-server setup. So far, everything is working out well enough. Mail sent to any virtual user I have setup under any virtual domain (assuming MX records are pointed correctly in the domain DNS) I add to vPopMail is routed correctly to the vPopMail ./Maildi...

forward all incoming qmail / vpopmail emails to a program on linux

Hi, I want to set up a program where all incoming emails into vpopmail of the form [email protected] get forwarded to a java program / daemon that is running the java program will receive the information about the person sending the email so it needs to access the standard email and from the account (in the above case 12345678) infer...

Plesk 9.2 email redirect stopped working after update from 9.0

Hi, 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 work with email forwarding. Does anyone know what can be the problem and how can I fi...

Wildcards in an email address with qmail?

I'm trying to set up an email address in qmail such that a unique identifier can be passed as part of the email address. For example: [email protected], [email protected], [email protected] would all go to the 'reply' user and be sent to the same shell script. Currently, email sent to [email protected] goes to the scri...

Qmail queue filled by local PHP source?

Hi guys. Actually I am not system administrator. But I have little experience related Qmail Server. I configured qmail server three months ago. It was working fine during first 2 months. But it is working slow last month. Sometimes it doesn't work by normal. And I've researched about reason it is off. The reason was qmail queue filled...

Why is this not a bug in qmail?

I was reading DJB's "Some thoughts on security after ten years of Qmail 1.0" and he listed this function for moving a file descriptor: int fd_move(to,from) int to; int from; { if (to == from) return 0; if (fd_copy(to,from) == -1) return -1; close(from); return 0; } It occurred to me that this code does not check the return va...

Some mail clients see empty CSV attachment from PHP mail() after switch from sendmail to qmail

Hi folks, The code below has been sending CSVs to our print fulfillment folks for years. Beginning of the week the sysadmin switched from sendmail to qmail for reasons having to do with procmail recipes we want to run. Probably not coincidentally we starting started hearing that the fulfillment folks were seeing empty CSVs even when o...

Mail being sent to local domain instead of remote domain

I have a server which hosts mywebsite.com If I try to send mail to [email protected], the MTA is trying to send it to a local host (the mail is managed on a different server). How can I fix this?! Its a linux server running qmail Any more info needed please ask Thanks! ...

limit attachment on qmail

Is it possible to limit the size of attachment that can be send or received in qmail. Its to stop mail forwardings with large sizes amoung employees. ...

Email headers modifications/removing in qmail.

Is it any way to remove "Received:" header in qmail? I do not want my recepient to know from where I did send my message. ...

message forwards settings in mail

Is there a way in qmail to set forward messages. Like for instance a support person might leave the company and if a client sends a mail to his id then a mail should be send asking him to use another mail id i.e the id of the person to whom work has been transferred. ...

Is there an automated installation shell script for postfix/qmail out there to date?

I don't want to manually do so many steps to setup a single mail server. It doesn't need to be super secure, just up and running is enough. Can someone recommend an automated installation tool bundle? ...

Qmail : auto response is polluted with email headers

Hello, When I set up auto response in qmailadmin for an account. The auto response email is sent but just after the auto response message, there is a sort of stack trace and headers of the original message: like : Received: (qmail 903 invoked by uid 508); 12 Jul 2010 20:23:55 -0000 Received: blabla Received: (qmail 914 invoked from...

Qmail: How to use custom hosts file?

For testing purposes, I am trying to send emails to [email protected], but qmail won't parse /etc/hosts. It is running in a physical black box, so there is no way for it to access any DNS server. How can I tell qmail to deliver emails going to test.com to a specific IP address? ...

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 that should stop processing further .qmail lines. Long story: I'm using a Parallels Plesk...

How is it possible to deliver email from qmail to a LMTP server?

I have a qmail server, which cannot be changed into anything else, because it is part of a much larger system. It should route all emails to a Zarafa server, which only uses the LMTP protocol and to which I don't have physical access. How is it possible to make qmail deliver the emails to the LMTP server? ...

Plesk Qmail / spamdyke - Disabling Plain Text Auth

I have a Plesk server using Qmail and spamdyke for SMTP - is there a way I can disable the "auth login" and "auth plain" options so clients are forced to send encrypted password? Or at least to only accept plain text password if using TLS? We are failing PCI compliance scan becuase of the fact that the server accepts plain text password...