LinuxQuestions.org
Help answer threads with 0 replies.
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 09-20-2005, 12:59 AM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
pop before smtp


I have an account on my isp which receives all the mails from my domain the thing that I have to do is that I have to get all the mails from my server and put them in the users of my local linux machine so that my local users can check their mails by giving the private ip of my linux machine and my local mails should be sent through the local mail server instead of my isp. Now this is my first experience I don't know how to do it all which software to use and which script to write. can you ppl help me in this matter
 
Old 09-20-2005, 03:17 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Which of your eight distributions do you intend to use for this?

Fetchmail will download POP3 mail and deliver it to a SMTP daemon running on localhost
Procmail is useful if you need to do any mail processing (piping through spamassassin etc.)
A SMTP daemon will relay mail from your users to your ISP's mailservers - I use Postfix
 
Old 09-20-2005, 04:18 AM   #3
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
I wanna use slackware.

thanks Snowbat, can you provide me some more details and it will help me alot if you can provide me some scripts and cutoms commands for this. As currently the whole setup is being done by Mdemon on windows I wanna shift it on windows and all the time I have to keep the mail server up I can down it only for few minutes so if you give me more details you will really get me out of trouble.

Last edited by ilnli; 09-20-2005 at 04:22 AM.
 
Old 09-20-2005, 06:03 AM   #4
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Have you installed Fetchmail?
Have you installed a SMTP daemon such as Postfix, Sendmail, Exim, or Qmail?
 
Old 09-20-2005, 06:15 AM   #5
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
yes i have both installed but not configured yet
 
Old 09-20-2005, 07:46 AM   #6
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
You'll also want a local POP3 server. I use Courier IMAP for this which provides both POP3 and IMAP access. I also have Squirrelmail installed for webmail.

I don't think Courier IMAP required any changes from default configuration files.

My /etc/mail/postfix/main.cf looks like this. As far as I remember, the only things I changed from default were mynetworks, relayhost, mailbox_command
Code:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
myhostname = localhost
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain $mydomain
unknown_local_recipient_reject_code = 450
mynetworks = 192.168.1.0/24, 127.0.0.0/8
relayhost = smtp.myisp.com
alias_maps = hash:/etc/postfix/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
debug_peer_level = 1
debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin; export PATH; (echo cont;
        echo where) | gdb $daemon_directory/$process_name $process_id 2>&1
        >$config_directory/$process_name.$process_id.log & sleep 5
delay_warning_time = 4
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.0.6/samples
readme_directory = /usr/share/doc/postfix-2.0.6/README_FILES
alias_database = hash:/etc/postfix/aliases
mydestination = $myhostname, localhost.$mydomain, $mydomain
My /etc/fetchmail looks like this. Set your postmaster address and enter the details of the POP3 boxes and the local user you want to deliver to:
Code:
# Put here each user config
set postmaster "user1@localhost"
set bouncemail
set invisible
set no spambounce

# user1's mailboxes
poll pop.isp1.net proto pop3
        user popusername
        password poppassword
        is user1 here
        options fetchall
        antispam 501

poll pop.isp2.net proto pop3
        user popusername
        password poppassword
        is user1 here
        options fetchall
        antispam 501
Here is /etc/user1/.procmailrc
Code:
SHELL=/bin/sh
PATH="$HOME/bin:/usr/bin:/usr/local/bin:/usr/include:/usr/local/sbin:/bin:/sbin:/usr/sbin"
LOCKFILE=$HOME/lockfile.lock
ASSASSINLOCK=$HOME/assassin.lock
DEFAULT=$HOME/Maildir/
JUNKMAIL=$HOME/Maildir/.junkmail/
TRASH=$HOME/Maildir/.Trash
NEWBIE=$HOME/Maildir/.LinuxNewbie/
EXPERT=$HOME/Maildir/.LinuxExpert/
VIRUS=$HOME/Maildir/.virus/
BITBUCKET=/dev/null
LOCKTIMEOUT=10
#LOGFILE=/tmp/procmail_log
#LOGABSTRACT=no
#VERBOSE=no

# Feed redirected spam to sa-learn
# If a spam does make it past spamassassin I redirect it to spam@mymailaddy
#It will then be added to the spam database
:0
* ^To:.*spam@foobar
* < 256000
{
:0c: spamassassin.spamlock
| sa-learn --spam

:0
$JUNKMAIL
}

# Feed redirected ham to sa-learn
#If spamassassin falsely declares a non spam mail as spam
#I can forward it to ham@mymailaddy
#so it can be removed from the spam database.
#NOTE: THIS HAS NEVER HAPPENED YET!!
:0
* ^To:.*ham@foobar
* < 256000
{
:0c: spamassassin.hamlock
| sa-learn --ham

:0
$TRASH
}

# WHITELIST
:0 D
* ^Subject:.*ILUG
${DEFAULT}

#spam mails will come back marked with a spam header
:0fw: spamassassin.lock
* < 256000
| spamassassin

#Anything left over goes into the DEFAULT folder

Last edited by Snowbat; 09-20-2005 at 07:47 AM.
 
Old 09-20-2005, 07:56 AM   #7
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
ok thanks Snowbat if i'll need further i will let you know
 
Old 09-20-2005, 08:00 AM   #8
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
after reading you fetchmail file i have a questions that is i only have a single user on my isp in which all the mails for my domain are being transfered so in that case how will fetchmail put mails for different users from my isp in their local mail boxes
 
Old 09-20-2005, 09:14 PM   #9
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Does your ISP add an Envelope-to: header to each mail? If so, you can get user1's .procmailrc to forward on delivery. Otherwise you'll need to analyse the headers for something you can sort by:
:0
* ^Envelope-to:.*user2@yourdomain
! user2@localhost
:0
* ^Envelope-to:.*user3@yourdomain
! user3@localhost
 
Old 09-21-2005, 12:17 AM   #10
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
no my isp just receives all the mail from my domain now its upto my mail server to distribute those mail according to the local users in the mail server.
 
Old 09-21-2005, 01:59 AM   #11
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
Can you show the headers of mails for two different users here? You can disguise the user, domain, IP address, and ISP as appropriate.
 
Old 09-21-2005, 07:13 AM   #12
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
Code:
Return-path: <usmangul@thelakecity.com.pk>
Received: from Usman ([192.168.0.21])
	by thelakecity.com.pk (GLOBAL [202.59.68.22])
	(MDaemon.PRO.v6.8.5.R)
	with ESMTP id 5-md50000000003.tmp
	for <master@thelakecity.com.pk>; Wed, 21 Sep 2005 14:47:49 +0500
Message-ID: <002501c5be91$4c97f690$1500a8c0@Usman>
From: "Usman Gul" <usmangul@thelakecity.com.pk>
To: "Masood Riaz" <masoodtata@naveena.com.pk>
Subject: (Archive Copy) 4, 6, 8 Kanal
Date: Wed, 21 Sep 2005 14:46:06 +0500
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_0021_01C5BEBB.326BE220"
X-Priority: 1
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-MDArchive-Copy: 1
X-Spam-Processed: GLOBAL, Wed, 21 Sep 2005 14:47:49 +0500
	(not processed: spam filter disabled)
X-MDRcpt-To: masoodtata@naveena.com.pk
X-MDRemoteIP: 192.168.0.21
X-Return-Path: usmangul@thelakecity.com.pk
X-MDaemon-Deliver-To: master@thelakecity.com.pk
Code:
Return-path: <ghazali@thelakecity.com.pk>
Received: from ibm ([192.168.0.17])
	by thelakecity.com.pk (GLOBAL [202.59.68.22])
	(MDaemon.PRO.v6.8.5.R)
	with ESMTP id 2-md50000000003.tmp
	for <master@thelakecity.com.pk>; Wed, 21 Sep 2005 13:30:24 +0500
From: "Ghazali" <ghazali@thelakecity.com.pk>
To: "'Usman Gul'" <usmangul@thelakecity.com.pk>
Subject: (Archive Copy) FW: rate list with measurement plots ?
Date: Wed, 21 Sep 2005 13:30:19 +0500
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0000_01C5BEB0.9C45AA60"
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
Thread-Index: AcW+g+wNHEyEr1ZmTHKmIM4HEuHEIwAArEpA
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-MDArchive-Copy: 1
X-Spam-Processed: GLOBAL, Wed, 21 Sep 2005 13:30:24 +0500
	(not processed: spam filter disabled)
X-MDRcpt-To: usmangul@thelakecity.com.pk
X-MDRemoteIP: 192.168.0.17
X-Return-Path: ghazali@thelakecity.com.pk
X-MDaemon-Deliver-To: master@thelakecity.com.pk
Code:
Received: from mail.thelakecity.com.pk ([202.59.68.22]) by thelakecity.com.pk ([202.59.68.22])
	(with DomainPOP) (MDaemon.PRO.v6.8.5.R)
	for <master@thelakecity.com.pk>; Tue, 20 Sep 2005 20:33:39 +0500
Received: from lotus.websitewelcome.com ([67.19.214.98])
        by emailserver.nexlinx.net.pk (Nexlinx Hosting Services) with ESMTP (SSL) id GNA74139
        for <usmangul@thelakecity.com.pk>; Tue, 20 Sep 2005 20:32:43 +0500
Received: from ndh337.emirates.net.ae ([86.96.103.83]:62932 helo=Ghazanfar)
	by lotus.websitewelcome.com with esmtpa (Exim 4.52)
	id 1EHk6l-0003Pz-34
	for usmangul@thelakecity.com.pk; Tue, 20 Sep 2005 10:32:37 -0500
From: "Ghazanfar" <galykhan@newworldholding.com>
To: "'Usman Gul'" <usmangul@thelakecity.com.pk>
Subject: (Archive Copy) Read: Banks and Agents
Date: Tue, 20 Sep 2005 19:32:22 +0400
Message-ID: <005201c5bdf8$7f8af780$0e00a8c0@Newworldholding>
MIME-Version: 1.0
Content-Type: multipart/report;
	report-type=disposition-notification;
	boundary="----=_NextPart_000_0053_01C5BE1A.069C9780"
X-Priority: 1 (Highest)
X-MSMail-Priority: High
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Importance: High
In-Reply-To: <004e01c5bd25$aeab2ae0$1500a8c0@Usman>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - lotus.websitewelcome.com
X-AntiAbuse: Original Domain - thelakecity.com.pk
X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12]
X-AntiAbuse: Sender Address Domain - newworldholding.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-MDArchive-Copy: 1
X-MDRemoteIP: 202.59.68.22
X-MDRcpt-To: master@thelakecity.com.pk
X-MDaemon-Deliver-To: master@thelakecity.com.pk
 
Old 09-21-2005, 07:14 AM   #13
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
the master account receives a copy of all users
 
Old 09-21-2005, 07:16 AM   #14
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
Code:
Wed 2005-09-21 14:54:25: ----------
Wed 2005-09-21 14:54:22: [492:4094:1] Accepting SMTP connection from [192.168.0.21 : 4808]
Wed 2005-09-21 14:54:22: [492:4094:1] --> 220 thelakecity.com.pk ESMTP MDaemon 6.8.5; Wed, 21 Sep 2005 14:54:22 +0500
Wed 2005-09-21 14:54:22: [492:4094:1] <-- HELO Usman
Wed 2005-09-21 14:54:22: [492:4094:1] --> 250 thelakecity.com.pk Hello Usman, pleased to meet you
Wed 2005-09-21 14:54:24: [492:4094:1] <-- MAIL FROM: <usmangul@thelakecity.com.pk>
Wed 2005-09-21 14:54:24: [492:4094:1] --> 250 <usmangul@thelakecity.com.pk>, Sender ok
Wed 2005-09-21 14:54:24: [492:4094:1] <-- RCPT TO: <m.elahi@mtc.com.kw>
Wed 2005-09-21 14:54:24: [492:4094:1] --> 250 <m.elahi@mtc.com.kw>, Recipient ok
Wed 2005-09-21 14:54:24: [492:4094:1] <-- DATA
Wed 2005-09-21 14:54:24: [492:4094:1] --> 354 Enter mail, end with <CRLF>.<CRLF>
Wed 2005-09-21 14:54:25: [492:4094:1] --> 250 Ok, message saved <Message-ID: 000f01c5be92$7a5a5450$1500a8c0@Usman>
Wed 2005-09-21 14:54:25: [492:4094:1] <-- QUIT 
Wed 2005-09-21 14:54:25: [492:4094:1] --> 221 See ya in cyberspace
Wed 2005-09-21 14:54:25: [492:4094:1] SMTP session successful, 36489 bytes transferred.
Wed 2005-09-21 14:54:25: [492:4094:1] Shuffling message(s) into proper queue(s)
Wed 2005-09-21 14:54:25: [492:4094:1] Message received from Usman [192.168.0.21] <usmangul@thelakecity.com.pk> with SMTP for <m.elahi@mtc.com.kw> [Size 36477] {d:\mdaemon\remoteq\md10000005647.msg}
Wed 2005-09-21 14:54:25: [492:4094:1] Message received from Usman [192.168.0.21] <usmangul@thelakecity.com.pk> with SMTP for <master@thelakecity.com.pk> [Size 36477] {d:\mdaemon\localq\md50000010449.msg}
Wed 2005-09-21 14:54:25: ----------
Wed 2005-09-21 16:36:49: [700:4295] Message received from lakecity12 [192.168.0.12] <imran@thelakecity.com.pk> with SMTP for <datacom@nexlinx.net.pk> [Size 2428] {d:\mdaemon\remoteq\md50000005650.msg}
Wed 2005-09-21 16:36:49: [700:4295] Message received from lakecity12 [192.168.0.12] <imran@thelakecity.com.pk> with SMTP for <kamran@nexlinx.net.pk> [Size 2428] {d:\mdaemon\remoteq\md50000005650.msg}
Wed 2005-09-21 16:36:49: [700:4295] Message received from lakecity12 [192.168.0.12] <imran@thelakecity.com.pk> with SMTP for <marketing@nexlinx.net.pk> [Size 2428] {d:\mdaemon\remoteq\md50000005650.msg}
Wed 2005-09-21 16:36:49: ----------
Wed 2005-09-21 16:36:49: [700:4295:1] Accepting SMTP connection from [192.168.0.12 : 2909]
Wed 2005-09-21 16:36:49: [700:4295:1] --> 220 thelakecity.com.pk ESMTP MDaemon 6.8.5; Wed, 21 Sep 2005 16:36:49 +0500
Wed 2005-09-21 16:36:49: [700:4295:1] <-- HELO lakecity12
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 thelakecity.com.pk Hello lakecity12, pleased to meet you
Wed 2005-09-21 16:36:49: [700:4295:1] <-- MAIL FROM: <imran@thelakecity.com.pk>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 <imran@thelakecity.com.pk>, Sender ok
Wed 2005-09-21 16:36:49: [700:4295:1] <-- RCPT TO: <kamran@nexlinx.net.pk>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 <kamran@nexlinx.net.pk>, Recipient ok
Wed 2005-09-21 16:36:49: [700:4295:1] <-- RCPT TO: <datacom@nexlinx.net.pk>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 <datacom@nexlinx.net.pk>, Recipient ok
Wed 2005-09-21 16:36:49: [700:4295:1] <-- RCPT TO: <marketing@nexlinx.net.pk>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 <marketing@nexlinx.net.pk>, Recipient ok
Wed 2005-09-21 16:36:49: [700:4295:1] <-- RCPT TO: <waqarinfo@naveena.com.pk>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 <waqarinfo@naveena.com.pk>, Recipient ok
Wed 2005-09-21 16:36:49: [700:4295:1] <-- DATA
Wed 2005-09-21 16:36:49: [700:4295:1] --> 354 Enter mail, end with <CRLF>.<CRLF>
Wed 2005-09-21 16:36:49: [700:4295:1] --> 250 Ok, message saved <Message-ID: 000801c5bea0$ca987100$0c00a8c0@lakecity12>
Wed 2005-09-21 16:36:49: [700:4295:1] <-- QUIT
Wed 2005-09-21 16:36:49: [700:4295:1] --> 221 See ya in cyberspace
Wed 2005-09-21 16:36:49: [700:4295:1] SMTP session successful, 2439 bytes transferred.
Wed 2005-09-21 16:36:49: [700:4295:1] Shuffling message(s) into proper queue(s)
Wed 2005-09-21 16:36:49: [700:4295:1] Message received from lakecity12 [192.168.0.12] <imran@thelakecity.com.pk> with SMTP for <waqarinfo@naveena.com.pk> [Size 2428] {d:\mdaemon\remoteq\md50000005649.msg}
Wed 2005-09-21 16:36:49: [700:4295:1] Message received from lakecity12 [192.168.0.12] <imran@thelakecity.com.pk> with SMTP for <master@thelakecity.com.pk> [Size 2428] {d:\mdaemon\localq\md50000010457.msg}
Wed 2005-09-21 16:36:49: ----------
Wed 2005-09-21 16:44:05: [600:4316:1] Accepting SMTP connection from [192.168.0.24 : 1398]
Wed 2005-09-21 16:44:05: [600:4316:1] --> 220 thelakecity.com.pk ESMTP MDaemon 6.8.5; Wed, 21 Sep 2005 16:44:05 +0500
Wed 2005-09-21 16:44:05: [600:4316:1] <-- HELO Farhan
Wed 2005-09-21 16:44:05: [600:4316:1] --> 250 thelakecity.com.pk Hello Farhan, pleased to meet you
Wed 2005-09-21 16:44:05: [600:4316:1] <-- MAIL FROM: <>
Wed 2005-09-21 16:44:05: [600:4316:1] --> 250 <>, Sender ok
Wed 2005-09-21 16:44:05: [600:4316:1] <-- RCPT TO: <bari@bariandbari.com>
Wed 2005-09-21 16:44:05: [600:4316:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:05: [600:4316:1] --> 550 <bari@bariandbari.com>, Recipient unknown
Wed 2005-09-21 16:44:05: [600:4316:1] <-- RSET
Wed 2005-09-21 16:44:05: [600:4316:1] --> 250 RSET? Well, ok.
Wed 2005-09-21 16:44:05: [600:4316:1] <-- MAIL FROM: <farhan@thelakecity.com.pk>
Wed 2005-09-21 16:44:05: [600:4316:1] --> 250 <farhan@thelakecity.com.pk>, Sender ok
Wed 2005-09-21 16:44:05: [600:4316:1] <-- RCPT TO: <usmangul@thelake city.com.pk>
Wed 2005-09-21 16:44:05: [600:4316:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:05: [600:4316:1] --> 550 <city.com.pk@thelakecity.com.pk>, Recipient unknown
Wed 2005-09-21 16:44:05: [600:4316:1] <-- QUIT
Wed 2005-09-21 16:44:05: [600:4316:1] --> 221 See ya in cyberspace
Wed 2005-09-21 16:44:05: [600:4316:1] SMTP session successful, 154 bytes transferred.
Wed 2005-09-21 16:44:05: ----------
Wed 2005-09-21 16:44:13: [716:4319:1] Accepting SMTP connection from [192.168.0.24 : 1400]
Wed 2005-09-21 16:44:13: [716:4319:1] --> 220 thelakecity.com.pk ESMTP MDaemon 6.8.5; Wed, 21 Sep 2005 16:44:13 +0500
Wed 2005-09-21 16:44:13: [716:4319:1] <-- HELO Farhan
Wed 2005-09-21 16:44:13: [716:4319:1] --> 250 thelakecity.com.pk Hello Farhan, pleased to meet you
Wed 2005-09-21 16:44:13: [716:4319:1] <-- MAIL FROM: <>
Wed 2005-09-21 16:44:13: [716:4319:1] --> 250 <>, Sender ok
Wed 2005-09-21 16:44:13: [716:4319:1] <-- RCPT TO: <bari@bariandbari.com>
Wed 2005-09-21 16:44:13: [716:4319:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:13: [716:4319:1] --> 550 <bari@bariandbari.com>, Recipient unknown
Wed 2005-09-21 16:44:13: [716:4319:1] <-- RSET
Wed 2005-09-21 16:44:13: [716:4319:1] --> 250 RSET? Well, ok.
Wed 2005-09-21 16:44:13: [716:4319:1] <-- MAIL FROM: <farhan@thelakecity.com.pk>
Wed 2005-09-21 16:44:13: [716:4319:1] --> 250 <farhan@thelakecity.com.pk>, Sender ok
Wed 2005-09-21 16:44:13: [716:4319:1] <-- RCPT TO: <usmangul@thelake city.com.pk>
Wed 2005-09-21 16:44:13: [716:4319:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:13: [716:4319:1] --> 550 <city.com.pk@thelakecity.com.pk>, Recipient unknown
Wed 2005-09-21 16:44:13: [716:4319:1] <-- QUIT
Wed 2005-09-21 16:44:13: [716:4319:1] --> 221 See ya in cyberspace
Wed 2005-09-21 16:44:13: [716:4319:1] SMTP session successful, 154 bytes transferred.
Wed 2005-09-21 16:44:13: ----------
Wed 2005-09-21 16:44:24: [624:4321:1] Accepting SMTP connection from [192.168.0.24 : 1403]
Wed 2005-09-21 16:44:24: [624:4321:1] --> 220 thelakecity.com.pk ESMTP MDaemon 6.8.5; Wed, 21 Sep 2005 16:44:24 +0500
Wed 2005-09-21 16:44:24: [624:4321:1] <-- HELO Farhan
Wed 2005-09-21 16:44:24: [624:4321:1] --> 250 thelakecity.com.pk Hello Farhan, pleased to meet you
Wed 2005-09-21 16:44:24: [624:4321:1] <-- MAIL FROM: <>
Wed 2005-09-21 16:44:24: [624:4321:1] --> 250 <>, Sender ok
Wed 2005-09-21 16:44:24: [624:4321:1] <-- RCPT TO: <bari@bariandbari.com>
Wed 2005-09-21 16:44:24: [624:4321:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:24: [624:4321:1] --> 550 <bari@bariandbari.com>, Recipient unknown
Wed 2005-09-21 16:44:24: [624:4321:1] <-- RSET
Wed 2005-09-21 16:44:24: [624:4321:1] --> 250 RSET? Well, ok.
Wed 2005-09-21 16:44:24: [624:4321:1] <-- MAIL FROM: <farhan@thelakecity.com.pk>
Wed 2005-09-21 16:44:24: [624:4321:1] --> 250 <farhan@thelakecity.com.pk>, Sender ok
Wed 2005-09-21 16:44:24: [624:4321:1] <-- RCPT TO: <usmangul@thelake city.com.pk>
Wed 2005-09-21 16:44:24: [624:4321:1] Sender attempted to deliver message to unknown address
Wed 2005-09-21 16:44:24: [624:4321:1] --> 550 <city.com.pk@thelakecity.com.pk>, Recipient unknown
Wed 2005-09-21 16:44:24: [624:4321:1] <-- QUIT
Wed 2005-09-21 16:44:24: [624:4321:1] --> 221 See ya in cyberspace
Wed 2005-09-21 16:44:24: [624:4321:1] SMTP session successful, 154 bytes transferred.
Wed 2005-09-21 16:44:24: ----------
above is the smtp in log from mdemon
 
Old 09-21-2005, 07:17 AM   #15
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Original Poster
Rep: Reputation: 32
Code:
Wed 2005-09-21 15:03:04: [-1:4109:1] Parsing Message <D:\MDAEMON\Remoteq\pd75000005648.msg>
Wed 2005-09-21 15:03:04: [-1:4109:1] From: (sender not specified)
Wed 2005-09-21 15:03:04: [-1:4109:1] To: faisal@universalbio.com
Wed 2005-09-21 15:03:04: [-1:4109:1] Subject: Warning: agha@thelakecity.com.pk - User unknown!
Wed 2005-09-21 15:03:04: [-1:4109:1] Message-ID: <MDAEMON0041200509211502.AA0247905@thelakecity.com.pk>
Wed 2005-09-21 15:03:04: [-1:4109:1] MX-record resolution of [universalbio.com] in progress (DNS Server: 202.59.80.10)...
Wed 2005-09-21 15:03:10: [-1:4109:1] P=021 D=universalbio.com TTL=(240) MX=[mail.universalbio.com]
Wed 2005-09-21 15:03:10: [-1:4109:1] Attempting MX: P=021 D=universalbio.com TTL=(240) MX=[mail.universalbio.com]
Wed 2005-09-21 15:03:10: [-1:4109:1] Attempting SMTP connection to [mail.universalbio.com : 25]
Wed 2005-09-21 15:03:10: [-1:4109:1] A-record resolution of [mail.universalbio.com] in progress (DNS Server: 202.59.80.10)...
Wed 2005-09-21 15:03:16: [-1:4109:1] D=mail.geniusdevil.com TTL=(240) A=[64.246.36.66]
Wed 2005-09-21 15:03:16: [-1:4109:1] Attempting SMTP connection to [64.246.36.66 : 25]
Wed 2005-09-21 15:03:16: [492:4109:1] Waiting for socket connection...
Wed 2005-09-21 15:03:16: [492:4109:1] Socket connection established (127.0.0.1 : 3816 -> 64.246.36.66 : 25)
Wed 2005-09-21 15:03:16: [492:4109:1] Waiting for protocol initiation...
Wed 2005-09-21 15:03:19: [492:4109:1] <-- 220 meadvertising.com ESMTP MDaemon 8.0.2; Wed, 21 Sep 2005 15:03:19 +0500
Wed 2005-09-21 15:03:19: [492:4109:1] --> EHLO thelakecity.com.pk
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250-meadvertising.com Hello thelakecity.com.pk, pleased to meet you
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250-ETRN
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250-AUTH=LOGIN
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250-AUTH LOGIN CRAM-MD5
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250-8BITMIME
Wed 2005-09-21 15:03:20: [492:4109:1] <-- 250 SIZE 0
Wed 2005-09-21 15:03:20: [492:4109:1] --> MAIL From:<> SIZE=2415222
Wed 2005-09-21 15:03:31: [492:4109:1] <-- 250 <>, Sender ok
Wed 2005-09-21 15:03:31: [492:4109:1] --> RCPT To:<faisal@universalbio.com>
Wed 2005-09-21 15:03:31: [492:4109:1] <-- 250 <faisal@universalbio.com>, Recipient ok
Wed 2005-09-21 15:03:31: [492:4109:1] --> DATA
Wed 2005-09-21 15:03:31: [492:4109:1] <-- 354 Please start mail input.
Wed 2005-09-21 15:03:31: [492:4109:1] Sending <D:\MDAEMON\Remoteq\pd75000005648.msg> to [64.246.36.66]
Wed 2005-09-21 15:03:31: [492:4109:1] Transfer Complete.
Wed 2005-09-21 15:03:31: [492:4109:1] <-- 250 Mail queued for delivery.
Wed 2005-09-21 15:03:31: [492:4109:1] --> QUIT
Wed 2005-09-21 15:03:32: [492:4109:1] <-- 221 Closing connection. Good bye.
Wed 2005-09-21 15:03:32: [492:4109:1] SMTP session successful, 2415293 bytes transferred.
Wed 2005-09-21 15:03:32: ----------
Wed 2005-09-21 16:37:35: [-1:4302:2] Parsing Message <D:\MDAEMON\Remoteq\pd50000005650.msg>
Wed 2005-09-21 16:37:35: [-1:4302:2] From: imran@thelakecity.com.pk
Wed 2005-09-21 16:37:35: [-1:4302:2] To: kamran@nexlinx.net.pk
Wed 2005-09-21 16:37:35: [-1:4302:2] Subject: Domain
Wed 2005-09-21 16:37:35: [-1:4302:2] Message-ID: <000801c5bea0$ca987100$0c00a8c0@lakecity12>
Wed 2005-09-21 16:37:35: [-1:4302:2] Route slip host: nexlinx.net.pk
Wed 2005-09-21 16:37:35: [-1:4302:2] Route slip port: 25
Wed 2005-09-21 16:37:35: [-1:4302:2] MX-record resolution of [nexlinx.net.pk] in progress (DNS Server: 202.59.80.10)...
Wed 2005-09-21 16:37:36: [-1:4302:2] P=080 D=nexlinx.net.pk TTL=(1440) MX=[columbia.nexlinx.net] {216.118.117.103}
Wed 2005-09-21 16:37:36: [-1:4302:2] P=020 D=nexlinx.net.pk TTL=(1440) MX=[discovery.nexlinx.net.pk] {202.59.80.49}
Wed 2005-09-21 16:37:36: [-1:4302:2] Attempting MX: P=020 D=nexlinx.net.pk TTL=(1440) MX=[discovery.nexlinx.net.pk] {202.59.80.49}
Wed 2005-09-21 16:37:36: [-1:4302:2] Attempting SMTP connection to [202.59.80.49 : 25]
Wed 2005-09-21 16:37:36: [776:4302:2] Waiting for socket connection...
Wed 2005-09-21 16:37:36: [776:4302:2] Socket connection established (127.0.0.1 : 3555 -> 202.59.80.49 : 25)
Wed 2005-09-21 16:37:36: [776:4302:2] Waiting for protocol initiation...
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 220 odyssey.nexlinx.net.pk ESMTP
Wed 2005-09-21 16:37:37: [776:4302:2] --> EHLO thelakecity.com.pk
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250-odyssey.nexlinx.net.pk
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250-PIPELINING
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 8BITMIME
Wed 2005-09-21 16:37:37: [776:4302:2] --> MAIL From:<imran@thelakecity.com.pk>
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 ok
Wed 2005-09-21 16:37:37: [776:4302:2] --> RCPT To:<datacom@nexlinx.net.pk>
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 ok
Wed 2005-09-21 16:37:37: [776:4302:2] --> RCPT To:<kamran@nexlinx.net.pk>
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 ok
Wed 2005-09-21 16:37:37: [776:4302:2] --> RCPT To:<marketing@nexlinx.net.pk>
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 ok
Wed 2005-09-21 16:37:37: [776:4302:2] --> DATA
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 354 Please start mail input.
Wed 2005-09-21 16:37:37: [776:4302:2] Sending <D:\MDAEMON\Remoteq\pd50000005650.msg> to [202.59.80.49]
Wed 2005-09-21 16:37:37: [776:4302:2] Transfer Complete.
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 250 Mail queued for delivery.
Wed 2005-09-21 16:37:37: [776:4302:2] --> QUIT
Wed 2005-09-21 16:37:37: [776:4302:2] <-- 221 Closing connection. Good bye.
Wed 2005-09-21 16:37:37: [776:4302:2] SMTP session successful, 2855 bytes transferred.
Wed 2005-09-21 16:37:37: ----------
Wed 2005-09-21 16:37:35: [-1:4301:1] Parsing Message <D:\MDAEMON\Remoteq\pd50000005649.msg>
Wed 2005-09-21 16:37:35: [-1:4301:1] From: imran@thelakecity.com.pk
Wed 2005-09-21 16:37:35: [-1:4301:1] To: waqarinfo@naveena.com.pk
Wed 2005-09-21 16:37:35: [-1:4301:1] Subject: Domain
Wed 2005-09-21 16:37:35: [-1:4301:1] Message-ID: <000801c5bea0$ca987100$0c00a8c0@lakecity12>
Wed 2005-09-21 16:37:35: [-1:4301:1] MX-record resolution of [naveena.com.pk] in progress (DNS Server: 202.59.80.10)...
Wed 2005-09-21 16:37:36: [-1:4301:1] P=000 D=naveena.com.pk TTL=(1440) MX=[linux.lhr-com.net] {210.56.16.6}
Wed 2005-09-21 16:37:36: [-1:4301:1] Attempting MX: P=000 D=naveena.com.pk TTL=(1440) MX=[linux.lhr-com.net] {210.56.16.6}
Wed 2005-09-21 16:37:36: [-1:4301:1] Attempting SMTP connection to [210.56.16.6 : 25]
Wed 2005-09-21 16:37:36: [600:4301:1] Waiting for socket connection...
Wed 2005-09-21 16:37:36: [600:4301:1] Socket connection established (127.0.0.1 : 3558 -> 210.56.16.6 : 25)
Wed 2005-09-21 16:37:36: [600:4301:1] Waiting for protocol initiation...
Wed 2005-09-21 16:37:36: [600:4301:1] <-- 220 linux.lhr-com.net ESMTP Sendmail 8.11.7p1+Sun/8.11.7; Wed, 21 Sep 2005 16:37:15 +0500 (PKT)
Wed 2005-09-21 16:37:36: [600:4301:1] --> EHLO thelakecity.com.pk
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-linux.lhr-com.net Hello WL-DATA-138.nexlinx.net.pk [202.59.74.138] (may be forged), pleased to meet you
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-ENHANCEDSTATUSCODES
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-EXPN
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-VERB
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-8BITMIME
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-SIZE
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-DSN
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-ONEX
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-ETRN
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250-XUSR
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250 HELP
Wed 2005-09-21 16:37:37: [600:4301:1] --> MAIL From:<imran@thelakecity.com.pk> SIZE=2863
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250 2.1.0 <imran@thelakecity.com.pk>... Sender ok
Wed 2005-09-21 16:37:37: [600:4301:1] --> RCPT To:<waqarinfo@naveena.com.pk>
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 250 2.1.5 <waqarinfo@naveena.com.pk>... Recipient ok
Wed 2005-09-21 16:37:37: [600:4301:1] --> DATA
Wed 2005-09-21 16:37:37: [600:4301:1] <-- 354 Please start mail input.
Wed 2005-09-21 16:37:37: [600:4301:1] Sending <D:\MDAEMON\Remoteq\pd50000005649.msg> to [210.56.16.6]
Wed 2005-09-21 16:37:37: [600:4301:1] Transfer Complete.
Wed 2005-09-21 16:37:38: [600:4301:1] <-- 250 Mail queued for delivery.
Wed 2005-09-21 16:37:38: [600:4301:1] --> QUIT
Wed 2005-09-21 16:37:38: [600:4301:1] <-- 221 Closing connection. Good bye.
Wed 2005-09-21 16:37:38: [600:4301:1] SMTP session successful, 2934 bytes transferred.
Wed 2005-09-21 16:37:38: ----------
above is the smtp out log from mdemon
 
  


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
Proxy for POP and SMTP? depam Linux - Software 3 10-14-2005 10:41 AM
best smtp/pop software? spatieman Linux - Software 1 12-11-2004 02:23 PM
qmail: pop before smtp - HOW? Zingaro2002 Linux - Software 2 07-14-2003 03:46 AM
Pop Smtp mjshel7 Linux - General 1 05-24-2002 06:29 AM
DNS , POP and SMTP futurist Linux - Networking 1 03-27-2002 09:32 PM

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

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