autorespond

April 14, 2018 Roberto Puzzanghera15 comments

  • Author: Inter7
  • Latest version: 2.0.5

Used for vacation messages. Required by qmailadmin.

cd /usr/local/src
wget http://notes.sagredo.eu/files/qmail/tar/autorespond-2.0.5.tar.gz
tar xzf autorespond-2.0.5.tar.gz
cd autorespond-2.0.5
chown -R root.root .

If you want to install in /usr/local you have to modify Makefile:

PREFIX=/usr/local

Compile and install:

make
make install

Bruce Guenter has a modified version of autoresponder here, with the following features, that you may want to consider:

- Limits rate of automatic responses (defaults to a maximum of one message every hour).
- Will not respond to nearly every type of mailing list or bulk email.
- Will not respond to bounce messages or MAILER-DAEMON.
- Bounces looping messages.
- Can insert the original subject into the response.
- Can copy original message into response.
- Can use links in the rate-limiting data directory to limit inode usage to a single inode.
- Can limit responses to a certain date/time range.


autorespond will work only with vdelivermail

If you followed this guide until the end and installed dovecot-lda, you should have notice that autoresponder is not working anymore, as it needs vdelivermail (the delivery agent shipped with vpopmail).

In this case you can always generate vacation messages by means of a sieve filter inside the Roundcube webmail. Look at the managesieve Roundcube's plugin on the purpose.

 

Comments

I set up an autoresponse for an email account. .qmail is created, so are the folder vacation and message. But it just would not autoreply. I am not seeing any logs related. Is it because of sieve

Reply | Permalink

you have to set vdelivermail as your delivery agent

Reply | Permalink

I amended

cat /var/qmail/control/defaultdelivery
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

and

cat /home/vpopmail/domains/mydomain.com/.qmail-default
|/var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -d $EXT@$USER

It is working now. So whenever i create a new domain, i have to include |/var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -d $EXT@$USER in the .qmail-default file?

Reply | Permalink

Yes

Yes

Reply | Permalink

So if i adjust .qmail-default with vdelivermail, will sieve still work?

Reply | Permalink

No

No

Reply | Permalink

No

So there is no way to have sieve and autoresponder to work together?

Reply | Permalink

No

https://plugins.roundcube.net/packages/gabtoth/vacation take a look to this RC plugin which can work as an autoresponder writing a sieve rule for you

Reply | Permalink

No

This plugin does not work. But the roundcube managesieve plugin works perfectly. With the latest version of roundcube 1.4.1, auto reply and email forwarding works side by side.

Thanks Roberto for the heads up with roundcube plugin

Reply | Permalink

No

No. And I think that this shouldn't be  considered a problem. Why let users use qmailadmin if they already have what they need with sieve via webmail?

Reply | Permalink

No

Hello Roberto,

I set up qmailadmin with the latest patch, everything working but:

- in the adminitration panel I can see "Messaggi inviati ad indirizzi non esistenti : raccolti dalla casella pred. user@$USER"

- if I set-up the catch-all account, qmail rewrites the .qmail-default file of the domain as | /home/vpopmail/bin/vdelivermail '' catchall@domain.com

So I have to manually re-edit the .qmail-default file.

Is there a way to tell qmail to use the vdeliver standard .qmail-file (/var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -d $EXT@$USER) ?

Thank you as always for your great support !

Reply | Permalink

No

Unfortunately there is no way to customize the line written by qmailadmin in the .qmail-default file (/var/qmail/bin/preline -f /usr/local/dovecot/libexec/dovecot/deliver -d $EXT@$USER), but patching would be needed. Anyway you can't have both .qmail files logic and dovecot-lda + sieve.

One have to choose between dovecot-lda/sieve and vdelivermail/.qmail files. In the first case users' .qmail files are ignored and setting the catchall and autoresponder is useless, in the second case you can't have sieve rules working

Reply | Permalink

No

Thank you very much Roberto, good to know !

(GRAZIE come sempre per il tuo prezioso supporto !)

Reply | Permalink

inter7 change site, i dont find autorespond

Hi Roberto.

Inter7 change all site, and i dont find autorespond.. see:

 wget -c  http://www.inter7.com/devel/autorespond-2.0.5.tar.gz
--2015-04-12 12:40:54--  http://www.inter7.com/devel/autorespond-2.0.5.tar.gz
Resolving www.inter7.com (www.inter7.com)... 184.154.94.18
Connecting to www.inter7.com (www.inter7.com)|184.154.94.18|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-04-12 12:40:55 ERROR 404: Not Found.

Reply | Permalink

Thanks for the advise. I have

Thanks for the advise. I have linked my local copy

Reply | Permalink

Add a comment