Sending email problem

Discussion in 'Installation/Configuration' started by andrew2603, Feb 6, 2006.

  1. andrew2603

    andrew2603 New Member

    Hi all,

    Firstly Till and Falko what a nice package you have put together.

    I am using debian 3.1 perfect setup and ispconfig as detailed.

    I can receive emails but can not send either using a pop3 client or webmail client.

    This is the pop3 error

    The following recipient(s) could not be reached:

    '[email protected]' on 6/02/2006 2:26 PM
    550 <[email protected]>: Recipient address rejected: User unknown in local recipient table


    The local user trying to send the email was web1_admin.

    The local domain is tlchosting.net.

    MX here

    dig mx tlchosting.net

    ; <<>> DiG 9.2.4 <<>> mx tlchosting.net
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28351
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;tlchosting.net. IN MX

    ;; ANSWER SECTION:
    tlchosting.net. 38400 IN MX 10 sealion.tlccomputers.com.au.

    ;; AUTHORITY SECTION:
    tlchosting.net. 38400 IN NS whale.tlccomputers.com.au.
    tlchosting.net. 38400 IN NS mantaray.tlccomputers.com.au.

    ;; ADDITIONAL SECTION:
    sealion.tlccomputers.com.au. 38400 IN A 202.83.90.70
    whale.tlccomputers.com.au. 38400 IN A 202.83.90.10
    mantaray.tlccomputers.com.au. 38400 IN A 202.83.90.15

    ;; Query time: 22 msec
    ;; SERVER: 202.83.90.10#53(202.83.90.10)
    ;; WHEN: Mon Feb 6 14:29:23 2006
    ;; MSG SIZE rcvd: 166

    sealion:/etc/postfix#


    postfix main.cf here
    # See /usr/share/postfix/main.cf.dist for a commented, more complete version

    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no

    # appending .domain is the MUA's job.
    append_dot_mydomain = no

    # Uncomment the next line to generate "delayed mail" warnings
    #delay_warning_time = 4h

    myhostname = sealion.tlccomputers.com.au
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    #mydestination = sealion.tlccomputers.com.au, localhost.tlccomputers.com.au, , localhost
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_command =
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtpd_sasl_auth_enable = yes
    home_mailbox = Maildir/

    virtual_maps = hash:/etc/postfix/virtusertable

    mydestination = /etc/postfix/local-host-names


    Webmail error

    It was not possible to send this e-mail

    SMTP Error: Recipient not accepted. Verify your relay rules

    « Back


    I can send emails to domains local to the ISP box but now to any other email addresses.

    I have looked through the forum but not found anything like this mentioned before.

    All help gratefully received.

    Thanks in advance
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Is 202.83.90.70 your server's IP address? Is [email protected] in /etc/postfix/virtusertable?
     
  3. andrew2603

    andrew2603 New Member

    Hi

    202.83.90.70 is the ip address of the ispconfig server.

    [email protected] is the address that I am trying to send to.

    admin@tlchosting is the address that I am trying to send from.

    [email protected] is not a user in the ispconfig system

    admin@tlchosting IS a user on the ispconfig system

    Andrew
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Mails for tlccomputers.com.au go to 202.83.90.12, which means that this error:

    originates from 202.83.90.12, not the ISPConfig server.
     
  5. andrew2603

    andrew2603 New Member

    DNS Dumbass

    Problem solved.

    Different mx records in the external nameservers to ispconfig nameserver.

    Stupid error.

    Thanks for the help.
     

Share This Page