General mail error

Discussion in 'General' started by tristanlee85, Apr 2, 2007.

  1. tristanlee85

    tristanlee85 New Member

    Does this mean that the e-mail was not sent?

    Apr 2 01:57:49 server postfix/smtp[21399]: 2D3A8490041: to=<EDITED ADDRESS>, relay=my.smtp.address[xx.xx.xx.xx], delay=1918, status=deferred (host my.smtp.address[xx.xx.xx.xx] said: 451 4.1.8 Domain of sender address [email protected] does not resolve (in reply to MAIL FROM command))

    Apr 2 01:57:49 server postfix/smtp[21403]: C7D9949003E: to=<EDITED ADDRESS>, relay=my.smtp.address[xx.xx.xx.xx], delay=2211, status=deferred
    (host my.smtp.address[xx.xx.xx.xx] said: 451 4.1.8 Domain of sender address [email protected] does not resolve (in reply to MAIL FROM command))


    If so, what can I fix?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, the emails are not send. Please make sure that the domain name server.vasceria.com does exist (resolve) in DNS.
     
  3. tristanlee85

    tristanlee85 New Member

    Code:
    [tristan@localhost ~]$ dig server.vasceria.com
    
    ; <<>> DiG 9.3.2 <<>> server.vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60658
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;server.vasceria.com.           IN      A
    
    ;; ANSWER SECTION:
    server.vasceria.com.    21908   IN      A       24.95.42.77
    
    ;; AUTHORITY SECTION:
    vasceria.com.           21908   IN      NS      server1.vasceria.com.
    vasceria.com.           21908   IN      NS      server.vasceria.com.
    
    ;; ADDITIONAL SECTION:
    server1.vasceria.com.   21908   IN      A       24.95.42.77
    
    ;; Query time: 31 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Mon Apr  2 14:55:08 2007
    ;; MSG SIZE  rcvd: 105
    It looks like it does. I mean it has to. All of my domains I bought use that DNS.
     
  4. edge

    edge Active Member Moderator

    You are missing the MX record!
     
  5. tristanlee85

    tristanlee85 New Member

    Alright. I don't see any place in ISPConfig that isn't checked for giving that a MX record.
     
  6. edge

    edge Active Member Moderator

    Login on ISPConfig > DNS Manager > the-DNS-of-domain > Records > NEW MX

    Add as Hostaname: @
    Set Priority to 10 (it should allready be like this)
    Add in Mailserver: vasceria.com
     
  7. tristanlee85

    tristanlee85 New Member

    Alright. I did that and it's been about 12 hours and the MX record still isn't there. server.vasceria.com is my name server. The domain processing the e-mails is www.plastikracing.net. The thing it, sometimes it sends messages and sometimes it doesn't.

    Code:
    Apr  4 00:32:50 server postfix/smtp[16795]: 107EF490040: to=<[email protected]>, relay=smtp-server.columbus.rr.com[65.24.7.60], delay=22051, status=sent (250 2.0.0 l344LuN9000469 Message accepted for delivery)
    
    Apr  4 00:32:50 server postfix/smtp[16793]: 92352490089: to=<[email protected]>, relay=smtp-server.columbus.rr.com[65.24.7.60], delay=3810, status=sent (250 2.0.0 l344Luqr000467 Message accepted for delivery)
    
    Apr  4 00:34:35 server postfix/smtp[16796]: 8AE7C490085: to=<[email protected]>, relay=smtp-server.columbus.rr.com[65.24.7.60], delay=4597, status=deferred (host smtp-server.columbus.rr.com[65.24.7.60] said: 451 4.1.8 Domain of sender address [email protected] does not resolve (in reply to MAIL FROM command))
     
  8. tristanlee85

    tristanlee85 New Member

    And in addition to that, I noticed this:

    Code:
    Apr  4 04:05:33 server sendmail[24886]: l3485W8Y024886: from=root, size=5553, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
    How do I get it to mail that to admin@localhost instead of root@localhost?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    This error message is not a MX problem, do you have a A-Record for server.vasceria.com ?
     
  10. tristanlee85

    tristanlee85 New Member

    Code:
    [tristan@localhost ~]$ dig server.vasceria.com
    
    ; <<>> DiG 9.3.2 <<>> server.vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30185
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;server.vasceria.com.           IN      A
    
    ;; ANSWER SECTION:
    server.vasceria.com.    41696   IN      A       24.95.42.77
    
    ;; AUTHORITY SECTION:
    vasceria.com.           41696   IN      NS      server1.vasceria.com.
    vasceria.com.           41696   IN      NS      server.vasceria.com.
    
    ;; ADDITIONAL SECTION:
    server1.vasceria.com.   41696   IN      A       24.95.42.77
    
    ;; Query time: 25 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Wed Apr  4 14:25:36 2007
    ;; MSG SIZE  rcvd: 105
    
     
  11. falko

    falko Super Moderator Howtoforge Staff

    There are no name servers for your domain:

    Code:
    mh1:~# dig ns vasceria.com
    
    ; <<>> DiG 9.2.1 <<>> ns vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4766
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;vasceria.com.                  IN      NS
    
    ;; Query time: 9 msec
    ;; SERVER: 213.191.92.84#53(213.191.92.84)
    ;; WHEN: Thu Apr  5 17:05:54 2007
    ;; MSG SIZE  rcvd: 30
    Do you run the name servers for vasceria.com yourself? If so, what are the names of your name servers?
     
  12. tristanlee85

    tristanlee85 New Member

    No, my domains are plastikracing.net, plastikhosting.net, bensdrumming.com, and allash.com. The nameservers for those domains are server.vasceria.com and server1.vasceria.com.

    And that's odd. I ran the same syntax and got this:

    Code:
    [tristan@localhost ~]$ dig ns vasceria.com
    
    ; <<>> DiG 9.3.2 <<>> ns vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42528
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;vasceria.com.                  IN      NS
    
    ;; ANSWER SECTION:
    vasceria.com.           96613   IN      NS      server.vasceria.com.
    vasceria.com.           96613   IN      NS      server1.vasceria.com.
    
    ;; ADDITIONAL SECTION:
    server.vasceria.com.    96613   IN      A       24.95.42.77
    server1.vasceria.com.   96613   IN      A       24.95.42.77
    
    ;; Query time: 34 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Thu Apr  5 23:49:56 2007
    ;; MSG SIZE  rcvd: 105
     
    Last edited: Apr 6, 2007
  13. falko

    falko Super Moderator Howtoforge Staff

    I get the same result now, too. It can take up to 72 hours until DNS changes get propagated, so that can be the reason for my first result.
    Are you still having DNS problems now?
     
  14. tristanlee85

    tristanlee85 New Member

    Yeh, it looks like all is good. I can't find any errors on my logs.

    Now on to the other question: the LogWatch e-mails and other error messages get sent to root@localhost. Instead of having to KVM to the server and check my root mail using the mail function, is there anyway to make it so the stuff gets e-mailed to admin@localhost instead? That way, I can check that mailbox using Thunderbird and get my e-mails normally since you can't access the root mailbox from a different system (I can't at least).
     
  15. falko

    falko Super Moderator Howtoforge Staff

    You could set up an alias for root in /etc/aliases:
    Code:
    root: admin
    Run
    Code:
    newaliases
    /etc/init.d/postfix restart
    afterwards.
     
  16. tristanlee85

    tristanlee85 New Member

    Well, it looks like that fixed it. I got a returned message saying that one of the forum user's e-mail address was incorrect. Though, the mail seemed to be delayed a bit. I had someone on the forum IM me over AOL telling me he received his mail message about 30 minutes after he received his PM.
     
  17. falko

    falko Super Moderator Howtoforge Staff

    Please check your mail log if there are errors or warnings in it.
     
  18. tristanlee85

    tristanlee85 New Member

    Now I've ran into this problem. For the longest time my server was the DMZ host. I think that's where my problem of having people use my as a relay caught up to me. Since then I disabled that and just used UPnP Forwarding on my router. I forwarded port 21, 80, 53, and 443 to 192.168.1.130 (my server). Ever since I did that, I haven't been able to receive any of my mail from my server. I thought it was odd that 2 days went by and I didn't get any e-mail, but as soon as I put my server back as the DMZ host, I was able to receive my e-mail. Why is this?
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    You did not forward the SMTP port (25), thats why you did not receive any mail. Putting the server behind the firewall will not help to stop spammers if you stillw ant to receive emails.

    1) Check if your server is really a open relay:

    http://www.abuse.net/relay.html

    2) If it is a open relay, compare your postfix setup with the setup described in the perfect setup guides.
     
  20. tristanlee85

    tristanlee85 New Member

    I'm still getting these errors. Here is the e-mail I'm getting:

    Code:
    This is the Postfix program at host server.vasceria.com.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to <postmaster>
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
    			The Postfix program
    
    <[email protected]>: host smtp-server.columbus.rr.com[65.24.7.60] said: 553
        5.1.8 <[email protected]>... Domain of sender address
        [email protected] does not exist (in reply to MAIL FROM command)
    
    <[email protected]>: host smtp-server.columbus.rr.com[65.24.7.60] said:
        553 5.1.8 <[email protected]>... Domain of sender address
        [email protected] does not exist (in reply to MAIL FROM command)
    
    <[email protected]>: host smtp-server.columbus.rr.com[65.24.7.60] said:
        553 5.1.8 <[email protected]>... Domain of sender address
        [email protected] does not exist (in reply to MAIL FROM command)
    I go to see if there is a MX record for server.vasceria.com, but it doesn't look like there is.

    Code:
    [tristan@tristan ~]$ dig mx server.vasceria.com
    
    ; <<>> DiG 9.3.2 <<>> mx server.vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 50862
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;server.vasceria.com.           IN      MX
    
    ;; AUTHORITY SECTION:
    vasceria.com.           10800   IN      SOA     server.vasceria.com. root.localhost. 2007051802 28800 7200 604800 86400
    
    ;; Query time: 53 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Sat May 19 04:13:43 2007
    ;; MSG SIZE  rcvd: 87
    I've done what you said about adding the hostname @ and the domain vasceria.com, but it still doesn't seem to be working.
     

Share This Page