Home Forums OS X Server and Client Discussion Mail Postfix on Tiger Xserve Mail failing to connect….

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #362851
    nicki
    Participant

    Hi- I am trying to send mail from the command line on Tiger. I don’t have a mailserver running, I’m just trying to set this up for php scripts to send mail. Anyway, my mail is not going, and the errors are as follows:
    In the mail.log:
    Aug 19 11:41:24 www1 postfix/smtp[16109]: connect to assumption.edu[192.80.61.7]: Operation timed out (port 25)
    Aug 19 11:41:24 www1 postfix/smtp[16109]: 8DD121DB021: to=, relay=none, delay=92484, status=deferred (connect to assumption.edu[192.80.61.7]: Operation timed out)
    Aug 19 11:57:34 www1 postfix/qmgr[451]: 1603C1DB5D4: from=<>, size=1773, nrcpt=1 (queue active)
    Aug 19 11:57:34 www1 postfix/qmgr[451]: 929591DB5D9: from=<>, size=1382, nrcpt=1 (queue active)
    Aug 19 11:58:52 www1 postfix/smtp[16281]: 929591DB5D9: to=, relay=none, delay=9980, status=deferred (Host or domain name not found. Name service error for name=www1.www1 type=MX: Host not found, try again)
    Aug 19 11:58:52 www1 postfix/smtp[16280]: 1603C1DB5D4: to=, relay=none, delay=10052, status=deferred (Host or domain name not found. Name service error for name=www1.www1 type=MX: Host not found, try again)

    So, it’s creating mail just not delivering….
    In the defer dir- I find my mail and ….

    [www1:postfix/defer/5] usr# cat 5E3341DB5C8

    : connect to assumption.edu[192.80.61.7]: Operation timed out
    [email protected]
    offset=158
    status=4.0.0
    action=delayed
    reason=connect to assumption.edu[192.80.61.7]: Operation timed out

    This is because that’s not my ip address. When I do an ifconfig that ip address doesn’t show up either. How does that get set? Is 192.80.61.7 the ip it’s looking to send smtp mail throug? B/c I built this machine from an image where mail used to work and it was on that assumption.edu network. I dont know anything about postfix- so, I’m shooting in the dark. Thanks in advance for any help.
    Nicki

    #362853
    nicki
    Participant

    also- i get some errors from mailing from php and some from the command line- those might be combined in that log file. i think there is another error generated after a while that is a result of it trying to email the error back to someone that it doesn’t recognize – says
    Name service error for name=ww1.ww1 type=MX: Host not found, try again

    The name of the machine is www1
    The IP address in the log that I pointed out before is from an old mailserver the server used to use, and I didn’t think it still did but it must be imbedded somewhere.

    I also checkd out resolve.conf and that has the correct settings.

    It’s really only important that I be able to send mail through php so if this is the wrong path to setting that up, I don’t need to get command line mail working.

    #362857
    premiermac
    Participant

    You need to fix your Postfix mail server name settings. It’s in main.cf. You’ll find it in there as www1 or such; change it to the proper name of the server. It should be something that resolves via dns on the internet.

    See here- http://www.postfix.org/basic.html

    #362858
    nicki
    Participant

    It’s set correctly in main.cf
    I think it’s looking somewhere else for that configuration.

    myhostname= www1

    is the entry. That is in DNS. I suppose I could try changing it to an IP address. But really the error from the mail.log is looking for an old server that we used to use for smtp. It’s still running but I don’t know where to change the setting.

    this is the part I’m worreid about b/c I don’t know where that ip address is coming from
    Aug 19 11:41:24 www1 postfix/smtp[16109]: connect to assumption.edu[192.80.61.7]: Operation timed out (port 25)
    Aug 19 11:41:24 www1 postfix/smtp[16109]: 8DD121DB021: to=, relay=none, delay=92484, status=deferred (connect to assumption.edu[192.80.61.7]: Operation timed out)

    Erase that- sorry, I’m a networking idiot, that’s the resolution of the email address. I just realized our DNS has that ip assigned to assumption.edu so that makes sense. I think this is an exchange problem.

    #363702
    Anonymous
    Guest

    check the
    /etc/resolv.conf
    and
    /var/spool/postfix/etc/resolv.conf
    as same..

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

Comments are closed