LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   EHLO error in /var/log/maillog (https://www.linuxquestions.org/questions/linux-server-73/ehlo-error-in-var-log-maillog-714977/)

Mogget 03-27-2009 08:00 PM

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.

Code:

Mar 27 21:30:18 dillyb postfix/smtpd[6526]: NOQUEUE: reject: RCPT from c-23-100-211-67.hgd5.wa.comcast.net[23.100.211.67]: 504 5.5.2 <Mysoftis>: Helo command rejected: need fully-qualified hostname; from=<test@my.domain.com> to=<test@my.domain.com> 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/mysql_virtual_alias_maps.cf
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/mysql_virtual_relay_domains_maps.cf
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 safe.dnsbl.sorbs.net, reject_rbl_client zen.spamhaus.org, 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/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:200
virtual_mailbox_base = /var/spool/mail/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 200
virtual_transport = virtual
virtual_uid_maps = static:200

Anyone have an idea what are causing these errors?

micxz 07-26-2009 01:21 AM

was "test@my.domain.com" the email you where sending to? Or was this an example.


All times are GMT -5. The time now is 04:17 AM.