LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-06-2008, 04:40 PM   #1
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 0
procmail Autoresponder for Postfix


How to use procmail as a autoreply for any email account in postfix email server.

please provide me its answer in detail...........
 
Old 09-06-2008, 05:41 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Welcome to LQ. A detailed example is available in the procmailex man page, but you might as well use vacation, instead.
 
Old 09-09-2008, 04:38 PM   #3
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I want to configure postfix few email address for autoreply, there is no concern, which tool we use, I need only solution. I can't go through the above answer, i try to read man.
Please provide me solution in step by step. I used the below link info, but posfix service failed to run after changes ins master.cf file mention at that link.

http://www.fly.hgc.com.tw/books/Orei...ve%20Guide%20-[%20html%20]/source/0596002122_postfix-chp-8-sect-5.html

Last edited by javed_dogar; 09-09-2008 at 05:10 PM.
 
Old 09-09-2008, 04:50 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Vacation is pretty straightforward to use. You could also use yaa - see http://www.postfix.org/addon.html
 
Old 09-10-2008, 03:55 PM   #5
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I successfuly configured autoreply using below link. Kindly provide me detail info or website, how to use vacation tool.

http://www.fly.hgc.com.tw/books/Orei...ve%20Guide%20-[%20html%20]/source/0596002122_postfix-chp-8-sect-5.html
 
Old 09-10-2008, 04:15 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Start here http://www.csamuel.org/software/vacation/
 
Old 09-25-2008, 10:27 AM   #7
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I installed vacation RPM and create .forward and .vacation.msg file in Home Directory of User. After it Run vacation -I command.

For example, your .forward file might have:

\javed, "|/usr/bin/vacation javed"

in your home directory. Vacation expects a file .vacation.msg, in your home directory, containing a message to be sent back to each sender. It should be an entire message. For example, it might contain:

From: Javed dogar
Subject: I am out off office.

Sorry, but I cannot read your email message. I am on holiday
Please contact my friends for any issue or 0333-4045603.

But unfortunately,can't get autoreply. Please provide me any link about complete detail of vacation tool.
 
Old 09-25-2008, 04:59 PM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Do you get any messages in your logs?

Last edited by billymayday; 09-25-2008 at 05:12 PM.
 
Old 09-25-2008, 11:44 PM   #9
javed_dogar
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for help, I solved my problem through below mentioned detail; My problem was in rpm package, I download new package from below mentioned site; Now it is working.

Vacation doesn't come included as standard with most linux distros. You can get the rpm at
http://www.tuxfan.homeip.net:8080/rp...2.6-1.i386.rpm

" Login with required user, like su - javed
" Run vacation command, like $vacation without interactive switch -I, now it will automatically create .forward and .vacation.msg file. Edit msg file as per requirement.
" Now run command $vacation -I to activate the changes.
" By default auto reply to one sender one time weekly. For further detail see man vacation.
 
  


Reply



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
LXer: Setup a Spam-Proof Vacation Autoresponder with Procmail + Sendmail LXer Syndicated Linux News 0 03-19-2008 01:50 PM
Need help POSTFIX,PROCMAIL tkmuthuvel Linux - General 9 04-18-2006 11:31 PM
need Procmail or postfix information tkmuthuvel Linux - Networking 1 04-11-2006 11:35 AM
postfix - procmail, fetchmail varun_saa Mandriva 3 09-11-2005 12:53 AM
Using Procmail with Postfix jomy Linux - Networking 1 06-05-2005 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:25 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