LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-31-2010, 03:41 AM   #1
wasamzy
Member
 
Registered: Apr 2009
Location: Ghana Accra
Posts: 64

Rep: Reputation: 15
qmail + vpopmail with procmail


The only problem I am still having is how to tell qmail and vpopmail to use procmail for mail fitering.

I have my /etc/procmailrc like this:
DEFAULT="/home/vpopmail/bin/vdelivermail"

and my /home/vpopmail/domain/mydomain.com

in .qmail-default:

|preline -m -t procmail /etc/procmailrc
| /home/vpopmail/bin/vdelivermail ' ' bounce-no-mailbox

When I send mails from remote to user, the mails never gets delivered but bounces back saying there is no mailbox by that name. But when I remove the | preline -m -t procmail /etc/procmailrc, the mails get delivered.

Please help me out. What do I need to do for the procmail to support my virtual domains?
 
Old 04-02-2010, 09:40 PM   #2
mcleod
LQ Newbie
 
Registered: Mar 2010
Posts: 14

Rep: Reputation: 2
see this page:

http://www.ii.com/internet/robots/procmail/qs/#qmail

try the lines and report what works best.

hth

Mcleod
 
1 members found this post helpful.
Old 04-07-2010, 09:02 AM   #3
wasamzy
Member
 
Registered: Apr 2009
Location: Ghana Accra
Posts: 64

Original Poster
Rep: Reputation: 15
Thank you so much. This works for me:
|preline procmail -m -p -t /etc/procmailrc
 
Old 04-09-2010, 10:05 AM   #4
mcleod
LQ Newbie
 
Registered: Mar 2010
Posts: 14

Rep: Reputation: 2
Wink Thread Closed, problem solved

Quote:
Originally Posted by wasamzy View Post
Thank you so much. This works for me:
|preline procmail -m -p -t /etc/procmailrc
No problem. You should closed this thread. because you're problem is solved now.
 
  


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
formail fails on virtual user [qmail,vpopmail,procmail,formail] jonavogt Linux - Networking 2 01-15-2009 09:29 AM
qmail/vpopmail not putting mails in /home/vpopmail/domain/$USER/Maildir kikola Slackware 0 10-10-2006 08:52 AM
qmail+vpopmail mdnair Linux - Networking 0 09-25-2004 03:35 AM
qmail, vpopmail ETeria Linux - Networking 7 12-04-2003 04:01 PM
qmail+vpopmail+mysql injun Linux - Networking 0 10-23-2003 04:20 AM

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

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