AFP548 Changing the world one server at a time.

Exim Installer looks good, but so far no luck…

Home › Forums › Archive › Exim Installer › Exim Installer looks good, but so far no luck…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #354630
    Dylan
    Participant

    I’m still struggling to migrate from 10.1S to 10.2S. I’ve decided to begin with a fresh installation of 10.2 Server and then install the specialized applications (like mailman and postfix) one at a time on the virgin box.

    Here’s the problem: for some reason, I can’t get my MTA to work on the new box. I tried Postfix, which I finally got working on my 10.1 Server a few months ago, but had no luck on the new 10.2 server… so instead I thought “hey, I’d like to allow SMTP AUTH anyhow, and that looks easier with EXIM, so I’ll just give up on Postfix and switch MTA’s while I’m switching servers.”

    I erased the hard drive, reinstalled 10.2, and then downloaded and used Joel’s EXIM installer, which seems to have worked well (it was certainly easy!). When I launched Server Settings to change the Mail to montior port 627 instead of 25 I was surprised to see it was already set that way. Hmm… maybe the installer did that too… I dunno.

    Anyhow, I rebooted the machine so that the StartupItem could launch Exim and tried to use the mail. No luck. It rejects all incoming and outgoing mail with “Temporary errors”. I’ll get the exact message tonight when I’m back on the box.

    I love OSX Server, I hate Apple’s documenation / support. If it wasn’t for the kindness of other Mac users, I’d never have gotten this far…. <sigh>

    #354632
    Dylan
    Participant

    I used your command line trick in the terminal, and it appears that Exim is running okay.

    However, whenever I try to send email (in this case, using the webmail system)… I get this error message:

    Server replied: 451 Temporary local problem – please try later


    I opened Server Status and clicked the LOG tab for mail, this is a snippet from the log, if it’s helpful:

    Oct  4 2002 00:41:17   System Local: ip76.gte11.rb1.bel.nwlink.com
    Oct  4 2002 00:41:17    ### Configuration Check ###
    Oct  4 2002 00:41:17        The IP address 207.202.146.76 resolves to the DNS name "ip76.gte11.rb1.bel.nwlink.com".
    Oct  4 2002 00:41:17        Local Delivery verification check on domain name "ip76.gte11.rb1.bel.nwlink.com" is in progress.
    Oct  4 2002 00:41:17    Resolver: NO_DATA.
    Oct  4 2002 00:41:17    GetMXRecord for ip76.gte11.rb1.bel.nwlink.com failed.
    Oct  4 2002 00:41:17    ### Configuration Check ###
    Oct  4 2002 00:41:17        All mail received for "ip76.gte11.rb1.bel.nwlink.com" will be processed for local delivery.
    Oct  4 2002 00:41:17    Starting other server processes ...
    Oct  4 2002 00:41:17    'SMTP' has been turned off by the Administrator.
    Oct  4 2002 00:41:17    Starting Message Router ...
    Oct  4 2002 00:41:17    Starting Notifier Threads ...
    Oct  4 2002 00:41:17    Starting Message Expiration Thread ...
    Oct  4 2002 00:41:17    Starting Server Status Thread ...
    Oct  4 2002 00:41:17    Starting SMTP Client Threads ...
    Oct  4 2002 00:41:17    Starting POP Client Threads ...
    Oct  4 2002 00:41:17    Maximum number of POP3/IMAP connections allowed: 1024
    Oct  4 2002 00:41:17    Maximum number of Incoming SMTP connections allowed: 256
    Oct  4 2002 00:41:17    Maximum number of Outgoing SMTP connections allowed: 1
    Oct  4 2002 00:41:17    Finished starting other server processes ...
    #354639
    Dylan
    Participant

    Well, I’ll bet the answer to my problem is somewhere in here. (this is what happens when I try to send mail and have the terminal up with Exim running in debug mode):

    [algore04:~] admin% sudo /usr/exim/bin/exim -bd -d
    Exim version 4.10 uid=0 gid=0 pid=495 L=834cd8 D=fff7577f
    probably Berkeley DB version 1.8x (native mode)
    changed uid/gid: forcing real = effective
      uid=0 gid=0
      auxiliary group list: 0
    trusted user
    admin user
    originator: uid=0 gid=0 login=root name=System Administrator
    listening on all interfaces (IPv4) port 25
    pid written to /var/spool/exim/exim-daemon.pid
    changed uid/gid: running as a daemon
      uid=25 gid=25
      auxiliary group list: 25
    LOG: MAIN
      exim 4.10 daemon started: pid=495, no queue runs, listening for SMTP on port 25 (IPv4)
    set_process_info:   495 daemon: no queue runs, listening for SMTP
    daemon running with uid=25 gid=25 euid=25 egid=25
    Listening...
    Connection request from 127.0.0.1 port 49173
    1 SMTP accept process running
    Listening...
    sender_fullhost = [127.0.0.1]
    sender_rcvhost = [127.0.0.1]
    Process 505 is handling incoming connection from [127.0.0.1]
    checking for IP options
    no IP options found
    host in host_lookup? yes (matched "<em>")
    looking up host name for 127.0.0.1
    IP address lookup yielded localhost
    localhost 127.0.0.1
    checking addresses for localhost
      127.0.0.1
    sender_fullhost = localhost [127.0.0.1]
    sender_rcvhost = localhost ([127.0.0.1])
    set_process_info:   505 handling incoming connection from localhost [127.0.0.1]
    host in host_reject_connection? no (option unset)
    host in sender_unqualified_hosts? no (option unset)
    host in recipient_unqualified_hosts? no (option unset)
    host in helo_verify_hosts? no (option unset)
    host in helo_try_verify_hosts? no (option unset)
    host in helo_accept_junk_hosts? no (option unset)
    LOG: smtp_connection MAIN
      SMTP connection from localhost [127.0.0.1] (TCP/IP connection count = 1)
    SMTP>> 220 mail.algore04.com ESMTP Exim 4.10 Sun, 06 Oct 2002 18:43:52 -0700
    Process 505 is ready for new message
    smtp_setup_msg entered
    SMTP<< HELO algore04.com
    sender_fullhost = localhost (algore04.com) [127.0.0.1]
    sender_rcvhost = localhost ([127.0.0.1] helo=algore04.com)
    set_process_info:   505 handling incoming connection from localhost (algore04.com) [127.0.0.1]
    SMTP>> 250 mail.algore04.com Hello localhost [127.0.0.1]
    SMTP<< MAIL FROM: <admin@algore04.com>
    SMTP>> 250 OK
    SMTP<< RCPT TO: <admin@algore04.com>
    active address admin@algore04.com
      local_part=admin domain=algore04.com
    using ACL "acl_check_rcpt"
    processing "accept"
    check hosts = :
    host in ":"? no (end of list)
    accept: condition test failed
    processing "deny"
    check local_parts = ^.</em>[@%!/|]
    admin in "^.*[@%!/|]"? no (end of list)
    deny: condition test failed
    processing "accept"
    check local_parts = postmaster
    admin in "postmaster"? no (end of list)
    accept: condition test failed
    processing "require"
    check verify = sender
    
    <blockquote>
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      Verifying admin@algore04.com
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      Considering admin@algore04.com
      active address admin@algore04.com
        local_part=admin domain=algore04.com
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
      routing admin@algore04.com
      --------> dnslookup router <--------
      local_part=admin domain=algore04.com
      checking domains
      algore04.com in "@"? no (end of list)
      algore04.com in "! +local_domains"? yes (end of list)
      cached lookup data = NULL
      calling dnslookup router
      dnslookup router called for admin@algore04.com
        domain = algore04.com
      DNS lookup of algore04.com (MX) succeeded
      DNS lookup of mail.algore04.com (A) succeeded
      207.202.146.76 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
      DNS lookup of algore04.com (A) succeeded
      207.202.146.76 in "0.0.0.0 : 127.0.0.0/8"? no (end of list)
      local host has lowest MX
      fully qualified name = algore04.com
      host_find_bydns yield = HOST_FOUND_LOCAL (3); returned hosts:
        mail.algore04.com 207.202.146.76 0 
        algore04.com 207.202.146.76 5 
      LOG: MAIN
        lowest numbered MX record points to local host: algore04.com (while verifying <admin@algore04.com> from host localhost (algore04.com) [127.0.0.1])
      dnslookup router: defer for admin@algore04.com
        message: lowest numbered MX record points to local host
      ----------- end verify ------------
      require: condition test deferred
      LOG: MAIN REJECT
        H=localhost (algore04.com) [127.0.0.1] sender verify defer for <admin@algore04.com>: lowest numbered MX record points to local host
      SMTP>> 451 Temporary local problem - please try later
      LOG: MAIN REJECT
        H=localhost (algore04.com) [127.0.0.1] F=<admin@algore04.com> temporarily rejected RCPT <admin@algore04.com>: Sender verify did not complete
      SMTP>> 421 mail.algore04.com lost input connection
      LOG: lost_incoming_connection MAIN
        unexpected disconnection while reading SMTP command from localhost (algore04.com) [127.0.0.1]
      search_tidyup called
      child 505 ended: status=0x100
      0 SMTP accept processes now running
      Listening...
      
    #354644
    Dylan
    Participant

    I’m impressed. I’m having a few niggling issues, but it’s essentially working now. Thanks!

    I wonder sometimes if my software requires extra configuration and effort because the reverse DNS on my server’s IP doesn’t resolve the way I would like, and I can’t seem to talk my ISP into changing it….

    Anyhow it’s looking good. If I can get mailman working again (with Exim now instead of Postfix), I should be ready to go live with 10.2 server and drop 10.1 forever. Woohoo. (which is good since I’ve already sold my 10.1 license on eBay assuming I’d not need it anymore– uh oh, better get to 10.2 quick)

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