[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) |
[Solved] 554 5.7.1 Relay access denied - measaura - 10-16-2007 08:57 PM I'm using Dovecot/postfix. I can't send mail out to other domain, e.g. MAIL FROM:me@abc.com, RCPT TO:me@xyz.com here's the postconf; postconf -n alias_database = hash:/etc/aliases allow_untrusted_routing = yes append_at_myorigin = yes append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix inet_interfaces = all local_destination_recipient_limit = 1 local_recipient_maps = unix:passwd.byname $alias_database local_transport = local mail_spool_directory = /var/mail mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 mydestination = $myhostname, $mydomain mydomain = jjlab.com.local myhostname = jjlab.com mynetworks_style = host myorigin = $myhostname relayhost = setgid_group = postdrop smtpd_banner = $myhostname ISPCP 1.0 Priamos Managed ESMTP 1.0.0 RC2 OMEGA smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_security_options = noplaintext smtpd_sasl_type = dovecot smtpd_sender_restrictions = transport_maps = hash:/etc/postfix/ispcp/transport 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 I've been fiddling with the config since last week to solve this issue. I'm able to send mail from Outlook 2003 with SMTP auth but i want to send from PHP without authentication just like my existing ms based mail server. -measaura- RE: 554 5.7.1 Relay access denied - rbtux - 10-17-2007 12:19 AM add the php webserver to mynetworks... RE: 554 5.7.1 Relay access denied - measaura - 10-17-2007 11:20 AM rbtux Wrote:add the php webserver to mynetworks... It's still the same. Is there any way that I can configure Postfix to allow relay access without the need to SMTP auth? -measaura- RE: 554 5.7.1 Relay access denied - joximu - 10-17-2007 07:13 PM Everything should be written here: http://www.postfix.org/basic.html#mynetworks There seems to be some problem with mynetworks/_style... ??? /Joxi RE: 554 5.7.1 Relay access denied - measaura - 10-17-2007 07:54 PM I'm new to Linux actually and not very familiar setting up all of these. I've gone through all of the docs on postfix but still not helping. Have tried playing with mynetworks/_style but alas. I'm totally stuck @ oh, I'm using FC6 here. -measaura- RE: 554 5.7.1 Relay access denied - joximu - 10-17-2007 08:13 PM Well, "normally" you should be fine with something like mynetworks = <php-server-ip>, 127.0.0.0/8 in your main.cf - and a postfix reload. /J RE: 554 5.7.1 Relay access denied - measaura - 10-17-2007 08:27 PM I realise the 'client' is not authenticated or unknown. the localhost telnet EHLO test is fine and message was queued but then defered and reason "unknown mail transport error" RE: 554 5.7.1 Relay access denied - joximu - 10-17-2007 08:32 PM can you post the master.cf? RE: 554 5.7.1 Relay access denied - measaura - 10-17-2007 08:40 PM Code: # Is it possible for me to reinstall ispCP & setup the mail server from fresh without losing the content in the domain that i've created. I feel like want to start everything from scratch again. This is the second time I reinstall this on my Fedora C6. RE: 554 5.7.1 Relay access denied - joximu - 10-17-2007 09:07 PM master.cf - hm seems ok... I think the poroblem is not ispcp - it's rather the communication between postfix and dovecot. Since dovecot is not (yet) "officially" supported (there is a howto but I don't know if this is enough for Fedora) I'd say you'll end up in similar problems after a fresh install. A fresh install: best would be: ispcp-uninstall and the install really from fresh. You have to backup the domains-data, the mails, maybe database content... It's not a quick process... BTW: does Fedora copy /etc/postfix/... to the chroot jail of postfix? (/var/spool - or lib/postfix/etc)? /Joximu |