Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
Dear all, I have install sendmail in Redhat 8. I can use it to send mail within my lan but I cannot send or receive my mail from outside (e.g. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18

    Smile Sendmail 550 5.7.1 Relay denied problem


    Dear all,

    I have install sendmail in Redhat 8. I can use it to send mail within my lan but
    I cannot send or receive my mail from outside (e.g. yahoo mail or gmail mail).

    While I send email outside, I receive an error of "550 5.7.1 Relay denied".

    Can you tell me, what wrong with my sendmail setting?

    Thanks!

    Alex

  2. #2
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18
    Supplementary Information :

    I am using dynamic IP and have hostname registered from dyndns.com.
    In addition, I have set my mx record along with this hostname.

    I just setup my sendmail server last night and I don't think my email server
    was in RBL (Relay black list).

    How can I solve the problem?

    Thanks

    Alex

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    can you post a bounced transaction from your mail log and maybe a sendmail config

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18

    Sendmail.cf

    ##### $Id: accept_unresolvable_domains.m4,v 8.10 1999/02/07 07:26:07 gshapiro Exp $ #####
    Cwloacalhost.localdomain


    ##### $Id: proto.m4,v 8.649 2002/06/13 18:53:24 ca Exp $ #####

    # level 10 config file format
    V10/Berkeley

    # override file safeties - setting this option compromises system security,
    # addressing the actual file configuration problem is preferred
    # need to set this before any file actions are encountered in the cf file
    #O DontBlameSendmail=safe

    # default LDAP map specification
    # need to set this now before any LDAP maps are defined
    #O LDAPDefaultSpec=-h localhost

    ##################
    # local info #
    ##################

    # my LDAP cluster
    # need to set this before any LDAP lookups are done (including classes)
    #D{sendmailMTACluster}$m

    Cwlocalhost poonwaikuen.selfip.com hostmaster.dyndns.com
    # file containing names of hosts for which we receive email
    Fw/etc/mail/local-host-names

    # my official domain name
    # ... define this only if sendmail cannot automatically determine your domain
    #Dj$w.Foo.COM

    CP.

    # "Smart" relay host (may be null)
    DS


    # operators that cannot be in local usernames (i.e., network indicators)
    CO @ % !

    # a class with just dot (for identifying canonical names)

    C..

    # a class with just a left bracket (for identifying domain literals)
    C[[

    # access_db acceptance class
    C{Accept}OK RELAY


    C{ResOk}OKR


    # Hosts for which relaying is permitted ($=R)
    FR-o /etc/mail/relay-domains

    # arithmetic map
    Karith arith
    # macro storage map
    Kmacro macro
    # possible values for TLS_connection in access map
    C{tls}VERIFY ENCR

    # dequoting map
    Kdequote dequote

    # class E: names that should be exposed as from this host, even if we masquerade# class L: names that should be delivered locally, even if we have a relay
    # class M: domains that should be converted to $M
    # class N: domains that should not be converted to $M
    #CL root
    C{E}root



    # my name for error messages
    DnMAILER-DAEMON


    # Mailer table (overriding domains)
    Kmailertable hash -o /etc/mail/mailertable.db

    # Virtual user table (maps incoming users)
    Kvirtuser hash -o /etc/mail/virtusertable.db

    # Virtual user table (maps incoming users)
    Kvirtuser hash -o /etc/mail/virtusertable.db

    CPREDIRECT

    # Access list database (for spam stomping)
    Kaccess hash -T<TMPF> -o /etc/mail/access.db

    # Configuration version number
    DZ8.12.5


    ###############
    # Options #
    ###############

    # strip message body to 7 bits on input?
    O SevenBitInput=False

    # 8-bit data handling
    #O EightBitMode=pass8

    # wait for alias file rebuild (default units: minutes)

    O AliasWait=10

    # location of alias file
    O AliasFile=/etc/aliases

    # minimum number of free blocks on filesystem
    O MinFreeBlocks=100

    # maximum message size
    #O MaxMessageSize=1000000

    # substitution for space (blank) characters
    O BlankSub=.

    # avoid connecting to "expensive" mailers on initial submission?
    O HoldExpensive=False

    # checkpoint queue runs after every N successful deliveries
    #O CheckpointInterval=10

    # default delivery mode
    O DeliveryMode=background

    # error message header/file
    #O ErrorHeader=/etc/mail/error-header

    # error mode
    #O ErrorMode=print

    # save Unix-style "From_" lines at top of header?
    #O SaveFromLine=False

    # queue file mode (qf files)
    #O QueueFileMode=0600

    # temporary file mode
    O TempFileMode=0600

    # match recipients against GECOS field?
    #O MatchGECOS=False

    # maximum hop count
    #O MaxHopCount=25

    # location of help file
    O HelpFile=/etc/mail/helpfile

    # ignore dots as terminators in incoming messages?
    #O IgnoreDots=False

    # name resolver options
    #O ResolverOptions=+AAONLY

    # deliver MIME-encapsulated error messages?
    O SendMimeErrors=True

    # Forward file search path
    O ForwardPath=$z/.forward.$w:$z/.forward

    # open connection cache size
    O ConnectionCacheSize=2

    # open connection cache timeout
    O ConnectionCacheTimeout=5m

    # persistent host status directory

    #O HostStatusDirectory=.hoststat

    # single thread deliveries (requires HostStatusDirectory)?
    #O SingleThreadDelivery=False

    # use Errors-To: header?
    O UseErrorsTo=False

    # log level
    O LogLevel=9

    # send to me too, even in an alias expansion?
    #O MeToo=True

    # verify RHS in newaliases?
    O CheckAliases=False

    # default messages to old style headers if no special punctuation?
    O OldStyleHeaders=True

    # SMTP daemon options
    O DaemonPortOptions=Name=MTA


    # SMTP client options
    #O ClientPortOptions=Family=inet, Address=0.0.0.0

    # Modifiers to define {daemon_flags} for direct submissions
    #O DirectSubmissionModifiers

    # Use as mail submission program? See sendmail/SECURITY
    #O UseMSP

    # privacy flags
    O PrivacyOptions=authwarnings,novrfy,noexpn,restrict qrun

    # who (if anyone) should get extra copies of error messages
    #O PostmasterCopy=Postmaster

    # slope of queue-only function
    #O QueueFactor=600000

    # limit on number of concurrent queue runners
    #O MaxQueueChildren

    # maximum number of queue-runners per queue-grouping with multiple queues

    #O MaxRunnersPerQueue=1

    # priority of queue runners (nice(3))
    #O NiceQueueRun

    # shall we sort the queue by hostname first?
    #O QueueSortOrder=priority

    # minimum time in queue before retry
    #O MinQueueAge=30m

    # how many jobs can you process in the queue?
    #O MaxQueueRunSize=10000

    # perform initial split of envelope without checking MX records
    #O FastSplit=1

    # queue directory
    O QueueDirectory=/var/spool/mqueue

    # key for shared memory; 0 to turn off
    #O SharedMemoryKey=0

    # timeouts (many of these)
    #O Timeout.initial=5m
    O Timeout.connect=1m
    #O Timeout.aconnect=0s
    #O Timeout.iconnect=5m
    #O Timeout.helo=5m
    #O Timeout.mail=10m
    #O Timeout.rcpt=1h
    #O Timeout.datainit=5m
    #O Timeout.datablock=1h
    #O Timeout.datafinal=1h
    #O Timeout.rset=5m
    #O Timeout.quit=2m
    #O Timeout.misc=2m
    #O Timeout.command=1h
    O Timeout.ident=0
    #O Timeout.fileopen=60s
    #O Timeout.control=2m
    O Timeout.queuereturn=5d
    #O Timeout.queuereturn.normal=5d
    #O Timeout.queuereturn.urgent=2d
    #O Timeout.queuereturn.non-urgent=7d
    O Timeout.queuewarn=4h

    #O Timeout.control=2m
    O Timeout.queuereturn=5d
    #O Timeout.queuereturn.normal=5d
    #O Timeout.queuereturn.urgent=2d
    #O Timeout.queuereturn.non-urgent=7d
    O Timeout.queuewarn=4h
    #O Timeout.queuewarn.normal=4h
    #O Timeout.queuewarn.urgent=1h
    #O Timeout.queuewarn.non-urgent=12h
    #O Timeout.hoststatus=30m
    #O Timeout.resolver.retrans=5s
    #O Timeout.resolver.retrans.first=5s
    #O Timeout.resolver.retrans.normal=5s
    #O Timeout.resolver.retry=4
    #O Timeout.resolver.retry.first=4
    #O Timeout.resolver.retry.normal=4
    #O Timeout.lhlo=2m
    #O Timeout.auth=10m
    #O Timeout.starttls=1h

    # time for DeliverBy; extension disabled if less than 0
    #O DeliverByMin=0


    # should we not prune routes in route-addr syntax addresses?
    #O DontPruneRoutes=False

    # queue up everything before forking?
    O SuperSafe=True

    # status file
    O StatusFile=/etc/mail/statistics

    # time zone handling:
    # if undefined, use system default
    # if defined but null, use TZ envariable passed in
    # if defined and non-null, use that info
    #O TimeZoneSpec=

    # default UID (can be username or userid:groupid)
    O DefaultUser=8:12

    # list of locations of user database file (null means no lookup)
    O UserDatabaseSpec=/etc/mail/userdb.db

    # fallback MX host
    #O FallbackMXhost=fall.back.host.net

    # if we are the best MX host for a site, try it directly instead of config err
    O TryNullMXList=true

    # load average at which we just queue messages
    #O QueueLA=8

    # load average at which we refuse connections
    #O RefuseLA=12

    # load average at which we delay connections; 0 means no limit
    #O DelayLA=0

    # maximum number of children we allow at one time
    #O MaxDaemonChildren=0

    # maximum number of new connections per second
    #O ConnectionRateThrottle=0

    # work recipient factor
    #O RecipientFactor=30000


    # deliver each queued job in a separate process?
    #O ForkEachJob=False

    # work class factor
    #O ClassFactor=1800

    # work time factor
    #O RetryFactor=90000

    # default character set
    #O DefaultCharSet=iso-8859-1

    # service switch file (name hardwired on Solaris, Ultrix, OSF/1, others)
    #O ServiceSwitchFile=/etc/mail/service.switch

    # hosts file (normally /etc/hosts)
    #O HostsFile=/etc/hosts

    # dialup line delay on connection failure
    #O DialDelay=10s

    # action to take if there are no recipients in the message
    #O NoRecipientAction=add-to-undisclosed

    # chrooted environment for writing to files
    #O SafeFileEnvironment=/arch

    # are colons OK in addresses?
    #O ColonOkInAddr=True

    # shall I avoid expanding CNAMEs (violates protocols)?
    #O DontExpandCnames=False

    # SMTP initial login message (old $e macro)
    O SmtpGreetingMessage=$j Sendmail $v/$Z; $b

    # UNIX initial From header format (old $l macro)
    O UnixFromLine=From $g $d

    # From: lines that have embedded newlines are unwrapped onto one line
    #O SingleLineFromHeader=False

    # Allow HELO SMTP command that does not include a host name
    #O AllowBogusHELO=False

    # Characters to be quoted in a full name phrase (@,;:\()[] are automatic)
    #O MustQuoteChars=.

    # delimiter (operator) characters (old $o macro)
    O OperatorChars=.:%@!^/[]+

    # shall I avoid calling initgroups(3) because of high NIS costs?
    #O DontInitGroups=False

    # are group-writable :include: and .forward files (un)trustworthy?
    # True (the default) means they are not trustworthy.
    #O UnsafeGroupWrites=True


    # where do errors that occur when sending errors get sent?
    #O DoubleBounceAddress=postmaster

    # where to save bounces if all else fails
    #O DeadLetterDrop=/var/tmp/dead.letter

    # what user id do we assume for the majority of the processing?
    #O RunAsUser=sendmail

    # maximum number of recipients per SMTP envelope
    #O MaxRecipientsPerMessage=100

    # limit the rate recipients per SMTP envelope are accepted
    # once the threshold number of recipients have been rejected
    #O BadRcptThrottle=20

    # shall we get local names from our installed interfaces?
    O DontProbeInterfaces=true

    # Return-Receipt-To: header implies DSN request
    #O RrtImpliesDsn=False

    # override connection address (for testing)
    #O ConnectOnlyTo=0.0.0.0

    # Trusted user for file ownership and starting the daemon
    #O TrustedUser=root

    # Control socket for daemon management
    #O ControlSocketName=/var/spool/mqueue/.control

    # SMTP AUTH flags
    O AuthOptions=A

    # SMTP AUTH maximum encryption strength
    #O AuthMaxBits

    # SMTP STARTTLS server options
    #O TLSSrvOptions

    # Input mail filters
    #O InputMailFilters


    # CA directory
    #O CACERTPath

    ############################
    # QUEUE GROUP DEFINITIONS #
    ############################


    ###########################
    # Message precedences #
    ###########################

    Pfirst-class=0
    Pspecial-delivery=100
    Plist=-30
    Pbulk=-60
    Pjunk=-100

    #####################
    # Trusted users #
    #####################

    # this is equivalent to setting class "t"
    Ft/etc/mail/trusted-users
    Troot
    Tdaemon
    Tuucp

    #########################
    # Format of headers #
    #########################

    H?P?Return-Path: <$g>
    HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
    $.$?{auth_type}(authenticated$?{auth_ssf} bits=${auth_ssf}$.)
    $.by $j ($v/$Z)$?r with $r$. id $i$?{tls_version}
    (version=${tls_version} cipher=${cipher} bits=${cipher_bits} verify=${verify})$.$?u
    for $u; $|;
    $.$b
    H?D?Resent-Date: $a
    H?D?Date: $a
    H?F?Resent-From: $?x$x <$g>$|$g$.
    H?F?From: $?x$x <$g>$|$g$.
    H?x?Full-Name: $x
    # HPosted-Date: $a
    # H?l?Received-Date: $b
    H?M?Resent-Message-Id: <$t.$i@$j>

    ?M?Message-Id: <$t.$i@$j>

    #^L
    ################################################## ####################
    ################################################## ####################
    #####
    ##### REWRITING RULES
    #####
    ################################################## ####################
    ################################################## ####################



    <Above is most of my sendmail.cf>

    1. I have add my domain after Cwlocalhost
    2. I have let my sendmail listen to 0.0.0.0

    Hope this can help you in analysis! Thanks!

    Alex

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758

    Question

    According to this article
    'Relaying Denied' Error while trying to send email

    It's not a bug:
    Code:
    Many smtp servers use some sort of protection against email spamming.  This only allows trusted users or computers to send email via the server....
    Check this one too
    Relaying Denied/Allowed (in sendmail 8.8/8.9-8.12)

    and try trouble shooting sendmail
    like this
    Quick HOWTO : Ch21 : Configuring Linux Mail Servers - Linux Home Networking

    What's the error message ?
    What's your /var/log/maillog file contents ?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  6. #6
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18
    Here is my /var/log/maillog

    Apr 5 18:33:46 localhost sendmail[748]: alias database /etc/aliases rebuilt by
    root
    Apr 5 18:33:46 localhost sendmail[748]: /etc/aliases: 62 aliases, longest 10 bytes, 599 bytes total
    Apr 5 18:33:47 localhost sendmail[759]: starting daemon (8.12.5): SMTP+queueing@01:00:00
    Apr 5 18:33:47 localhost sm-msp-queue[769]: starting daemon (8.12.5): queueing@01:00:00
    Apr 5 18:55:04 localhost sendmail[752]: alias database /etc/aliases rebuilt by
    root
    Apr 5 18:55:04 localhost sendmail[752]: /etc/aliases: 62 aliases, longest 10 bytes, 599 bytes total
    Apr 5 18:55:05 localhost sendmail[763]: starting daemon (8.12.5): SMTP+queueing@01:00:00
    Apr 5 18:55:05 localhost sm-msp-queue[773]: starting daemon (8.12.5): queueing@01:00:00
    Apr 6 20:44:52 localhost sendmail[752]: alias database /etc/aliases rebuilt by
    root
    Apr 6 20:44:52 localhost sendmail[752]: /etc/aliases: 62 aliases, longest 10 bytes, 599 bytes total
    Apr 6 20:44:52 localhost sendmail[763]: starting daemon (8.12.5): SMTP+queueing@01:00:00

    Apr 7 20:21:46 localhost sendmail[2082]: m37CLkbw002082: from=root, size=392, class=0, nrcpts=1, msgid=<200804071221.m37CLkbw002082@localhost.local domain>, relay=root@localhost
    Apr 7 20:21:47 localhost sendmail[2085]: m37CLliS002085: from=<root@localhost.localdomain>, size=696, class=0, nrcpts=1, msgid=<200804071221.m37CLkbw002082@localhost.local domain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Apr 7 20:21:47 localhost sendmail[2082]: m37CLkbw002082: to=root, ctladdr=root
    (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30054, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (m37CLliS002085 Message accepted for delivery)
    Apr 7 20:21:47 localhost sendmail[2086]: m37CLliS002085: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30932, dsn=2.0.0, stat=Sent
    Apr 7 20:52:31 localhost sendmail[10506]: m37CqVaI010506: from=root, size=409,
    class=0, nrcpts=1, msgid=<200804071252.m37CqVaI010506@localhost.local domain>, relay=root@localhost
    Apr 7 20:52:32 localhost sendmail[10508]: m37CqWiS010508: from=<root@localhost.localdomain>, size=713, class=0, nrcpts=1, msgid=<200804071252.m37CqVaI010506@localhost.local domain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]

    Apr 7 20:52:32 localhost sendmail[10506]: m37CqVaI010506: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30069, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (m37CqWiS010508 Message accepted for delivery)
    Apr 7 20:52:32 localhost sendmail[10509]: m37CqWiS010508: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30949, dsn=2.0.0, stat=Sent
    Apr 7 20:52:40 localhost sendmail[10541]: m37Cqerl010541: from=root, size=286,
    class=0, nrcpts=1, msgid=<200804071252.m37Cqerl010541@localhost.local domain>, relay=root@localhost
    Apr 7 20:52:40 localhost sendmail[10543]: m37CqeiS010543: from=<root@localhost.localdomain>, size=590, class=0, nrcpts=1, msgid=<200804071252.m37Cqerl010541@localhost.local domain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Apr 7 20:52:40 localhost sendmail[10541]: m37Cqerl010541: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30069, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (m37CqeiS010543 Message accepted for delivery)
    Apr 7 20:52:40 localhost sendmail[10544]: m37CqeiS010543: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30826, dsn=2.0.0, stat=Sent
    Apr 7 20:55:08 localhost sendmail[771]: alias database /etc/aliases rebuilt by
    root

    Apr 7 20:55:08 localhost sendmail[771]: /etc/aliases: 62 aliases, longest 10 bytes, 599 bytes total
    Apr 7 20:55:08 localhost sendmail[782]: starting daemon (8.12.5): SMTP+queueing@01:00:00
    Apr 7 20:55:08 localhost sm-msp-queue[792]: starting daemon (8.12.5): queueing@01:00:00
    Apr 7 20:55:11 localhost sendmail[921]: m37CtBTb000921: from=root, size=286, class=0, nrcpts=1, msgid=<200804071255.m37CtBTb000921@localhost.local domain>, relay=root@localhost
    Apr 7 20:55:11 localhost sendmail[923]: m37CtBrT000923: from=<root@localhost.localdomain>, size=590, class=0, nrcpts=1, msgid=<200804071255.m37CtBTb000921@localhost.local domain>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
    Apr 7 20:55:11 localhost sendmail[921]: m37CtBTb000921: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30069, relay=localhost.localdomain. [127.0.0.1], dsn=2.0.0, stat=Sent (m37CtBrT000923 Message accepted
    for delivery)
    Apr 7 20:55:11 localhost sendmail[924]: m37CtBrT000923: to=<root@localhost.localdomain>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30826, dsn=2.0.0, stat=Sent
    Apr 7 21:00:18 localhost sendmail[1179]: m37D0IsH001179: from=root, size=286, class=0, nrcpts=1, msgid=<200804071300.m37D0IsH001179@localhost.local domain>, relay=root@localhost

  7. #7
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18
    I try to send mail from yahoo mail to my mail box but not succeed, it returns the following error message.
    _____________

    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.

    <alex@mydomain.selfip.com>:
    72.51.27.51 does not like recipient.
    Remote host said: 550 Domain does not exist; please check your spelling. Le
    domaine n'existe pas ; veuillez verifier votre epellation. El dominio no
    existe; compruebe por favor su deletreo.
    Giving up on 72.51.27.51.

    --- Below this line is a copy of the message.

    Return-Path: <abc@yahoo.com>
    Received: (qmail 21768 invoked by uid 60001); 13 Apr 2008 03:57:31 -0000
    DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
    s=s1024; d=yahoo.com;

    h=X-YMail-OSG:Receivedate:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;

    b=0r5g0eg5ZEJUvcc1BsenOXq07D0oLl4757dHbU+o+4E9T4UI TfvTHZX2MdxORS3PiqLYwvRHicbdr3somz/X0E1u6rCekee9TJNrGJpeEOaWjZNyHILlXa29qpPYaaZ25eH2J pru7DoY6Pbf1EPjiu6/XwNQ0s2UUTxU5rKMxmo=;
    X-YMail-OSG:
    ootIvtQVM1m83ABlPhOLm1Jcbkri3sxDfqXBZ7TDYiGQjU1zPo 9_F50RvXziOBpVuchjBMxPrt5cs46UH3Vq6n4pEwSJCyaYFWXY MUFKjCNQ0maPKT0-
    Received: from [218.254.xxx.xxx] (it is my dynamic IP) by web54501.mail.re2.yahoo.com via HTTP; Sat, 12 Apr 2008 20:57:31 PDT
    Date: Sat, 12 Apr 2008 20:57:31 -0700 (PDT)
    From: Alex Poon <abc@yahoo.com>
    Subject: Testing from yahoo to sendmail on 13/4
    To: alex@mydomain.selfip.com
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary="0-1341853689-1208059051=:21206"
    Content-Transfer-Encoding: 8bit
    Message-ID: <693417.21206.qm@web54501.mail.re2.yahoo.com>

    --0-1341853689-1208059051=:21206
    Content-Type: text/plain; charset=big5
    Content-Transfer-Encoding: 8bit

    Testing from yahoo to sendmail on 13/4


    ------------------------
    Hope anybody can give me some advice!

    P.S. I have try to send email from outlook to outside mailbox e.g. yahoo mail.
    it shows no error message. Seems to be successful!

    Thanks!
    Alex

  8. #8
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18
    Here is my recent maillog.


    Apr 13 19:18:05 localhost sendmail[1784]: m3D3MsYK009908: to=<abc@hotmail.com>, ctladdr=<alex@mydomain.selfip.com> (500/500), delay=07:54:58, xdelay=00:12:10, mailer=esmtp, pri=750451, relay=mx1.hotmail.com. [65.54.244.8], dsn=4.0.0, stat=Deferred: Connection timed out with mx1.hotmail.com.
    Apr 13 19:18:14 localhost sendmail[1784]: m3D3MsYI009908: to=<abc@gmail.com>, ctladdr=<alex@mydomain.selfip.com> (500/500), delay=07:55:11, xdelay=00:00:00, mailer=esmtp, pri=750468, relay=gsmtp147.google.com., dsn=4.0.0, stat=Deferred: Connection timed out with gsmtp147.google.com.
    Apr 13 19:18:19 localhost sendmail[1784]: m3D3sM6o001137: to=<abc@yahoo.com>, ctladdr=<alex@mydomain.selfip.com> (500/500), delay=07:23:47, xdelay=00:00:00, mailer=esmtp, pri=750472, relay=e.mx.mail.yahoo.com., dsn=4.0.0, stat=Deferred: Connection timed out with e.mx.mail.yahoo.com.
    Apr 13 19:18:19 localhost sendmail[1784]: m3D3mF6o001111: to=<abc@gmail.com>, ctladdr=<alex@mydomain.selfip.com> (500/500), delay=07:29:56, xdelay=00:00:00, mailer=esmtp, pri=750476, relay=gsmtp183.google.com., dsn=4.0.0, stat=Deferred: Connection timed out with gsmtp183.google.com.
    Apr 13 19:20:23 localhost ipop3d[1852]: pop3 service init from 218.254.xxx.xx (My dynamic IP)
    Apr 13 19:20:25 localhost ipop3d[1852]: Login user=alex host=cm218-254-136-84.hkcable.com.hk [218.254.xxx.xx] nmsgs=0/0
    Apr 13 19:20:25 localhost ipop3d[1852]: Logout user=alex host=cm218-254-136-84.hkcable.com.hk [218.254.xxx.xx] nmsgs=0 ndele=0

    Hope anyone can tell me what wrong in my sendmail configuration. Thanks!

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Location
    HK
    Posts
    18
    Addition information

    My Domain name is "mydomain.selfip.com" and my MX hostname is

    "mx.mailserver.com" which is different from my domain name.

    I want to use mail.mydomain.selfip.com as my MX hostname but dyndns.com
    do not allowed. Dyndns.com suggest to use "mx.mailserver.com". Is that OK?

    When I ping mx.mailserver.com, it cannot resolve to my domain name's IP.
    It is rather strange!

    Alex

  10. #10
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,758
    Quote Originally Posted by poonwaikuen View Post
    Addition information

    My Domain name is "mydomain.selfip.com" and my MX hostname is

    "mx.mailserver.com" which is different from my domain name.

    I want to use mail.mydomain.selfip.com as my MX hostname but dyndns.com
    do not allowed. Dyndns.com suggest to use "mx.mailserver.com". Is that OK?

    When I ping mx.mailserver.com, it cannot resolve to my domain name's IP.
    It is rather strange!

    Alex
    Seems like an issue i faced few months before check here
    http://www.linuxforums.org/forum/lin...oogle-com.html


    Seems like issue lies with valid from domain

    Have you tried that trouble shooting method described here
    Quick HOWTO : Ch21 : Configuring Linux Mail Servers - Linux Home Networking
    ?
    If not - please try it.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •