I know this thread is old... but I wanted to see if my logic applies:
Using the same setup as Wido...
Code:
autorespond unix - n n - - pipe flags=F
user=nobody argv=/usr/local/bin/autorespond ${sender} ${recipient}
I would create a vacation tld just to use as a fake in my domains table:
Code:
mysql> select * from domains;
+------------------+
| domain |
+------------------+
| example.com |
| vaca.example.com |
+------------------+
2 rows in set (0.00 sec)
In the forwardings table, I'll forward mail for my example user so that it will deliver to the user's mailbox as well as a user on the vacation tld:
Code:
mysql> select * from forwardings;
+------------------+----------------------------------------+
| source | destination |
+------------------+----------------------------------------+
| user@example.com | user@example.com,user@vaca.example.com |
+------------------+----------------------------------------+
1 row in set (0.00 sec)
Then in the transport table, I set up so that mail for any user on the vacation tld is forwarded to the autoresponder:
Code:
mysql> select * from transport;
+-------------------+--------------+
| domain | transport |
+-------------------+--------------+
| @vaca.example.com | autorespond: |
+-------------------+--------------+
1 row in set (0.00 sec)
Theoretically then, anything sent to a @vaca.example.com email address will get piped to the autoresponder -- does that sound correct?
Question 2 is -- suppose I forwarded the mail to user@example.com@vaca.example.com -- would that work properly? Does that give me any benefit here?
Thanks!
Caio
Recent comments
1 day 19 hours ago
2 days 4 hours ago
2 days 7 hours ago
2 days 8 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 13 hours ago
2 days 14 hours ago
3 days 6 hours ago
3 days 7 hours ago