Current time: 11-25-2024, 02:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] 554 5.7.1 Relay access denied
Author Message
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #21
RE: 554 5.7.1 Relay access denied
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?
10-19-2007 04:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #22
RE: 554 5.7.1 Relay access denied
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
10-19-2007 05:02 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #23
RE: 554 5.7.1 Relay access denied
netstat -an |grep 25?

edit: server maybe bound to 127.0.0.1 instead of 0.0.0.0
(This post was last modified: 10-19-2007 05:10 PM by rbtux.)
10-19-2007 05:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #24
RE: 554 5.7.1 Relay access denied
after i change inet_interface = all then i can login but now all mail even to local virtual domain gets Relay access denied
10-19-2007 05:30 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #25
RE: 554 5.7.1 Relay access denied
all the maps seems to be missing from your main.cf... this can't work...
have you overwritten the whole config?
10-19-2007 05:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #26
RE: 554 5.7.1 Relay access denied
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
10-19-2007 05:41 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #27
RE: 554 5.7.1 Relay access denied
and the result? ;-)
10-19-2007 05:57 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #28
RE: 554 5.7.1 Relay access denied
where are the definitions for virtual_alias_maps, transport_maps ...
10-19-2007 06:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
measaura Offline
Junior Member
*

Posts: 28
Joined: Oct 2007
Reputation: 0
Post: #29
RE: 554 5.7.1 Relay access denied
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.
10-19-2007 06:13 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #30
RE: 554 5.7.1 Relay access denied
please post the according section of the maillog for an outgoing connection...
10-19-2007 06:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 5 Guest(s)