AIX

 View Only
  • 1.  Sendmail test 553 Sorry Your domain must exist

    Posted Wed December 21, 2022 11:29 AM
    Hi everyone
    After setting sendmail to do the test, the following situations occur

    CEI1608E8S:root:/var/spool/mail 72=>echo "this is test mail"|sendmail -v shao_1234@webmail.xxx.tw
    WARNING: local host name (CEI1608E8S) is not qualified; see cf/README: WHO AM I?
    shao_1234@webmail.xxx.tw... Connecting to webmail.xxx.tw. via relay...
    220 webmail.xxx.tw ESMTP Service(webmail.xxx.tw) ready Tue, 13 Dec 2022 15:09:37 +0800 (CST)
    >>> EHLO CEI1608E8S
    250-webmail.xxx.tw
    250-PIPELINING
    250-8BITMIME
    250-AUTH=LOGIN
    250-AUTH LOGIN
    250 SIZE 14680064
    >>> MAIL From:<ceiper14@CEI1608E8S> SIZE=18
    553 Sorry, Your domain must exist.
    ceiper14... Connecting to local...
    ceiper14... Sent
    Closing connection to webmail.xxx.tw.
    >>> QUIT
    221 webmail.xxx.tw


    How to solve this situation
    thanks

    ------------------------------
    子騫 李
    ------------------------------


  • 2.  RE: Sendmail test 553 Sorry Your domain must exist

    Posted Thu December 22, 2022 02:16 AM
    The easiest way is to configure masquerading and or your fully qualified domain name in your sendmail.cf.

    There is a uncommented DM line in sendmail.cf, just below who I masquerade as line.

    If your AIX does not know what its fully qualified domain name (FQDN) is, then you most likely have to configure Dj in your sendmail.cf.
    The commented lines above commented Dj line are my official domain name ... define this only if sendmail cannot automatically determine your domain

    Depending how the receiving MTA is configured, you might have to configure PTR records on the DNS servers responsible for the public IP address your AIX is seen at the receiving MTA.

    ------------------------------
    Esa Kärkkäinen
    ------------------------------



  • 3.  RE: Sendmail test 553 Sorry Your domain must exist

    Posted Thu December 22, 2022 09:15 AM
    Hello,

    1. You must have: DSwebmail.xxx.tw in sendmail.cf and submit.cf, stopsrc -s sendmail, startsrc -s sendmail -a "-bd -q30m"
    2. Does it pass: nslookup webmail.xxx.tw (If it passes DNS is ok)
    3. telnet webmail.xxx.tw 25, to check if you have network OK.

    Best regards,

    Bratislav Petkovic


    ------------------------------
    Bratislav Petkovic
    ------------------------------