efegue
asked on
Postfix is different inside than outside?
I can't get my postfix to work correctly.
When I connect inside the server at localhost I have something like:
root@SFTSRVDB01:/etc/postf ix# telnet 192.168.96.200 25
Trying 192.168.96.200...
Connected to mail.domain.com.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
When I try to connect outside, I dont have nothing similar.. "ehlo" command does not work for example..
220 ************************** ********** ******
ehlo mail.domain.com
502 Error: command not implemented
This does not make sense for me, can it be a firewall port that isnt opened?
When I connect inside the server at localhost I have something like:
root@SFTSRVDB01:/etc/postf
Trying 192.168.96.200...
Connected to mail.domain.com.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME
When I try to connect outside, I dont have nothing similar.. "ehlo" command does not work for example..
220 **************************
ehlo mail.domain.com
502 Error: command not implemented
This does not make sense for me, can it be a firewall port that isnt opened?
some guy here had the same problem: http://archives.neohapsis.com/archives/postfix/2005-02/thread.html#706
There's a thread called: "EHLO command not implemented from external connections "
There's a thread called: "EHLO command not implemented from external connections "
I suppose it could be a firewall issue if from outside you are being redirected to an incorrect server.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
root@SFTSRVDB01:/etc/postf ix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = mail.domain.com, localhost
myhostname = mail.domain.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_dat abase = btree:${queue_directory}/s mtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictio ns = permit_sasl_authenticated, permit_myn etworks,re ject_unaut h_destinat ion
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_option s =
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-sn akeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert- snakeoil.k ey
smtpd_tls_session_cache_da tabase = btree:${queue_directory}/s mtpd_scach e
smtpd_use_tls = yes
virtual_alias_domains = domain.com
virtual_alias_maps = hash:/etc/postfix/virtual
Yes the server is behind a Cisco Firewall (PIX OS)..
I'll have a look at it then!
Thanks a lot for the suggestions.
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
mydestination = mail.domain.com, localhost
myhostname = mail.domain.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_dat
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictio
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_option
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-sn
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-
smtpd_tls_session_cache_da
smtpd_use_tls = yes
virtual_alias_domains = domain.com
virtual_alias_maps = hash:/etc/postfix/virtual
Yes the server is behind a Cisco Firewall (PIX OS)..
I'll have a look at it then!
Thanks a lot for the suggestions.
ASKER
ok, it was really the Cisco..
I gave 400 points for grblades for the right answer and 100 points for Cyclops3590 for the right command, only "protocol" was missing..
Thanks both ;)
I gave 400 points for grblades for the right answer and 100 points for Cyclops3590 for the right command, only "protocol" was missing..
Thanks both ;)
Can you run 'postconf -n' and post the output here.