
04-03-2010, 04:54 PM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
Lightweight CentOS/Linux SMTP Mail server Recommendations
What would you recommend for a lightweight, CentOS/Linux SMTP server? I really only need it for outbound, "automated emails" in support of my website. I have Google Apps setup for 'personalized' outbound/inbound emails.
I'm looking for something extremely easy to setup for outgoing mails.
Thanks,
Novice32
|

04-03-2010, 05:05 PM
|
|
SSD Powered
|
|
Join Date: Jun 2006
Location: United Kingdom
Posts: 1,726
|
|
Dovecot+Postfix works well.
__________________
JHWC - Host / Sysadmin / Developer
|

04-03-2010, 05:40 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Jan 2004
Location: Northeast
Posts: 60
|
|
I'm in a similar situation and actually did this myself based on this article.
Just read up a little on postfix virtual domain mapping if you are going to host external domains. Also, make sure you have rDNS setup for your domain and set up an SPF record. When everything is set, you can check yourself over to mxtoolbox.com
Sweet running setup up with Webmin as I'm not a command line commando. Ultimately I ditched it in favor of a Fastmail.fm account as I didn't want to deal with it. Fastmail will also host your DNS so you can ditch both mail and DNS servers on your VPS and end up with a really cost effective solution by using a paid mail service in this manner.
Good luck with it.
Last edited by Luckybum; 04-03-2010 at 05:48 PM.
Reason: sp. and forgot a link
|

04-03-2010, 06:30 PM
|
|
Junior Guru
|
|
Join Date: Nov 2006
Posts: 243
|
|
technically if you want to just do outbound; you do not even need smtp service since it listens on port 25 and could probably get away adding an account in google to use smtp. Therefore you just need to setup exim/postfix in null client mode which should satisfy outbound unless there's some script that needs to send mail through port 25.
|

04-03-2010, 06:41 PM
|
|
Junior Guru
|
|
Join Date: Nov 2006
Posts: 243
|
|
you guys are so weird. what's the point of recommending dovecot in regards to novice32 question.
|

04-03-2010, 08:49 PM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
Thanks everyone for the responses. I like the posfix in null client mode option. Google Apps does offer smtp access, but only for the enterprise version $$$ ( I have the standard/free Google mail app). I don't have GNOME setup, so command line all the way.. plus new the Linux too.
|

04-03-2010, 08:54 PM
|
|
Retired Moderator
|
|
Join Date: Mar 2004
Location: Singapore/Melbourne
Posts: 6,815
|
|
Qmail as in Qmailtoaster will be extremely easy to setup. I guess you can block the POP ports etc and just allow SMTP
|

04-05-2010, 07:38 AM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
What's the memory footprint of posfix ?
|

04-05-2010, 10:27 AM
|
|
Newbie
|
|
Join Date: Mar 2010
Posts: 26
|
|
36832 KB at the moment on Debian Lenny 64 bit
|

04-09-2010, 07:45 AM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
For my domain, I setup Postfix (on CentOS 5.4) as a Null client. On automated outbound emails, I need to bcc myself ( "info@domain.com", which the PHP code does). However, I never receive emails in my Google app account. Instead, they appear on localhost server ( At the Linux prompt I get "you have new mail"). As a null client, why would I receive local mail and thoughts on the issue? How can I double-check that postfix is really being used (as opposed to sendmail, which appears to be installed). I'm not a Linux GURU..so advice would help
|

04-09-2010, 08:15 AM
|
|
Web Hosting Master
|
|
Join Date: Jun 2006
Location: Europe
Posts: 632
|
|
Quote:
Originally Posted by novice32
For my domain, I setup Postfix (on CentOS 5.4) as a Null client. On automated outbound emails, I need to bcc myself ( "info@domain.com", which the PHP code does). However, I never receive emails in my Google app account. Instead, they appear on localhost server ( At the Linux prompt I get "you have new mail"). As a null client, why would I receive local mail and thoughts on the issue? How can I double-check that postfix is really being used (as opposed to sendmail, which appears to be installed). I'm not a Linux GURU..so advice would help
|
getting email to your local user account while trying to send an outbound message, usually indicates that postfix is actually not working correctly, e.g. not sending any outbound emails and gives you an report to local user account.
have a look at /var/log/mail.info
|

04-09-2010, 06:26 PM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
|

04-09-2010, 06:38 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2005
Posts: 1,270
|
|
Just remember guys gmail apps has a 500 smtp limit for free accounts and 2000 smtp limit for paid users.
|

04-12-2010, 09:06 AM
|
|
Newbie
|
|
Join Date: Feb 2010
Posts: 19
|
|
Hey everyone..I really need your help.. I setup postfix as a null client, but receive the following in Gmail for sent emails (from Postfix)
---------------------------------------------
host ASPMX.L.GOOGLE.com[209.85.223.16] said:
550-5.1.1 The email account that you tried to reach does not exist. Please
try 550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at
550 5.1.1
------------------------------------------------
*** where you see EXAMPLE.com, my real domain is used.
"postconf -n" outputs
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = loopback-only
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = example.com
myhostname = mail.example.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = $mydomain
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
--------------------------------------------------------------
According to POSTFIX, a null client setup should follow:
1 /etc/postfix/main.cf:
2 myorigin = $mydomain
3 relayhost = $mydomain
4 inet_interfaces = loopback-only
5 local_transport = error:local delivery is disabled
6
7 /etc/postfix/master.cf:
8 Comment out the local delivery agent entry
---------------------------------------------------------------
Furthermore, I have DNS "A" record for mail.example.com that points to my IP address. My IP address is also listed in the SPF record.
WHAT AM I DOING WRONG?
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|