LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-09-2005, 06:49 AM   #1
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Rep: Reputation: 15
sendmail mailertable


another question about mailertable

in mailertable i have the following
swerks.com esmtp:[billybob.swerks.com]

i can send mail via a shell to anyone using user@billybob.swerks.com, but not user@swerks.com
same thing goes when using php

how do i allow sending mail to someone@swerks.com ?

my hosts file
127.0.0.1 localhost.localdomain localhost
127.0.0.1 billybob.swerks.com billybob
 
Old 04-09-2005, 09:48 AM   #2
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
also, my /etc/mail/local-host-names
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 billybob.swerks.com

again, i send internal mail using user@billybob.swerks.com
but not user@swerks.com


anyone have ideas ?

i was looking at the sendmail docs
http://www.sendmail.org/m4/mailertables.html

and i thought id give it a try to put a dot at the begining of my fake/internal domain name, so that my mailertable file would look like
.swerks.com esmtp:[billybob.swerks.com]


but that hasnt seemed to work either
 
Old 04-09-2005, 11:27 AM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
1) add swerks.com to /etc/mail/local-host-names
2) restart sendmail
 
Old 04-09-2005, 11:43 AM   #4
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
swerks.com or billybob.swerks.com ?
 
Old 04-09-2005, 11:51 AM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
RedHat123

Quote:
1) add swerks.com to /etc/mail/local-host-names
2) restart sendmail
Can't see any mention of "billybob" ?

Just add "swerks.com" as suggested plus any other domains you want Sendmail to be responsible for

Pete
 
Old 04-09-2005, 02:43 PM   #6
RedHat123
Member
 
Registered: Dec 2001
Posts: 60

Original Poster
Rep: Reputation: 15
ok thanks people, my problem was what i had in /etc/hosts
im fixed now
 
  


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 ignores my sendmail smarthost entry Paul_assheton Linux - General 1 03-17-2009 07:55 AM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
sendmail - virtualusertable / mailertable Ratclaws Linux - Software 0 07-07-2005 12:34 PM
Sendmail / Mailertable not working! topkart94 Linux - Networking 6 03-05-2004 11:27 AM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM


All times are GMT -5. The time now is 09:36 PM.

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