LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-22-2009, 01:17 PM   #1
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Rep: Reputation: 0
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
 
Old 07-22-2009, 01:43 PM   #2
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
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.
 
Old 07-22-2009, 02:22 PM   #3
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
Old 07-22-2009, 02:35 PM   #4
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
[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.
 
Old 07-22-2009, 02:39 PM   #5
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
[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
 
Old 07-22-2009, 04:56 PM   #6
cngordon
LQ Newbie
 
Registered: Aug 2008
Posts: 19

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Auto Responder jnicou Linux - Server 5 03-28-2012 12:45 PM
LXer: Installing The Link Layer Topology Discovery (LLTD) Protocol Responder For Linu LXer Syndicated Linux News 0 11-12-2008 10:30 PM
Vacation Auto responder DB_File.pm Error jamluv Linux - Software 2 12-10-2006 11:28 PM
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
sendmail auto responder archangel Linux - Software 3 07-13-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration