General mail error

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

  1. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that a DNS A-Record (not MX record) for server.vasceria.com exists.
     
  2. tristanlee85

    tristanlee85 New Member

    Code:
    [tristan@tristan ~]$ dig a server.vasceria.com
    
    ; <<>> DiG 9.3.2 <<>> a server.vasceria.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15800
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;server.vasceria.com.           IN      A
    
    ;; AUTHORITY SECTION:
    vasceria.com.           10800   IN      SOA     server.vasceria.com. root.localhost. 2007051802 28800 7200 604800 86400
    
    ;; Query time: 43 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Sat May 19 11:17:38 2007
    ;; MSG SIZE  rcvd: 87
    I guess there is no A-record.
     
  3. falko

    falko Super Moderator Howtoforge Staff

  4. pristoid

    pristoid New Member

    How to set webmail for a new site

    Thank you guys for creating such a great thing like ispconfig. But i'm having difficulties to set up a webmail for my new created site. Here's the fact:

    - I register the domain theardjunahotels.info to godaddy.com
    - create my site : www.theardjunahotels.info ( and it's look great, thanks)
    Create DNS: checked
    Create DNS-MX checked
    - change the A host for my domain at godaddy.com to point my ispconfig ip :
    @ 202.87.254.52
    ns1 202.87.254.52
    ( I haven't make my second DNS server )
    - change the default DNS server setting my Ispconfig to :
    ns1.theardjunahotels.info

    What I do next :
    - Install squirellmail package via tools menu and login with one of the account created before and success.

    The problem :
    - I can sent email from squirellmail to [email protected] and received in bulk mail with sender [email protected]. but in body message yahoo said the email was came from [email protected].
    -When reply to this sender or create a new mail message, Yahoo always fail to send it.
    Code:
    Hi. This is the qmail-send program at yahoo.com.
    I'm afraid I wasn't able to deliver your message to the following 
    addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.
    
    <[email protected]>:
    202.87.254.52 does not like recipient.
    Remote host said: 554 5.7.1 <[email protected]>: Relay 
    access denied
    Giving up on 202.87.254.52.
    
    --- Below this line is a copy of the message.
    
    Return-Path: <[email protected]>
    Received: (qmail 91094 invoked by uid 60001); 26 May 2007 04:44:06 
    -0000
    DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
      s=s1024; d=yahoo.com;
      
    h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
      
    b=WOrVDT+BiUqkrvuV/iHhcIbuVsddekGjwBA8be8dZSmWwOrJhMuz9SnnkF4SusQG5AFIPBXzBliKDyxtfqGTX4NDvuCU4IMUXaoWN/QVYQPNiFSHfvYhOlJN9Q0O0B93HNGtfNvypIOdJl0d+3ObkIFcpd9m+WQWGIXLD2CyzCI=;
    X-YMail-OSG: 
    8FK6yW0VM1llWX97inAKkWYtR.FJFGfmTYky6W0RJIkJnUUxluGgH4d.iR5SbnbQf45zG_Oxi3NdLk7RwnYWLBusXhdTS6LGEeS95.XNZYvgBQa2r3BxZdZx6NC24Q--
    Received: from [203.130.242.207] by web38013.mail.mud.yahoo.com via 
    HTTP; Sat, 26 May 2007 11:44:06 ICT
    Date: Sat, 26 May 2007 11:44:06 +0700 (ICT)
    From: <[email protected]>
    Subject: Balasan: Fwd: fsaf
    To: web22_a_prasetio <[email protected]>
    In-Reply-To: <2f3beb07566a1ffacbb687e4dc207c98@localhost>
    MIME-Version: 1.0
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: 8bit
    Message-ID: <[email protected]>
    
    
    --- web22_a_prasetio
    <[email protected]> wrote:
    
    > 
    > 
    > -------- Original Message --------
    > Subject: fsaf
    > Date: Sat, 26 May 2007 11:31:07 +0700 (WIT)
    > From: [email protected]
    > To: [email protected]
    > 
    > vsdgfsd gdfg d
    > 
    > 
    
    My question :
    - what went wrong ?
    - How can I setup webmail for domain theardjunahotels.info with url address http://webmail.theardjunahotels.info that actualy point to the ISPConfig mail package (Roundcube, Squirellmail etc)

    I'v been trying to do what posted here with no result. Thanks a lot guys.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed to set the correct sender address under options in squirrelmail.

    Create a co-domain webmail and redirect it to the webmail interface.
     
  6. pristoid

    pristoid New Member

    Thanks for the redirecting info. But how about the big things so I can send and receive my email in the correct way. Been trying rouncube with the same result ?

     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I have posted the answer already. Please read the my post above. You must set the correct sender address in squirrelmail.
     
  8. tristanlee85

    tristanlee85 New Member

    I don't use the domain vasceria.com. The only domains I use are *.plastikracing.net, *.plastikhosting.net, and *.allash.com. server.vasceria.com and server1.vasceria.com are my name servers.

    When I check for a MX record for forums.plastikracing.net I get:

    Code:
    [tristan@tristan ~]$ dig mx plastikracing.net
    
    ; <<>> DiG 9.3.2 <<>> mx plastikracing.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37510
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;plastikracing.net.             IN      MX
    
    ;; ANSWER SECTION:
    plastikracing.net.      86400   IN      MX      10 plastikracing.net.
    
    ;; AUTHORITY SECTION:
    plastikracing.net.      84553   IN      NS      server.vasceria.com.
    plastikracing.net.      84553   IN      NS      server1.vasceria.com.
    
    ;; ADDITIONAL SECTION:
    plastikracing.net.      70427   IN      A       24.95.42.77
    server.vasceria.com.    35676   IN      A       24.95.42.77
    server1.vasceria.com.   35676   IN      A       24.95.42.77
    
    ;; Query time: 75 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Thu Jun 14 16:04:44 2007
    ;; MSG SIZE  rcvd: 154
    
    I check for one for just plastikracing.net I get:

    Code:
    [tristan@tristan ~]$ dig mx forums.plastikracing.net
    
    ; <<>> DiG 9.3.2 <<>> mx forums.plastikracing.net
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31542
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;forums.plastikracing.net.      IN      MX
    
    ;; AUTHORITY SECTION:
    plastikracing.net.      10800   IN      SOA     server.vasceria.com. tristan.plastikracing.net. 2007052401 28800 7200 604800 86400
    
    ;; Query time: 39 msec
    ;; SERVER: 65.24.7.3#53(65.24.7.3)
    ;; WHEN: Thu Jun 14 16:05:14 2007
    ;; MSG SIZE  rcvd: 105
    
    So, I'm getting a MX record for plastikracing.net, but not for forums.plastikracing.net. I'm using www.cheap-domainregistration.com as my registrar, but I couldn't find anything about glue records. Something tells me I have something other than glue records causing problems.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have email addresses like [email protected]? Then you need a MX record for forums.plastikracing.net. If you have only email addresses like [email protected], then you do not need a MX record for forums.plastikracing.net.
     
  10. Gza

    Gza New Member

    rewrited mail from

    Hi

    I've got same problem, with drupal. I've set up site_mail variable, in drupal system settings like [email protected] which is one of my domain, but in the body of outgoing mail it was changed to [email protected]

    On other domains (on this server) the webmail (uebimiau) works fine.

    TIA

    Gza
     
  11. falko

    falko Super Moderator Howtoforge Staff

    If the sender address isn't set correctly by Drupal, then you must search Drupal's source code and change the mail code so that it sets the sender address correctly (see PHP's mail() function for how to set headers: http://de2.php.net/manual/en/function.mail.php ).
     

Share This Page