LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2006, 05:05 AM   #1
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
Procmail problem


I am fetching mails from our remote mailserver to a local user by the name 'admin' , from there i am distributing it to various users

my .fetchmailrc file


# Configuration created Mon Nov 14 14:02:35 2005 by fetchmailconf 1.51 $Revision: 4383 set daemon 120
set postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""

poll mail.unitedbearing.net with proto POP3
user 'sales.unitedbearing.net' there with password <password> is 'admin' here options no fetchall

smtphost localhost

mda '/usr/bin/procmail -d admin '

poll mail.unitedbearing.net with proto POP3
user 'admin.unitedbearing.net' there with password <password> is 'admin' here options no fetchall

smtphost loclahost
# You would use this to by-pass Qmail
mda '/usr/bin/procmail -d admin'


my /home/admin/.procmailrc


:0 Wh: msgid.lock
| formail -D 8192 msgid.cache

:0 a:
! temp@mailserver #but sTore them instead of deleting the mail

:0:
* ^TOsales@unitedbearing.net
{
:0Wic:
! ajith@mailserver , anand@mailserver , chin@mailserver , george@mailserver , joy@mailserver , laiq@mailserver , thomas@mailserver , vsamuel@mailserver , yesuraj@mailserver , samuel@mailserver , jsamuel@mailserver

}

:0:
* ^TOaccounts@unitedbearing.net
{
:0Wic:
! ajith@mailserver , bala@mailserver , jay@mailserver , laiq@mailserver , madhavi@mailserver , math@mailserver , knirmala@mailserver , vijayan@mailserver , vjs@mailserver , jsamuel@mailserver , jai@mailserver , vjs@mailserver , vjs@mailserver , nirmala@mailserver , devi@mailserver , elisabeth@mailserver , knirmala@mailserver

}

:0:
* ^TObillin@unitedbearing.net
{
:0Wic:
! accounts1@mailserver , elisabeth@mailserver , vijayan@mailserver , vjs@mailserver , jsamuel@mailserver

}


:0:
* ^TOdispatch@unitedbearing.net
{

:0Wic:
! george@mailserver , vsamuel@mailserver , jsamuel@mailserver , thomas@mailserver , yesuraj@mailserver

}


:0:
* ^TOpratners@unitedbearing.net
{
:0Wic:
! abi@mailserver , daddy@mailserver , samuel@mailserver , jsamuel@mailserver
}



:0:
* ^TOsamuelvarghese@unitedbearing.net
{
:0Wic:
! daddy@mailserver , vsamuel@mailserver , svarghese@mailserver , jsamuel@mailserver
}


:0:
* ^TOpostmaster@unitedbearing.net
{
:0Wic:
! jsamuel@mailserver
}


Now when i send mail to sales@unitedbearing.net , and fetch it from our mail server and distribute it to local users , the mails are sent to the users

ajith@mailserver , anand@mailserver , chin@mailserver , george@mailserver , joy@mailserver , laiq@mailserver , thomas@mailserver , vsamuel@mailserver , yesuraj@mailserver , samuel@mailserver , jsamuel@mailserver

but a mailerdaemon mail is sent to the person who sends the mails to sales@unitedbearing.net

Hi. This is the qmail-send program at mailserver.ubc-india.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

<,@mailserver.ubc-india.org>:
Sorry, no mailbox here by that name. (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <b.jayakrishnan@gmail.com>
Received: (qmail 3956 invoked by uid 1050); 30 Mar 2006 03:32:47 -0000
X-Original-To: accounts@unitedbearing.net
Delivered-To: admin@unitedbearing.net
Received: from mail.unitedbearing.net [216.239.128.27]
by localhost with POP3 (fetchmail-6.2.5.2)
for admin@localhost (single-drop); Thu, 30 Mar 2006 09:02:47 +0530 (IST)
Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.185])
by postoffice.omnis.com (Postfix) with ESMTP id 0F3F6200824B
for <accounts@unitedbearing.net>; Wed, 29 Mar 2006 05:13:03 -0800 (PST)
Received: by nproxy.gmail.com with SMTP id x37so134670nfc
for <accounts@unitedbearing.net>; Wed, 29 Mar 2006 05:12:12 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=beta; d=gmail.com;
h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition;
b=PciRU8CZSLv2wcp3Y+cbkI5v4FtWZo8Sb9pT0xPY3zJgmvcNVc1L1rL8r4shzakBzvPJryAm3u/nZoQ2/dGBr6l7Ezo14KU2j0jgceyGG/g5OPBRhr/zU2V3nbm0lcxiuNUTl2+j9dmaV6ekEzyQDXywgGw8OqBbTHMIGW53YLk=
Received: by 10.49.39.12 with SMTP id r12mr187776nfj;
Tue, 28 Mar 2006 21:51:02 -0800 (PST)
Received: by 10.48.215.15 with HTTP; Tue, 28 Mar 2006 21:51:02 -0800 (PST)
Message-ID: <8318d8c00603282151v19116b03q9bc44ccd4c8c8a22@mail.gmail.com>
Date: Wed, 29 Mar 2006 11:21:02 +0530
From: JayaKrishnan <b.jayakrishnan@gmail.com>
To: sales@unitedbearing.net
Subject: test no 15
Cc: accounts@unitedbearing.net
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
X-Virus-Scanned: by amavisd-new at postoffice.omnis.com

test msg


mailserver.ubc-india.org. is the FQDN of this local mailserver

Why is the mailerdaemon mail being sent , even though the mails have been delivered sucessfully

Any suggestions

Thanks

Regards
JayaKrishnan
 
Old 04-13-2006, 04:03 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Original Poster
Rep: Reputation: 30
Is this cause the ^To also checks for bcc and finds it blank ?
 
  


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
Procmail problem Tinku Linux - Newbie 2 10-15-2005 09:54 AM
procmail problem Civic Linux - Software 1 04-07-2005 10:39 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
procmail problem Red Squirrel Linux - Software 4 01-28-2005 09:50 PM
procmail problem odious1 Linux - Networking 1 12-11-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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