Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Away message and Multiuser-Addresses

9 views
Skip to first unread message

Denis Witt

unread,
Sep 6, 2012, 11:24:33 AM9/6/12
to
Hi All,

at the moment we're using "usermin" for Away messages (.forward and a
perl script). This works fine for single user E-Mail-Addresses but for
example our "info"-Address is sent (via /etc/aliases) to several users.
If one or more of those users have set up an away message the sender
will receive one or more replies.

Can somebody recommend some kind of Vacation-Tool which allows
to manage this situation properly? (And may be capable of removing the
Away-Message at a given date automatically? ;)

Thanks in advance.

Best regards
Denis Witt

/dev/rob0

unread,
Sep 6, 2012, 2:24:41 PM9/6/12
to
I don't know if the problem is the tool. Consider using
recipient_delimiter and multiple .forward files as needed:

main.cf ::

# "+" is the defacto default, but if you plan to use these
# extensions externally, expect trouble. Stupid web software which
# was written by people who don't know that all printable characters
# are valid in address localparts will reject your + addresses.
recipient_delimiter = +

/etc/aliases ::

info: user1+info@localhost, user2+info@localhost[, ... ]

Assuming HOME=/home/user1, in ~user1/.forward+info ::

/home/user1/path/to/maildir/for/info/mail/

Assuming HOME=/home/user2, in ~user2/.forward+info ::

/home/user2/path/to/maildir/for/info/mail/

These ~/.forward+info files will override any generic ~/.forward
files, so there will not be any vacation replies. You can sort the
mail directly into an IMAP subfolder to which the user can subscribe
in his/her IMAP client.
--
http://rob0.nodns4.us/ -- system administration and consulting
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Denis Witt

unread,
Sep 7, 2012, 4:13:28 AM9/7/12
to
On Thu, 6 Sep 2012 13:24:41 -0500
/dev/rob0 <ro...@gmx.co.uk> wrote:

> I don't know if the problem is the tool. Consider using
> recipient_delimiter and multiple .forward files as needed:

Hi Rob,

thanks for you reply. Sounds fine, I'll give it a try.

Anyway if anyone could recommend another Vacation-Tool which supports
(start and) end-dates for removing the Away-Message automatically it
would be very nice.

Best regards
Denis Witt

Reindl Harald

unread,
Sep 7, 2012, 4:17:53 AM9/7/12
to
dbmail supports this native, one of the reasons we decided to use it
but this is a completly different solution (IMAP/POP3/LMTP/SIEVE)

CREATE TABLE `dbmail_auto_replies` (
`user_idnr` bigint(20) unsigned NOT NULL DEFAULT '0',
`start_date` datetime NOT NULL,
`stop_date` datetime NOT NULL,
`reply_body` mediumtext,
KEY `user_idnr_index` (`user_idnr`),
CONSTRAINT `dbmail_auto_replies_ibfk_1` FOREIGN KEY (`user_idnr`) REFERENCES `dbmail_users` (`user_idnr`) ON
DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED

signature.asc

Bastian Blank

unread,
Sep 7, 2012, 8:32:07 AM9/7/12
to
On Thu, Sep 06, 2012 at 05:24:33PM +0200, Denis Witt wrote:
> at the moment we're using "usermin" for Away messages (.forward and a
> perl script). This works fine for single user E-Mail-Addresses but for
> example our "info"-Address is sent (via /etc/aliases) to several users.
> If one or more of those users have set up an away message the sender
> will receive one or more replies.

RFC 3834 describes how and when to do auto-replys..

> Can somebody recommend some kind of Vacation-Tool which allows
> to manage this situation properly? (And may be capable of removing the
> Away-Message at a given date automatically? ;)

I prefer the vacation extension of Sieve. The implementations should
properly check for this.

Bastian

--
Extreme feminine beauty is always disturbing.
-- Spock, "The Cloud Minders", stardate 5818.4

Denis Witt

unread,
Sep 7, 2012, 10:58:52 AM9/7/12
to
On Fri, 07 Sep 2012 10:17:53 +0200
Reindl Harald <h.re...@thelounge.net> wrote:

> dbmail supports this native, one of the reasons we decided to use it
> but this is a completly different solution (IMAP/POP3/LMTP/SIEVE)

Hi Harald,

dbmail looks nice but you're right that it's a too complex change of
our current setup just for a vacation feature. :)

Thanks anyway.

Best regards
Denis Witt

Denis Witt

unread,
Sep 7, 2012, 11:04:02 AM9/7/12
to
On Fri, 7 Sep 2012 14:32:07 +0200
Bastian Blank <bastian+postfix-users=postf...@waldi.eu.org> wrote:

> I prefer the vacation extension of Sieve. The implementations should
> properly check for this.

Hi Bastian,

personally I use sieve for Away-Messages but it's too complex for most
of my users. Roundcube has some kind of nice interface for this task
but all users have more than one Mailaddress and I assume that some of
them will not "register" them correctly.

Do you know some other easy to use Sieve-Frontend?

Best regards
Denis Witt

John Hinton

unread,
Sep 7, 2012, 11:58:03 AM9/7/12
to
On 9/7/2012 4:17 AM, Reindl Harald wrote:
>
> Am 07.09.2012 10:13, schrieb Denis Witt:
>> On Thu, 6 Sep 2012 13:24:41 -0500
>> /dev/rob0 <ro...@gmx.co.uk> wrote:
>>
>>> I don't know if the problem is the tool. Consider using
>>> recipient_delimiter and multiple .forward files as needed:
>> Hi Rob,
>>
>> thanks for you reply. Sounds fine, I'll give it a try.
>>
>> Anyway if anyone could recommend another Vacation-Tool which supports
>> (start and) end-dates for removing the Away-Message automatically it
>> would be very nice.
> dbmail supports this native, one of the reasons we decided to use it
> but this is a completly different solution (IMAP/POP3/LMTP/SIEVE)
>
> CREATE TABLE `dbmail_auto_replies` (
> `user_idnr` bigint(20) unsigned NOT NULL DEFAULT '0',
> `start_date` datetime NOT NULL,
> `stop_date` datetime NOT NULL,
> `reply_body` mediumtext,
> KEY `user_idnr_index` (`user_idnr`),
> CONSTRAINT `dbmail_auto_replies_ibfk_1` FOREIGN KEY (`user_idnr`) REFERENCES `dbmail_users` (`user_idnr`) ON
> DELETE CASCADE ON UPDATE CASCADE
> ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED
>
As you are already using Webmin/Usermin.... You can set Auto replies
with start and end dates using Virtualmin. There is a little pull down
arrow at the bottom of the Mail Forwarding Setting box to show these
options.

--
John Hinton
877-777-1407 ext 502
http://www.ew3d.com
Comprehensive Online Solutions

Denis Witt

unread,
Sep 7, 2012, 12:58:07 PM9/7/12
to
On Fri, 07 Sep 2012 11:58:03 -0400
John Hinton <webm...@ew3d.com> wrote:

> As you are already using Webmin/Usermin.... You can set Auto replies
> with start and end dates using Virtualmin. There is a little pull
> down arrow at the bottom of the Mail Forwarding Setting box to show
> these options.

Hi John,

oh, thanks. Sounds good, I'll try it on Monday. Have a nice weekend.

Best regards
Denis Witt

0 new messages