LinuxQuestions.org
Register a domain and help support LQ
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 12-07-2005, 06:13 PM   #1
Anibal
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Slack/Ubuntu & OpenBSD (not a linux distro)
Posts: 56

Rep: Reputation: 15
Sendmail issue


Hi Guys,

Little problem with a test server, no matter why i configure in sendmail.. when sending a mail with comand line:

echo "test" |mail -s test test@mailserver.com

They are rejected cause of the:

from=<anibal@anibal> not from=<anibal@mydomein.com>

Dec 8 01:08:26 anibal sm-mta[1830]: jB808Qi9001830: from=<anibal@anibal>, size=430, class=0, nrcpts=1, msgid=<200512080008.jB808Qhi001829@anibal>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Dec 8 01:08:26 anibal sendmail[1829]: jB808Qhi001829: to=test@mailserver.com, ctladdr=anibal (1000/100), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30212, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (jB808Qi9001830 Message accepted for delivery)

What do i'm doing wrong here ?
 
Old 12-07-2005, 07:47 PM   #2
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Your log says "accepted for delivery" though?
 
Old 12-08-2005, 02:05 AM   #3
Anibal
Member
 
Registered: Jul 2003
Location: The Netherlands
Distribution: Slack/Ubuntu & OpenBSD (not a linux distro)
Posts: 56

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by KnightHawk
Your log says "accepted for delivery" though?

yes but they are rejected by the provider (reciever) cause of a wrong domein..

from=<example@domein>
 
Old 12-08-2005, 04:08 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,436

Rep: Reputation: 93
try :
Code:
echo 'anibal anibal@mydomein.com' >> /etc/mail/genericstable
makemap hash /etc/mail/genericstable < /etc/mail/genericstable
Then restart sendmail, /etc/rc.d/rc.sendmail restart

Note: You may need to define genericstable and SMART_HOST in your
cf file though

Last edited by keefaz; 12-08-2005 at 04:14 AM.
 
Old 12-08-2005, 03:29 PM   #5
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Quote:
Originally Posted by Anibal
yes but they are rejected by the provider (reciever) cause of a wrong domein..

from=<example@domein>

Alright in /etc/mail you should have 2 files.

local-host-names
domaintable


Be sure to add your domain name to both files. domaintable needs to be recompiled after changing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sendmail issue... TreyAU21 Linux - Software 1 10-27-2005 12:43 AM
Sendmail issue? basketkase999 Linux - Software 1 03-07-2005 09:25 PM
sendmail issue archangel Linux - Software 3 11-13-2002 07:45 PM
sendmail issue archangel Linux - General 6 11-13-2002 08:17 AM
sendmail issue iquadri1 Linux - Networking 1 09-29-2001 02:02 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration