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 sendmail.cf 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=<[email protected] domain>, relay=root@localhost
    May 3 18:21:49 S106PU02 sendmail[15436]: l43ALnfI015436: to=[email protected], 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
    V8
    T1178187709
    K1178187709
    N1
    P30045
    Mhost map: lookup (xxxxx.com): deferred
    Fbs
    $_root@localhost
    ${daemon_flags}c u
    Sroot
    [email protected]ldomain
    rRFC822; [email protected]
    RPFD:[email protected]
    H?P?Return-Path: <g>
    H??Received: (from root@localhost)
    by localhost.localdomain (8.13.1/8.13.1/Submit) id l43ALnfI015436
    for [email protected]; 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: <[email protected] >
    H??To: [email protected]
    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