LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2019, 02:03 AM   #1
bluetxxth
LQ Newbie
 
Registered: Sep 2007
Posts: 18

Rep: Reputation: 0
Postfix - Trouble locating email sent to the admin mail folder marked as spam


Hi All,

I have a client with an machine which has a very old Ubuntu operating system with many web applications in it. This server has post fix installed and procmail but not dovecot. I need to access admin@myDomain.com and read an email and copy a link to proceed with a validation of a certificate. While I can access the admin mail with the mail command, and send and receive mail which I send from gmail, I cannot receive the validation email sent from the cert authority, presumably because it is marked as junk or spam e-mail.

Since this email is possibly marked as junk it probably goes to the junk folder. The problem is that I don’t know where the junk mail folder is located and how to access it. I have been looking in several places but it is not there, which makes me wonder the following 3 questions

1) If the mail arrived and it is in the spam folder, where is the spam folder located and how to access it?
2) if it can simply not have arrived when marked as junk ?
3) and in that case I would like to know what do I have to do to create it?

Thank you very much for the help


bluetxxth

Last edited by bluetxxth; 11-22-2019 at 02:06 AM. Reason: missing tags
 
Old 11-22-2019, 01:28 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
If the email is being moved, it's probably being done by procmail. The relevant ~/.procmailrc should both define the rules for the move and identify the target -- or show that the mail is being trashed, if that's the case.
There may also be a log of the procmail activity. That would also be defined in the ~/.procmailrc
 
Old 11-27-2019, 08:46 AM   #3
bluetxxth
LQ Newbie
 
Registered: Sep 2007
Posts: 18

Original Poster
Rep: Reputation: 0
route incoming email to another user

Hi Again,

Thank you for the help, it turns out that there was no mailbox configured at all! I needed this for the activation of a cert. This is probably not very orthodox, but in order to avoid creating another user on the server I made the mail arriving to administrator or to webmaster, which did not have an mailbox configured, to an already existing user (user4) by modifying the virtual file i.e. /etc/postfix/vmailbox and reload postfix.


user1@mydomain.com user1
user2@mydomain.com user2
user3@mydomain.com user3
user4@mydomain.com user4 <--

webmaster@mydomain.com user4 <--
administrator@mydomain.com user4 <--

I hope this helps someone

Regards / Bluetxxth
 
  


Reply

Tags
folders, junk, mail, postfix



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
All mail sent to postfix are being sent to root@localhost instead of virtual users quadcricket Linux - Server 8 08-09-2016 06:16 PM
Move SA Marked Spam to Junk/Spam Folder Using Procmail, Postfix, and Virtual Users alden_pease Linux - Server 0 01-05-2012 12:29 AM
Email sent my server always received to spam folder , wrong configuration ? teamer Linux - Server 3 08-16-2010 07:20 PM
spam filter that puts spam into spam folder? paul_mat Linux - Software 3 03-31-2009 04:18 AM
How to forward email when marked as SPAM matt1982 Linux - Software 1 09-11-2006 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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