|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Autorespond and forwardI've this configuration:
email1@... email2@... I've set the autorespond (http://www.inter7.com/devel/autorespond-2.0.5.tar.gz) with qmailadmin for the two address. For email1@... i've set the forward to email2@... too. So the .qmail file for the two address are: &email2@... /home/vpopmail/domains/domain.com/bounces/Maildir/ | /usr/bin/autorespond 86400 3 /home/vpopmail/domains/domain.com/bounces/vacation/message /home/vpopmail/domains/domain.com/bounces/vacation /home/vpopmail/domains/domain.com/bounces/Maildir/ | /usr/bin/autorespond 86400 3 /home/vpopmail/domains/domain.com/bounces/vacation/message /home/vpopmail/domains/domain.com/bounces/vacation If i send a message to email1@..., i receive two message one from email1@... and one from email2@.... I would like receive only the autorespond from email1@.... Is possible? Thank you, Mario. |
|
|
Re: Autorespond and forwardOn Tue, Nov 03, 2009 at 10:15:36AM +0100, mario fibbi wrote:
> So the .qmail file for the two address are: > > &email2@... This is a hack. Manually change the above address to |(echo 'Auto-submitted: auto-generated'; cat ) |forward email2@... The added header will (at least should) prevent the autoresponder (and all other robots and programs) from auto-answering that mail. See http://tools.ietf.org/html/rfc3834 \Maex |
|
|
Re: Autorespond and forward2009/11/3 Markus Stumpf <lists-qmail@...>
I've change this: &email2@... /home/vpopmail/domains/domain.com/bounces/Maildir/ | /usr/bin/autorespond 86400 3 /home/vpopmail/domains/domain.com/bounces/vacation/message /home/vpopmail/domains/domain.com/bounces/vacation into |(echo 'Auto-submitted: auto-generated'; cat ) |forward email2@... /home/vpopmail/domains/domain.com/bounces/Maildir/ | /usr/bin/autorespond 86400 3 /home/vpopmail/domains/domain.com/bounces/vacation/message /home/vpopmail/domains/domain.com/bounces/vacation The response is one, but comes form email2@.... I would from email1@... Mario. |
|
|
Re: Autorespond and forwardOn Tue, Nov 03, 2009 at 12:10:43PM +0100, mario fibbi wrote:
> |(echo 'Auto-submitted: auto-generated'; cat ) |forward email2@... > /home/vpopmail/domains/domain.com/bounces/Maildir/ > | /usr/bin/autorespond 86400 3 /home/vpopmail/domains/ > domain.com/bounces/vacation/message /home/vpopmail/domains/ > domain.com/bounces/vacation Looks good to me (if the last 3 lines are actually one single line) However I don't understand the behaviour at all. Ok, should have looked at the soure code first. Sorry! The autoresponder doesn't honor "Auto-submitted" headers. *sigh* So please change |(echo 'Auto-submitted: auto-generated'; cat ) |forward email2@... to |(echo 'Precedence: bulk'; cat ) |forward email2@... That should fix the problem to get an auto-answer from email2@.... As to why you didn't get a message from user1: There is a limit you have set: 86400 3 Maybe this limit was met? \Maex |
|
|
Re: Autorespond and forward2009/11/3 Markus Stumpf <lists-qmail@...> Yes.
Great, it works!!! As to why you didn't get a message from user1: Thak you, Mario. |
| Free embeddable forum powered by Nabble | Forum Help |