[SOLVED] Domain of sender address doesnt exist error


Results 1 to 3 of 3

Thread: [SOLVED] Domain of sender address doesnt exist error

  1. #1
    Join Date
    Mar 2003
    Location
    Earth [I think...]
    Posts
    414

    [SOLVED] Domain of sender address doesnt exist error

    Hi Everyone,

    I recently decided that I neede all the email coming to root should be forwarded to a different email address so I created a .forward file in the ~ folder and put in the targe email address there. This has worked on other systems I use but on this one I get the following bounce back email:

    From: MAILER-DAEMON@Knoppix
    To: real-root@Knoppix
    Subject: mail failed, sending to address owner

    |------------------------- Failed addresses follow: ---------------------|
    address: mydestination@suramya.com ... failed: fatal error from smtp transport:
    553 5.1.8 <real-root@Knoppix>... Domain of sender address real-root@Knoppix
    does not exist
    |------------------------- Message text follows: ------------------------|
    The hostname command returns the correct hostname as seen below:

    root@StarKnight:/etc# hostname
    StarKnight.Suramya.com
    Any idea where I should change the hostname to allow me to send emails? I have set the correct domain in the pine config file but that didn't help.

    I have a hdd install of knoppix updated to the latest testing/unstable via apt-get.

    Thanks for the help.

    - Suramya
    Last edited by Suramya; 11-08-2004 at 07:07 PM.
    --------------------------------------------------
    My Website: http://www.suramya.com
    My Blog: http://www.suramya.com/blog
    Registered Linux User #: 309391
    --------------------------------------------------

    *************************************************
    Disclaimer:
    Any errors in spelling, tact, or fact are transmission errors.
    *************************************************

  2. #2
    Join Date
    Feb 2001
    Location
    East Central Illinois, USA
    Posts
    523
    Host names are defined in /etc/hosts. You should probably have two lines reading:
    127.0.0.1 .localhost
    127.0.0.2 .StarKnight.Suramya.com
    If those are OK, check the config files for your email prog. There should be an option in there naming the user who is to receive mail instead of root.
    If it ain't broke, TWEAK IT

    Registered Linux user # 170078

  3. #3
    Join Date
    Mar 2003
    Location
    Earth [I think...]
    Posts
    414
    Thanks for the reponse.
    Sorry I didn't respond sooner, I got busy at work.

    I fixed the problem. The problem was that knoppix uses smail as the default MTA instead of sendmail and smail was pulling in the host infomation from /etc/smail/config.

    Once I changed the hostname in the file, it all started working perfectly.

    Thanks for the time and effort
    --------------------------------------------------
    My Website: http://www.suramya.com
    My Blog: http://www.suramya.com/blog
    Registered Linux User #: 309391
    --------------------------------------------------

    *************************************************
    Disclaimer:
    Any errors in spelling, tact, or fact are transmission errors.
    *************************************************

Posting Permissions

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