Vacation Responder on LAMP
Mailserver is a Fedora 11 box, with dovecot, postfix, and Roundcube 0.3 installed.
Trying to get the Vacation Pugin ( http://peterruiter.com/2009/07/05/ro...-reply-plugin/) working in RoundCube, but the first step appears to be to install the Vacation program from Sourceforge http://sourceforge.net/projects/vacation/ I've never used the compiler before and i don't really see the included doc files how to do that. I un-tarred the files into /usr/src/vacation-1.2.7.0. I modified the path in the makefile to be /usr/local instead of just /usr as recommended in the included documentation. When i issue the command "make" i get: [root@mailserver vacation-1.2.7.0]# make gcc -g -Wall -DMAIN -Xlinker -warn-common -D_PATH_VACATION=\"/usr/local/bin/vacation\" -o vacation vacation.c strlcpy.c strlcat.c rfc822.c -lgdbm make: gcc: Command not found make: *** [vacation] Error 127 If i issue the command "make -f Makefile" i get the same results. In the Makefile is: # PREFIX for Linux PREFIX = /usr/local endif # where things go BINDIR = $(PREFIX)/bin VACATION = $(BINDIR)/vacation VACLOOK = $(BINDIR)/vaclook MANDIR = $(PREFIX)/man/man MANEXT1 = 1 /usr/local/bin/vacation does not exist, should i be creating that directory as well as it's sub-dirs ? OR, anyone happen to have made an RPM compatible with Fedora 11 ? Cal G |
is gcc installed on your fedora box, if i remember correctly, as with suse, fedora doesn't install gcc by default. my advice would be to check wether gcc was installed.
Since the installer notices that the command gcc is not found. |
LOL, ok, i did a yum install gcc. Ouch, that hurts.
now: [root@mailserver vacation-1.2.7.0]# make gcc -g -Wall -DMAIN -Xlinker -warn-common -D_PATH_VACATION=\"/usr/local/bin/vacation\" -o vacation vacation.c strlcpy.c strlcat.c rfc822.c -lgdbm [root@mailserver vacation-1.2.7.0]# make install install -s -m 755 vacation /usr/local/bin/vacation install -m 755 vaclook /usr/local/bin/vaclook ./html2man.pl < vacation.html > /usr/local/man/man1/vacation.1 /bin/sh: /usr/local/man/man1/vacation.1: No such file or directory make: *** [install] Error 1 |
[root@mailserver bin]# ls -lh /usr/local/bin/
total 24K -rwxr-xr-x 1 root root 18K 2009-07-22 13:54 vacation -rwxr-xr-x 1 root root 466 2009-07-22 13:54 vaclook It appears it worked with the exclusion of the creation of the man page. |
[root@mailserver bin]# echo $PATH
/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin /usr/local/bin appears to be in the current path so this just may fly. Cal G Thanks for the hot tip Puntjuh |
Next:
I'm hoping that someone on this forum has installed this before. I copied the vacation plugin into the plugins directory, and restarted httpd and the Auto-reply/Out-of-Office Notification now appears in the Preferences tab. I did a "vacation -I" as a user and ".vacation.db" appears in the home dir. I used the webbased tool to invoke an auto reply, then emailed that account but did not get a reply. the maillog shows: [root@mailserver someuser]# tail -f -n 10 /var/log/maillog | grep someuser@somecompany Jul 22 16:28:01 mailserver postfix/local[22263]: E881C2E6C410: to=<someuser@somecompany.com>, relay=local, delay=3.3, delays=3.3/0/0/0, dsn=2.0.0, status=sent (delivered to maildir) How does postfix know that it should be doing something different than before ? where's the hook ? How can i read the .vacation.db from a text based ssh terminal to know if it's contents are actually what i asked them to be ? Cal G |
All times are GMT -5. The time now is 04:15 PM. |