LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2018, 02:11 AM   #1
progy85
LQ Newbie
 
Registered: Dec 2018
Posts: 12

Rep: Reputation: Disabled
Problem with received mails in ubuntu


Hi,

I have problem with receiving mails.

First I used in Postfix in main.cf home_mailbox = Maildir/

but the problem is because if used home_mailbox = Maildir/ returns delivery failed: create maildir file /home/fmaster/Maildir .

and message is not received.

Then I removed home_mailbox = Maildir/ and message is received to: su - fmaster and mail.

I can see message, but now I want to use pop3 in other providers (gmail, outlook, thunderbird) but I got:
Dec 12 08:49:26 mail pop3d: LOGIN FAILED, user=fmaster, ip=[::ffff:209.85.167.38]
Dec 12 08:49:26 mail pop3d: authentication error: Permission denied
mail pop3d: fmaster: chdir(/home/fmaster)


Main.cf:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = mail.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.mydomain.com, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#home_mailbox =Maildir/
mailbox_command =
virtual_alias_domains = mydomain.com
virtual_alias_maps = hash:/etc/postfix/virtual



I used this tutorial:
https://help.ubuntu.com/community/Po...asicSetupHowto


Please help.
 
Old 12-12-2018, 07:39 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
Code:
delivery failed: create maildir file /home/fmaster/Maildir .
That's a pretty clear error message.
It's telling you that delivery failed and [you need to] create maildir file /home/fmaster/Maildir

That said, Maildir/ is usually a directory containing sub directories that contain email files, one file per email message. (Note the trailing slash...)

I don't know if postfix supports Maildir, but the error message seems to me to say
"You told me to use Maildir/ but there's no /home/user/Maildir directory"

In other words, you have to set up the user environment to match the setting you provide to the MTA...but I don't do postfix, so won't try to help you with HOW to do that.
 
  


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
[SOLVED] fetchmail does not delete mails received mails from server golden_boy615 Linux - General 1 05-02-2011 02:16 AM
Need to see the last 5 received mails when logged in with normal user siddhant_2010 Linux - Newbie 3 03-22-2010 11:54 AM
[SOLVED] Mails are being received on host.domain.com but not on domain.com WhisperiN Linux - Server 5 11-26-2009 10:59 PM
mixmaster installed send ok but no mails received niel_6 Linux - Software 1 02-18-2007 10:38 AM
Mails not received by a user J_Szucs Linux - Newbie 3 08-18-2002 06:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:36 PM.

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