LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-16-2022, 10:43 AM   #1
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 381

Rep: Reputation: Disabled
How to retrive mail from nobody


Hi everyone,

I reconfigured (badly) postfix because FQDN changed (fixed now) and all root emails temporarily were sent to nobody account '/var/mail/nobody'

Now I have a chunk of emails and I do not know if it is a way to retrieve then to root. The /etc/aliases has the relevant entries:
Code:
nobody: root
postfix: root
postmaster: root
and newaliases updated the db.

I am thinking of a command to let MDA to move all the emails from nobody to root. This is not about postqueue!

I switched MTA to sendmail/exim4 but no success obviously

Thanks a lot!

Last edited by lattimro; 05-21-2022 at 06:40 AM.
 
Old 05-18-2022, 06:27 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
As a quick answer to that: A mbox is text, so you can probably do a sed command to change the 'nobody' or open the mail box as root
Code:
mutt -f /var/mail/root
and forward them appropriately.

There's plenty of guides out there. If you sense you're going down in flames, follow one of the less incomprehensible ones.
 
  


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
Files dragged/dropped from DVD to samba share get nobody:nobody & wrong mask anon091 Linux - Server 2 05-08-2014 01:59 PM
Apache with nobody:nobody and apache:apache sudhirmhrj Linux - Server 1 06-29-2010 04:48 AM
How tomake POP3 and SMTP to retrive mail through squid karthi26 Linux - Newbie 1 04-10-2007 09:36 PM
SAMBA - nobody account maps /home to "nobody" calabash Linux - Networking 27 12-08-2003 12:27 PM
How to Retrive /etc(sys file) !! hitesh_linux Linux - General 4 02-08-2003 07:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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