autorespond

April 14, 2018 Roberto Puzzanghera11 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.

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

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