LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-17-2012, 12:59 PM   #1
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Rep: Reputation: Disabled
change domain


as some of you know from my earlier posts, I am fairly new to slackware.

I am working hard to remove all possible logons for the guy that was last fired from this job, but may not have them all yet...

I have a new issue though...

Apparently, one of the users on the system has had their domain edited.

now instead of being "user@domain.com"
it is "user@domiann.com"

I need to know how to go about changing the domain back to the correct spelling???
 
Old 05-17-2012, 01:09 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
In what context does the misspelled domain name appear?
 
Old 05-17-2012, 01:43 PM   #3
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
netconfig as root will change host & domain
 
Old 05-17-2012, 01:53 PM   #4
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Ser Olmy,

Just a letter was taken out of the domain name.

---------- Post added 05-17-12 at 02:54 PM ----------

Slackass,

Ok, what is the script for that...I have tried some forms of edit, but get that there is no reference
 
Old 05-17-2012, 01:58 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Quote:
Originally Posted by now4mike View Post
Ser Olmy,

Just a letter was taken out of the domain name.
I meant, where and under which circumstances do you see this? Is it the login name, the reply address when the user sends e-mails etc.
 
Old 05-17-2012, 02:00 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Quote:
Originally Posted by slackass View Post
netconfig as root will change host & domain
For the entire system, yes. The OP mentions a single user on a system.
 
Old 05-17-2012, 02:07 PM   #7
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
it is a single user.

when I run /var/log/maillog I can see a repeating error with only one user, "username@misspelledDomain.com does not exist"
 
Old 05-17-2012, 02:53 PM   #8
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Quote:
Originally Posted by now4mike View Post
it is a single user.

when I run /var/log/maillog I can see a repeating error with only one user, "username@misspelledDomain.com does not exist"
Since it's the domain name rather than the user name that's misspelt, this is unlikely to be an incoming e-mail from the outside (the Internet). I mean, how would mails for a non-existing domain name end up being delivered to your server in the first place?

My guess is that the mails originate either from the system itself or from a local user with a misspelt address in his or her address book, or this could be the result of the expansion of a mailing list with a misspelt address as a member.

Could you post the entire line from /var/log/maillog?
 
Old 05-17-2012, 03:40 PM   #9
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Here is the line...obviously, I still have to change domain name

May 17 14:11:46 Mailserver sm-mta[18619]: q4GKBgoA018619: from =<calendar@misspelledDomain.com>, size=0, class=0, nrcpts=0 proto=ESMTP, daemon=MTA, relay=64.91.117.178. stat.centurytel.net [64.91.117.178]
 
Old 05-17-2012, 03:51 PM   #10
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
I don't see an error message in that line. It says "from = <calendar@wrongdomain.com>", not "to", indicating a configuration error on the mail client.

Can you see the origin of this connection in the preceeding or following log lines? An IP address or host name, perhaps?
 
Old 05-17-2012, 04:49 PM   #11
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
oh yeah, sorry:

May 17 14:11:43 mailServer sm-mta[18619]: q4GKBGo9018619: ruleset=check_mail, arg1=<calendar@misspelledDomain.com>, relay=64-91-117-178.stat.centurytel.net [64.91.117.178], reject=553 5.1.8 <calendar@misspelledDomain.com>... Domain of sender address calendar@misspelledDomain.com does not exist
 
Old 05-17-2012, 05:51 PM   #12
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
The mail is being rejected by the server (either your server or the upstream relay), as the domain name of the "from" address is invalid.

The message being rejected is an outgoing message from someone (or something) with "calendar" as their e-mail address. If this is a regular user, the problem is a misconfigured mail client.
 
Old 05-17-2012, 05:56 PM   #13
now4mike
LQ Newbie
 
Registered: May 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Agreed, and that is what I was thinking. How do I look at my client "calendar" and ensure that it isn't in there?
It just started with this a few days ago, and I don't believe that I have done anything in slackware to have caused it, but I wanted to check.

It seems to me that if I had done something, it would have affected everyone on my mail server.
 
Old 05-17-2012, 06:29 PM   #14
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,339

Rep: Reputation: Disabled
Quote:
Originally Posted by now4mike View Post
Agreed, and that is what I was thinking. How do I look at my client "calendar" and ensure that it isn't in there?
Since I don't know anything about this user and how he/she/it is accessing mail, I can't be very specific about troubleshooting the client setup.

However, this will search through the configuration files in /etc and all subdirectories for the misspelt domain name:
Code:
fgrep -r wrongdomain.com /etc/*
If "calendar" has a home folder, you may repeat the search there:
Code:
fgrep -r wrongdomain.com /home/calendar/*
If you can't find any references to the domain name in either directory structure, it's fairly safe to conclude that the problem is not caused by anything on your server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Domain Name hkillen Linux - Networking 2 09-11-2006 06:52 AM
domain name change fng_#1 Linux - Newbie 3 12-07-2004 11:10 PM
Change user@host.domain to user@domain Wynand1 Linux - Networking 7 09-13-2004 11:56 PM
Domain Name Change lapthorn Linux - Networking 2 12-05-2003 12:12 AM
Change Domain Name cijunet Slackware 1 04-20-2003 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration