ispCP - Board - Support
[Solved] 554 5.7.1 Relay access denied - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [Solved] 554 5.7.1 Relay access denied (/thread-1544.html)

Pages: 1 2 3 4


RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 04:57 PM

measaura Wrote:now i can't login telnet to port 25 from outside but all mail from localhost out can be delivered. is it the dovecot settings?

can you tell me a bit about your network?

are you behind a firewall or something? do you use private address on mailserver?


RE: 554 5.7.1 Relay access denied - measaura - 10-19-2007 05:02 PM

i'm connected to public network and no firewall in between. before this i have no problem telnet to port 25 until i remove & reinstall postfix just now. maybe postfix config or something


RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 05:09 PM

netstat -an |grep 25?

edit: server maybe bound to 127.0.0.1 instead of 0.0.0.0


RE: 554 5.7.1 Relay access denied - measaura - 10-19-2007 05:30 PM

after i change inet_interface = all then i can login but now all mail even to local virtual domain gets Relay access denied


RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 05:32 PM

all the maps seems to be missing from your main.cf... this can't work...
have you overwritten the whole config?


RE: 554 5.7.1 Relay access denied - measaura - 10-19-2007 05:41 PM

it's the default main.cf by postfix. now ive added sasl part as the howto instruct. here's the updated postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = $myhostname, localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = jjlab.com
myhostname = skywalker.jjlab.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
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
virtual_transport = dovecot



RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 05:57 PM

and the result? ;-)


RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 06:02 PM

where are the definitions for virtual_alias_maps, transport_maps ...


RE: 554 5.7.1 Relay access denied - measaura - 10-19-2007 06:13 PM

here are the updated one
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = jjlab.com
myhostname = enum.skywalker.jjlab.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:12
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 12004
virtual_transport = dovecot
virtual_uid_maps = static:12004

now i can login from remote but can only send to virtual domain in the server. not external domain.


RE: 554 5.7.1 Relay access denied - rbtux - 10-19-2007 06:41 PM

please post the according section of the maillog for an outgoing connection...