LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2015, 11:43 AM   #1
ciroreed
LQ Newbie
 
Registered: Jul 2015
Posts: 28

Rep: Reputation: Disabled
postfix, send (done) and receive mail from outside


Installed packages, mailutils and postfix.

main.cf from postfix

# 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

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/mailcert.pem
smtpd_tls_key_file=/root/ca.key
smtpd_use_tls=yes
smtpd_tls_security_level = may
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 = rockwebstudio.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = rockwebstudio.com
mydestination = rockwebstudio.com
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a /home/"$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
home_mailbox = Maildir/

I can send email with <mail -s "bla" some@externaladdress.org>

But how i can read answered mail
 
Old 12-23-2015, 01:02 PM   #2
bypper
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Rep: Reputation: Disabled
This question is not related with Postfix.
You can read the messages in console with mailx tool, if you have default configuration. I think this is your case.

My recomendation:
Use Mutt, is the best console mail client.

Regards,
 
Old 12-23-2015, 02:37 PM   #3
ciroreed
LQ Newbie
 
Registered: Jul 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks! but my question is related with how postfix manages the input mail. I want use dovecot to create mailboxes for several domains.

How can i setup a simple smtp server?
 
Old 12-23-2015, 02:46 PM   #4
ciroreed
LQ Newbie
 
Registered: Jul 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks! but my question is related with how postfix manages the input mail. I want use dovecot to create mailboxes for several domains.

How can i setup a simple smtp server?
 
Old 12-23-2015, 03:40 PM   #5
bypper
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by ciroreed View Post
Thanks! but my question is related with how postfix manages the input mail. I want use dovecot to create mailboxes for several domains.

How can i setup a simple smtp server?
SMTP Server?
You have a SMTP server already, its Postfix!

Dovecot is a POP/IMAP server. It manage the mailbox and its connections, Postfix is a SMTP server (MTA) and manage reception and send of mail.
There are much recipes for create a SMTP/IMAP Scenario.
 
Old 12-23-2015, 04:56 PM   #6
ciroreed
LQ Newbie
 
Registered: Jul 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Omg, im a completly noob.

I found many of them, but none works on my server. Im running Ubuntu 14.04 x64.

I want just create accounts to be accesed through a mail client like thunderbird
 
  


Reply

Tags
mail, postfix, ubuntu


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
Can send mail but Not able to receive mail. Postfixadmin, dovecot, postfix setup RajeshThakur Linux - Newbie 9 04-20-2012 09:31 AM
postfix can't send or receive mail? uiuiui172 Linux - Server 10 08-28-2009 05:49 PM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 11:40 PM
postfix can't receive mail; send OK ssfrstlstnm Linux - Server 4 04-24-2007 09:01 PM
Postfix able to send but not receive mail :( !! Ikik Linux - General 10 01-28-2004 08:40 PM

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

All times are GMT -5. The time now is 10:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration