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