Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 8th May 2010, 10:01
ganfun ganfun is offline
Junior Member
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix email problem on ubuntu server 9.10 with spamassian and dovecot


i installed a new server ubuntu server 9.10 with lamp, etc.

after which i followed the following tutorial to setup

Postfix, DoveCot, Squirell


It was working fine till here. After which i installed the spamassain which also got configured perfectly.

I can send only 1 or 2 mails after which i get error

here is my confid file of 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/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
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.

myhostname = minfolin
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mydomain.com, minfolin.minfo-server, localhost.minfo-server, localhost
relayhost = mail.mydomain.com
mynetworks = [::ffff:]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mydomain.com
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
The config of my host file.
Quote: mail.mydomain.com, localhost mydomain.com

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I get the following error when i try to send emails.

The mail system

<someone@gmail.com>: host mail.mydomain.com[70.38.xx.xx] said: 550 Access
denied - Invalid HELO name (See RFC2821 (in reply to MAIL FROM

or if i play with the config

<someone@gmail.com>: mail.mydomain.com[70.38.xx.xx] said:
550-(mydomain.com) [210.211.xxx.xxx] is currently not permitted to relay
550-through this server. Perhaps you have not logged into the pop/imap
server 550-in the last 30 minutes or do not have SMTP Authentication turned
on in your 550 email client. (in reply to RCPT TO command)

Fully frustrated with this, anyhelp or a link for this problem will be helpfull.
Reply With Quote
Sponsored Links
Old 8th May 2010, 16:04
ganfun ganfun is offline
Junior Member
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem solved

okie here is the small line that you need to addup to fix this problem

smtp_helo_name = host.example.com

in case you come up with any such error
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 05:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.