LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to configure Auto responder in squirrelmail / sendmail (https://www.linuxquestions.org/questions/linux-general-1/how-to-configure-auto-responder-in-squirrelmail-sendmail-789829/)

mail4vijay 02-17-2010 08:03 PM

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.

bathory 02-18-2010 05:12 AM

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

mail4vijay 02-18-2010 08:57 AM

Quote:

Originally Posted by bathory (Post 3867949)
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.

bathory 02-18-2010 09:04 AM

Oups sorry,

I've edited the previous post and added the link

Cheers

mail4vijay 02-18-2010 09:59 PM

Quote:

Originally Posted by bathory (Post 3868158)
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


bathory 02-19-2010 12:20 AM

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.

mail4vijay 02-19-2010 02:17 AM

Quote:

Originally Posted by bathory (Post 3868999)
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

bathory 02-19-2010 02:59 AM

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)

mail4vijay 02-19-2010 04:01 AM

Quote:

Originally Posted by bathory (Post 3869106)
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!!!


All times are GMT -5. The time now is 07:51 AM.