LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2010, 08:03 PM   #1
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Rep: Reputation: 33
How to configure Auto responder in squirrelmail / sendmail


Hi,

Can anyone let me know how to configure auto responder / out of office reply in sendmail / squirrelmail. I tried to get plugin local_autoresponder_forward from squirrelmail.org , but it is given in the readme file that it only works when sendmail having enabled this feature.
I am using virtualmin for sendmail and i have this feature enable by default in virtualmin and usermin but my users use squirrelmail for mail access??

Any suggestion would be really appreciated.
 
Old 02-18-2010, 05:12 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,438

Rep: Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739
Hi,

Sendmail comes with a program named vacation, that is used as an autoresponder.
You should read this howto (skip the first 6 steps, as there is no need to reinstall vacation) to configure the plugn

Regadrs

Last edited by bathory; 02-18-2010 at 09:04 AM. Reason: missed link
 
Old 02-18-2010, 08:57 AM   #3
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
Hi,

Sendmail comes with a program named vacation, that is used as an autoresponder.
You should read this howto (skip the first 6 steps, as there is no need to reinstall vacation) to configure the plugn

Regadrs
Thanks for the reply , but i think by mistake you missed out howto link
Could you please paste it again.
 
Old 02-18-2010, 09:04 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,438

Rep: Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739
Oups sorry,

I've edited the previous post and added the link

Cheers
 
Old 02-18-2010, 09:59 PM   #5
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
Oups sorry,

I've edited the previous post and added the link

Cheers
Thanks again for the update, I added successfully Auto responder in squirrelmail , but i do not find my sendmail compile with vacation plugins , i have installed my sendmail through FAQ at sendmail.org becuase i wanted to use backup of all incoming / outgoing mail through logall.c file. Here is the information below and Kindly suggest.

Code:
> ls -l /etc/smrsh
total 0
lrwxrwxrwx 1 root root 33 Feb 17 15:06 autoreply.pl -> /etc/usermin/forward/autoreply.pl
lrwxrwxrwx 1 root root 30 Feb 17 15:06 filter.pl -> /etc/usermin/forward/filter.pl
> rpm -qa |grep -i sendmail
sendmail-devel-8.13.8-2%{dist}
sendmail-cf-8.13.8-2%{dist}
sendmail-doc-8.13.8-2%{dist}
sendmail-8.13.8-2%{dist}
there is no vacation file in the location and when i tried to install from the step 1-6 it does not allow me to run 'make' command??
Code:
> cd /tmp/vacation-1.2.6.4
> make
gcc  -Wall -D_FORTIFY_SOURCE=2  -Xlinker -warn-common -D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c -lgdbm
make: gcc: Command not found
make: *** [vacation] Error 127

And i  am getting error in the mail like this.
The original message was received at Fri, 19 Feb 2010 09:11:46 +0530
from localhost.localdomain [127.0.0.1]

   ----- The following addresses had permanent fatal errors -----
"|/usr/bin/vacation vijay"
    (reason: Service unavailable)
    (expanded from: <vijay@mailserver.example.com>)

   ----- Transcript of session follows -----
smrsh: "vacation" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable
 
Old 02-19-2010, 12:20 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,438

Rep: Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739
So it looks like rhel does not come with vacation. You can try to use the fedora package that suits your rhel version.
If you want to compile vacation from source, then you'll need gcc and other development tools that you can install from your distro's installation disc.
 
Old 02-19-2010, 02:17 AM   #7
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
So it looks like rhel does not come with vacation. You can try to use the fedora package that suits your rhel version.
If you want to compile vacation from source, then you'll need gcc and other development tools that you can install from your distro's installation disc.
Thanks for reply again,
I treid with Fedora vacation rpm but could not get through.
Code:
> rpm -ivh vacation-1.2.7.0-7.fc12.x86_64.rpm
warning: vacation-1.2.7.0-7.fc12.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 57bbccba
error: Failed dependencies:
	rpmlib(FileDigests) <= 4.6.0-1 is needed by vacation-1.2.7.0-7.fc12.x86_64
	rpmlib(PayloadIsXz) <= 5.2-1 is needed by vacation-1.2.7.0-7.fc12.x86_64
Check so many stuff on google but unable to resolve this dependencies errors
 
Old 02-19-2010, 02:59 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,438

Rep: Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739Reputation: 1739
This is not a dependency problem, but it means that the package was compiled with a newer rpm version.
Try the other packages for fc10 or fc11 to see if you get more lucky, or use the installation disc to install the development tools (like gcc, automake, autoconf compatibility libraries etc)
 
Old 02-19-2010, 04:01 AM   #9
mail4vijay
Member
 
Registered: Oct 2009
Location: Delhi
Distribution: CentOS , RHEL
Posts: 214

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by bathory View Post
This is not a dependency problem, but it means that the package was compiled with a newer rpm version.
Try the other packages for fc10 or fc11 to see if you get more lucky, or use the installation disc to install the development tools (like gcc, automake, autoconf compatibility libraries etc)
Thanks once again i took vacation-1.2.7.0-7.fc10.x86_64.rpm from your mentioned link and it is working for me now . Still on the way to test with virtulmin users but working as if now with local linux users.

Thanks for all your help for sure. You are Rock!!!
 
  


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 On
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
can not sendmail using squirrelmail tawjoe Linux - Server 3 06-14-2007 10:23 AM
Vacation Auto responder DB_File.pm Error jamluv Linux - Software 2 12-10-2006 11:28 PM
How do you setup Sendmail + Squirrelmail dethalis Linux - Server 2 09-02-2006 12:23 PM
sendmail auto responder archangel Linux - Software 3 07-13-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration