Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-02-2014, 04:25 PM   #1
Registered: Jul 2013
Posts: 35

Rep: Reputation: Disabled
Postfix receive mail

I know it's been discussed all over the place but after a few hours working with it, I can't set it up properly on my VPS. I'm able to send out mail but can't receive any. My goal is to be able to receive mail via Postfix from internet site then forward to Gmail account.

What are the proper steps to get it working?
append_dot_mydomain = no
readme_directory = no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin =
mydestination =, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = [::ffff:]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relay_domain =
inet_protocols = ipv4

Last edited by Almaz; 12-02-2014 at 04:31 PM.
Old 12-04-2014, 04:01 AM   #2
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Thats not the complete configuration and least to figure out what you need is what you set or not:

I would do something this:
mydestination = $myhostname
relay_domains =$myorigin
and look the entries in file.

Last edited by SAbhi; 12-04-2014 at 04:06 AM. Reason: correction


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 mail server cant receive mail outside LAN shio Linux - Networking 2 10-05-2007 06:01 AM
Postfix, receive e-mail chartism Linux - Server 2 09-01-2006 12:23 AM
Postfix can't receive mail kelper Linux - Software 6 05-17-2004 10:43 PM
Postfix will only receive internal mail elgolferisto Linux - Software 10 10-06-2003 08:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration