scripts not able to send out email to external

Discussion in 'Server Operation' started by ayuu, May 3, 2007.

  1. ayuu

    ayuu New Member

    Hi All

    I have just simple bash script to send out email to my external email.
    I configure smart relay to IP of my smtp server (running qmail).
    I can see the mail are qued not delievered.
    How can I make the email are sent.

    I tried sending email from command line.
    /var/log/maillog showed
    May 3 18:21:49 S106PU02 sendmail[15436]: l43ALnfI015436: from=root, size=45, class=0, nrcpts=1, msgid=<200705031021.l43ALnfI015436@localhost.local domain>, relay=root@localhost
    May 3 18:21:49 S106PU02 sendmail[15436]: l43ALnfI015436:, delay=00:00:00, mailer=esmtp, pri=30045, dsn=4.4.3, stat=queued

    /var/spool/clientqueue showed

    root@ttttt [/var/spool/clientmqueue]
    # more qfl43ALnfI015436
    Mhost map: lookup ( deferred
    ${daemon_flags}c u
    H?P?Return-Path: <g>
    H??Received: (from root@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id l43ALnfI015436
    for; Thu, 3 May 2007 18:21:49 +0800
    H?D?Date: Thu, 3 May 2007 18:21:49 +0800
    H?F?From: root <root>
    H?x?Full-Name: root
    H?M?Message-Id: <200705031021.l43ALnfI015436@localhost.localdomain >
    H??Subject: TEST

    Any help is appreciated. Pls advise.
    Thans in deed. Regards, Ayuu.
  2. ayuu

    ayuu New Member

    I managed to get mail sent out. but still have not received.
    I am not sure smtp server received and relayed.
    any guidenace how to verify smtp server function?
    thanks in advance.
  3. falko

    falko Super Moderator ISPConfig Developer

    Do the MX records of the domains for which you want to receive mails point to the correct server?

Share This Page