LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2010, 07:34 AM   #1
wasamzy
Member
 
Registered: Apr 2009
Location: Ghana Accra
Posts: 64

Rep: Reputation: 15
Mail Delivery


Hi,

I have in my /home/vpopmail/domains/domain/.qmai-default

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


Which the first line is passing the mails to procmail and the second is delivering the mails directly to the recipients.

Now my problem is, I want procmail to takecare of the delivery. But when I remove the second line, and put this in procmail:
DEFAULT= | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

The mails are not being deliver any more, and I don't kow where they been kept.

For example, if I have a rule in procmail like this:
:0H
* ^To.*postmaster@dot.com.gh
/dev/null

which said to delete any message to postmaster@dot.com.gh, I can see the mails are still being delivered.

How can I achive my goal please any one to help?

Regards

Emmanuel
 
Old 11-27-2010, 02:05 PM   #2
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
In your /etc/procmailrc put a line like this at the top:

Code:
LOGFILE="/var/log/procmail.log"
Then watch that log file to see exactly what procmail is doing.
 
  


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
mail delivery basak Linux - Networking 4 11-27-2010 10:21 AM
E-Mail Read Receipt E-Mail Delivery Status E-Mail tracking number. ytd Linux - Software 3 02-14-2009 04:02 AM
Serious problem with mail delivery raven Linux - Server 1 05-30-2008 06:54 PM
Local Mail delivery gabsik Linux - Networking 0 01-09-2007 07:43 AM
sendmail mail delivery Ammad Linux - Networking 2 11-30-2006 12:32 AM

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

All times are GMT -5. The time now is 10:24 PM.

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