Home Forums OS X Server and Client Discussion Mail SMTP rejecting incoming mail – no relay access…

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #363904
    vmarks
    Participant

    Help. This did work, and now doesn’t, and I cannot identify what broke it.

    (I have changed my domain name to LOCALDOMAIN in the text quoted below. the real domain is a lowercase legitimate real domain.)
    the message in the logs is:

    Nov 2 11:18:57 Evergreen postfix/smtpd[3712]: connect from hole.macnn.com[216.22.45.54]
    Nov 2 11:18:57 Evergreen postfix/smtpd[3712]: NOQUEUE: reject: RCPT from hole.macnn.com[216.22.45.54]: 554 : Relay access denied; from= to= proto=SMTP helo=
    Nov 2 11:18:58 Evergreen postfix/smtpd[3712]: disconnect from hole.macnn.com[216.22.45.54]

    The postconf -n is:

    alias_maps = hash:/etc/aliases
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    enable_server_options = yes
    html_directory = no
    inet_interfaces = all
    mail_owner = postfix
    mailbox_size_limit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = $myhostname,localhost.$mydomain,localhost,192.168.123.10
    mydomain = LOCALDOMAIN.org
    mydomain_fallback = localhost
    myhostname = mail.LOCALDOMAIN.org
    mynetworks = 127.0.0.0/8
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    owner_request_special = no
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpd_pw_server_security_options = login
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit
    smtpd_sasl_auth_enable = yes
    smtpd_tls_key_file =
    smtpd_use_pw_server = yes
    unknown_local_recipient_reject_code = 550
    virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp

    #365475
    sstortz
    Participant

    I am having much the same problem. We moved from one domain to another. I am not receiving mail due to an error 554:
    Feb 28 09:41:57 tiger postfix/smtpd[24420]: NOQUEUE: reject: RCPT from mail.otherguy.com[xxx.xxx.xxx.xxx]: 554 : Relay access denied; from= to= proto=ESMTP helo=
    I did some work on it and now get the error 451:
    Feb 28 14:07:38 tiger postfix/smtpd[27801]: NOQUEUE: reject: RCPT from mail.otherguy.com[xxx.xxx.xxx.xxx]: 451 Server configuration error; from= to= proto=SMTP helo=
    Thoughts?

    #366169
    culler
    Participant

    I have the same problem, except mine is a fresh install of 10.4 Server. The only way I could fix it was to add my domain name again as a virtual mail host. Surely though there must be a proper way to fix it :question:

    #366176
    culler
    Participant

    Sorry what I meant to say was, that I had to add my domain name in “Local Host Aliases”, so that it now has 2 items: localhost and my domain name.

    With only localhost, the system doesn’t accept any mail for my domain name

    #366185
    culler
    Participant

    So you’re saying that is the correct way of doing it? I’m new to Mac OS X Server, I thought it was enough to enter the domain in the General section.

    My current setup looks like this:
    [img]http://img118.imageshack.us/img118/9318/mailgeneral3wz.jpg[/img]
    [img]http://img118.imageshack.us/img118/3531/mailhosting4db.jpg[/img]

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed