autorespond

April 14, 2018 by Roberto Puzzanghera 17 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 written qmail-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

Any Vacation module to replace Autorepsond

Hi Mr Roberto,

so far the autorespond no longer working in vpopmail, any solution for replacement which users can create themselves in Roundcube webmail?

thank you

Reply |

Any Vacation module to replace Autorepsond

Actually you can do it by means of a sieve rule (RC managesieve plugin). Remember to configure dovecot-lda as your delivery agent, otherwise it won't work.

Reply |

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 |

you have to set vdelivermail as your delivery agent

Reply |

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 |

Yes

Yes

Reply |

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

Reply |

No

No

Reply |

No

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

Reply |

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 |

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 |

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 |

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 |

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 |

No

Thank you very much Roberto, good to know !

(GRAZIE come sempre per il tuo prezioso supporto !)

Reply |

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 |

Thanks for the advise. I have

Thanks for the advise. I have linked my local copy

Reply |