dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Server: Autoresponder for webmaster  (Read 2308 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6651
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Yesterday at 09:38:10 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Server: Autoresponder for webmaster
« on: May 05, 2016, 07:43:56 AM »
vacation installed from the PUIAS rpm.

http://comments.gmane.org/gmane.linux.centos.general/139752:
http://www.ducea.com/2008/11/05/howto-setup-vacation-using-postfix-on-debian-etch/
https://docs.oracle.com/cd/E19120-01/open.solaris/819-1634/mailrefer-39/index.html

For a local setup (no virtual mail users), install vacation-1.2.7.0-7.puias6.x86_64

EXTRA, undocumented but needed for centOS6 repository: create /etc/repos.d/puias-client

[puias-client]
name=PUIAS Client
baseurl=http://puias.math.ias.edu/data/puias/6/x86_64/os/Addons/
enabled=1
gpgcheck=0


then on the right user:

-create database:

# vacation -I -t 0<--- this is undocumented but set the time for autoREesponding to 0.

- create a file called .vacation.msg in the home of the user; for example this might look like:

Subject: Re: $SUBJECT

*body of email goes here* eg.:

Code: [Select]
Subject: Re: $SUBJECT

WARNING - "webmaster" is an unattended user mailbox but may occasionally send you an email.

You may have tried to reply to a 'PM Notification' email and if so, your reply will never be seen by the PM's recipient.

Instead, login to the forum and open your Notification email via "Messages" (or try to take the link in the email).

Do NOT reply to this email either.

Please address all regular correspondence to the smfadmin user mailbox instead.

- Finally you need to trigger the activation of the vacation auto-reply when an email is received by the user. This can be done in different ways, using a .forward file or procmail, etc so create a file called .forward to keep one copy of the email local and to pipe it also to vacation you would need to create the file (replace username with the actual user name):

\webmaster, "|/usr/bin/vacation webmaster"
« Last Edit: April 15, 2021, 12:17:29 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal