Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-27-2009, 08:00 PM   #1
Registered: Dec 2008
Location: Norway
Distribution: Debian
Posts: 43

Rep: Reputation: 15
EHLO error in /var/log/maillog

Hello again.

I'm running Slack 12. Postfix with Dovecot SASL, Dovecot and Mysql is installed and running almost perfectly.

I'm getting errors like these in the logs that i can't figure out.

Mar 27 21:30:18 dillyb postfix/smtpd[6526]: NOQUEUE: reject: RCPT from[]: 504 5.5.2 <Mysoftis>: Helo command rejected: need fully-qualified hostname; from=<> to=<> proto=ESMTP helo=<Mysoftis>
When using an email client from my own network it works well but out side the network it is not working. The server is configured to accept mails from host only without password. Outside the host one has to authenticate through SASL before the mail server will relay anything. I suspect i'm doing something wrong with the authentication, maybe using LOGIN and PLAIN where i should not or something like that.

This is my "postconf -n"

alias_maps = mysql:/etc/postfix/
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
disable_vrfy_command = yes
html_directory = /usr/doc/postfix-2.5.5/html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = localhost
myhostname = localhost
mynetworks_style = host
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/doc/postfix-2.5.5/README_FILES
relay_domains = proxy:mysql:/etc/postfix/
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_security_options = noanonymous
smtpd_client_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_unknown_client, permit
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, reject_rbl_client, reject_rbl_client, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_unknown_client, permit
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/
virtual_gid_maps = static:200
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/
virtual_minimum_uid = 200
virtual_transport = virtual
virtual_uid_maps = static:200

Anyone have an idea what are causing these errors?
Old 07-26-2009, 01:21 AM   #2
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
was "" the email you where sending to? Or was this an example.


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
write mail log to /var/log/maillog jimmyjiang Red Hat 4 01-15-2008 06:18 PM
why is maillog on my server getting created in /var/log/maillog.3 ? weblink_dipti Linux - Software 2 06-16-2007 04:47 AM
STARTTLS errors in /var/log/maillog Linux - Software 1 10-26-2005 04:18 PM
File /var/log/maillog too big. Zepiroth Linux - Software 0 05-10-2004 06:12 AM
/var/log/maillog file size vaughn Linux - Software 6 12-15-2003 05:12 PM > Forums > Linux Forums > Linux - Server

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