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 01-21-2013, 10:26 AM   #1
AnalBeard
Member
 
Registered: Aug 2010
Distribution: Ubuntu 13.04 Server
Posts: 31

Rep: Reputation: 0
configuring Postfix to receive emails


ok, so i'm having a bit of a nightmare trying to figure out how to get postfix to receive emails.

I'm not trying for a complicated setup, just the ability to view the incoming emails with alpine. at the moment I can send with no issues, but cannot receive. To complicate issues further, this needs to happen over ipv6. due to the fact that i'm only testing, i'm using a free fqdn provided by mooo.com. So my first question is this: is it possible to receive at an address like user@subdomain.domain.com ?

I don't have mx records set up, but i understand that this shouldn't be a problem as it'll default to using the ip specified for the domain instead. I can telnet into port 25 fine and there is no firewall in front of the machine. my postfix config is as below:

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = [IPV6 ADDRESS]
inet_protocols = ipv6
mailbox_size_limit = 0
mydomain = REMOVED.mooo.com
myhostname = mail.REMOVED.mooo.com
mynetworks = [IPV6 ADDRESS]
myorigin = $mydomain
recipient_delimiter = +
relayhost = 
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
i've been staring at this for ages and my head hurts.



edit: i have now solved this, whilst my config wasn't perfect it was down to my MX records not being set up. having now configured this, I can read emails just fine.

Last edited by AnalBeard; 01-21-2013 at 03:22 PM.
 
Old 01-22-2013, 10:43 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Please mark the thread as solved.. thanks
 
  


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
Unable to receive emails with Postfix-Squirrel hbtousa Linux - Software 0 08-23-2012 11:14 AM
Postfix - Unable to receive emails deibertine Linux - Software 4 03-05-2011 03:38 AM
Postfix can not receive emails katja1111 Linux - Server 6 08-03-2010 05:07 PM
postfix can send but cannot receive emails rmihai Linux - Server 9 05-02-2009 09:12 AM
Postfix cannot receive emails from outside antho Linux - Newbie 0 02-24-2004 02:02 AM

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

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