Sponsored Content
Operating Systems Linux Ubuntu Is it possible to fetch my local email log to thunderbird Post 302514659 by jao_madn on Sunday 17th of April 2011 08:24:30 AM
Old 04-17-2011
Is it possible to fetch my local email log to thunderbird

Hi,

I wonder if it possible to read my local user mail log or root mail log in my ubuntu laptop using thunderbird mail client. Im using my the TB mail client for may email management and wonder if it possible to add it to my mail account in TB. You can read your mail log via command mail or mailx right. so i wonder if it possible. Also i had this mbox in my home dir and it contain the mail log in a text format and example below.


Code:
From users@users-linux Sun Apr 10 02:00:02 2011
Return-path: <users@users-linux>
Envelope-to: users@users-linux
Delivery-date: Sun, 10 Apr 2011 02:00:02 +0800
Received: from users by users-linux with local (Exim 4.71)
	(envelope-from <users@users-linux>)
	id 1Q8cS2-0000py-8v
	for users@users-linux; Sun, 10 Apr 2011 02:00:02 +0800
Date: Sun, 10 Apr 2011 02:00:02 +0800
Message-Id: <E1Q8cS2-0000py-8v@users-linux>
From: root@users-linux (Cron Daemon)
To: users@users-linux
Subject: Cron <users@users-linux> /home/users/myscripts/cronjob-script/getcompare-package-daily.csh 2>>/home/users/logfiles/cronjob/users-cronjob.log
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/users>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=users>
Status: RO

 
 

From users@users-linux Wed Apr 13 02:00:43 2011
Return-path: <users@users-linux>
Envelope-to: users@users-linux
Delivery-date: Wed, 13 Apr 2011 02:00:43 +0800
Received: from users by users-linux with local (Exim 4.71)
	(envelope-from <users@users-linux>)
	id 1Q9ht1-0003yE-0f
	for users@users-linux; Wed, 13 Apr 2011 02:00:23 +0800
Date: Wed, 13 Apr 2011 02:00:23 +0800
Message-Id: <E1Q9ht1-0003yE-0f@users-linux>
From: root@users-linux (Cron Daemon)
To: users@users-linux
Subject: Cron <users@users-linux> /home/users/myscripts/cronjob-script/getcompare-package-daily.csh 2>>/home/users/logfiles/cronjob/users-cronjob.log
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/users>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=users>
Status: RO

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

where are my email log files

I am trying to find the email log file that would have info on users downloading their pop mail. Our email is hosted on a unix server running apache. I am not sure the exact version of mail software running, but when I telnet to the mail server the response I get is this "+OK POP3 v2003.83rh... (3 Replies)
Discussion started by: mstarcom
3 Replies

2. Shell Programming and Scripting

parsing email log

Can anyone give me some examples of how I can parse the following lines of text so that all characters up to and including the @ symbol are deleted? Also, any duplicates would need to be deleted in order to produce the desired output. Any help is much appreciated and explanations of any... (5 Replies)
Discussion started by: jjamd64
5 Replies

3. Shell Programming and Scripting

Print log to an email

Hi, I have wrote a script and i want to be able to output my variable MSG_DEST (which is a log) to an email. so basically log contains: hello John when i email recipient it says to xxxxxx from xxxxxx subject xxxxxx hello John What do I need to put in my... (3 Replies)
Discussion started by: Pablo_beezo
3 Replies

4. AIX

Do I need to configure my local windows to FTP files from local windows to a UNIX AIX server?

Hi Friends, I have this script for ftping files from AIX server to local windows xp. #!/bin/sh HOST='localsystem.net' USER='myid_onlocal' PASSWD='mypwd_onlocal' FILE='file.txt' ##This is a file on server(AIX) ftp -n $HOST <<END_SCRIPT quote USER $USER quote PASS $PASSWD put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies

5. Shell Programming and Scripting

Fetch a value of particular parameter from a log

Fetch a value of particular parameter from a log. for exapmle, i have the below line in the log. now i would like to grep name and fetch only the values of name . here in this case i would like to take out only aps and prabhu. someone please help me on this. (5 Replies)
Discussion started by: apsprabhu
5 Replies

6. Shell Programming and Scripting

Capture all error message in Log file and send the Log file by email

Hi I have a requirement to write a script to capture all errors in a Logfile and send the file in email. If there is any error occurred the subject of email will be ERROR , If there are no error occurred the subject of email will be SUCCESS. So I created a Log file and put the Appropriate... (2 Replies)
Discussion started by: dgmm
2 Replies

7. Shell Programming and Scripting

make the name of file and fetch few things from log file

Hello All, I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log ... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

8. Shell Programming and Scripting

Email backup log

Hi, I have a server which appends to two different backup logs, a summary and a full log, I want to write a script which will email out this mornings backup, the problem is that in the log files the date is in the below format: Fri May 31,2013 02:30 the summary log file I can just use... (6 Replies)
Discussion started by: Bdoydie
6 Replies

9. Shell Programming and Scripting

Email with attachment from local machine through UNIX

Hello everyone, So, here is my requirement. I want to run an SQL query and export the result in an excel file and send that as an attachement in an email to the intended receipients. Please help me understand how to do that. How to connect to database, how to export the output in an excel... (3 Replies)
Discussion started by: Mohdrafi12
3 Replies
qmail-users(5)							File Formats Manual						    qmail-users(5)

NAME
qmail-users - assign mail addresses to users OVERVIEW
The file /var/lib/qmail/users/assign assigns addresses to users. For example, =joe.shmoe:joe:503:78:/home/joe::: says that mail for joe.shmoe should be delivered to user joe, with uid 503 and gid 78, as specified by /home/joe/.qmail. Assignments fed to qmail-newu will be used by qmail-lspawn to control qmail-local's deliveries. See qmail-newu(8). A change to /var/lib/qmail/users/assign will have no effect until qmail-newu is run. STRUCTURE
/var/lib/qmail/users/assign is a series of assignments, one per line. It ends with a line containing a single dot. Lines must not contain NUL. SIMPLE ASSIGNMENTS
A simple assignment is a line of the form =local:user:uid:gid:homedir:dash:ext: Here local is an address; user, uid, and gid are the account name, uid, and gid of the user in charge of local; and messages to local will be controlled by homedir/.qmaildashext. If there are several assignments for the same local address, qmail-lspawn will use the first one. local is interpreted without regard to case. WILDCARD ASSIGNMENTS
A wildcard assignment is a line of the form +loc:user:uid:gid:homedir:dash:pre: This assignment applies to any address beginning with loc, including loc itself. It means the same as =locext:user:uid:gid:homedir:dash:preext: for every string ext. A more specific wildcard assignment overrides a less specific assignment, and a simple assignment overrides any wildcard assignment. For example: +:alias:7790:2108:/var/lib/qmail/alias:-:: +joe-:joe:507:100:/home/joe:-:: =joe:joe:507:100:/home/joe::: The address joe is handled by the third line; the address joe-direct is handled by the second line; the address bill is handled by the first line. SEE ALSO
qmail-pw2u(8), qmail-newu(8), qmail-lspawn(8) qmail-users(5)
All times are GMT -4. The time now is 01:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy