Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Kelly Jones
I'm using 'vacation' as an autoresponder, but can't seem to customize
.vacation.msg to include the subject, sender, recipient, etc.

Is there a way to do this?

If not, is there a better autoresponder I can use?

I realize I could write one myself, but I'd prefer to use an existing
solution.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Wojciech Puchar



I'm using 'vacation' as an autoresponder, but can't seem to customize
.vacation.msg to include the subject, sender, recipient, etc.

Is there a way to do this?

yes.

example .vacation.msg:

From: some...@somewhere
Subject: Out of Office

I am out of office until i will be back.

Best regards
Someone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Dimitri Yioulos
On Friday 29 May 2009 1:23:22 pm Kelly Jones 
wrote:
 I'm using 'vacation' as an autoresponder, but
 can't seem to customize .vacation.msg to
 include the subject, sender, recipient, etc.

 Is there a way to do this?

 If not, is there a better autoresponder I can
 use?

 I realize I could write one myself, but I'd
 prefer to use an existing solution.


IIRC, .vacation.msg should live in each user's 
home directory.  .forward is responsible for 
actually enabling 'vacation' for any particular 
user.  The format for including the subject and 
sender, at least, is simply:

From: Alfred E. Neuman aeneu...@mycompany.com
Subject: Out of Office

at the top of .vacation.msg.

HTH

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Kelly Jones
Woops, that's not quite what I meant, sorry. I meant something like:

From: some...@somewhere
Subject: Re: {subject of message you sent}

Dear {email address of person who sent message},

You recently sent an email to {to address of messages}...

and so on. I realize the to address is often fixed, but I'm doing this
in virtusertable/aliases as:

@foo.com autoreply
autoreply: |/usr/bin/vacation ...

so the to address might be a...@foo.com for one message,
x...@foo.com for another message, etc.

In other words, a true autoresponder.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

On 5/29/09, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

 I'm using 'vacation' as an autoresponder, but can't seem to customize
 .vacation.msg to include the subject, sender, recipient, etc.

 Is there a way to do this?
 yes.

 example .vacation.msg:

 From: some...@somewhere
 Subject: Out of Office

 I am out of office until i will be back.

 Best regards
 Someone
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Peter Boosten
Kelly Jones wrote:
 Woops, that's not quite what I meant, sorry. I meant something like:
 
 From: some...@somewhere
 Subject: Re: {subject of message you sent}
 
 Dear {email address of person who sent message},
 
 You recently sent an email to {to address of messages}...
 
 and so on. I realize the to address is often fixed, but I'm doing this
 in virtusertable/aliases as:
 
 @foo.com autoreply
 autoreply: |/usr/bin/vacation ...
 
 so the to address might be a...@foo.com for one message,
 x...@foo.com for another message, etc.
 
 In other words, a true autoresponder.
 

Hmmm, procmail might be able to do that with the right recipe.

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Karl Vogel
 On Fri, 29 May 2009 11:03:16 -0700, 
 Kelly Jones kelly.terry.jo...@gmail.com said:

K The to address might be a...@foo.com for one message, x...@foo.com for
K another message, etc.  In other words, a true autoresponder.

   If you use procmail, there's a dandy recipe in the examples man page
   (man procmailex) which does exactly what you want.

   Source: http://www.procmail.org/
   Tips: http://lipas.uwasa.fi/~ts/info/proctips.html

-- 
Karl Vogel  I don't speak for the USAF or my company

Piece of crap printer
Soars like a sparrow as I
Heave it off the bridge.--geek haiku
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org