LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-05-2003, 08:51 AM   #16
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15

No I am at no intentions at spamming anyones' mail server, I am trying to get this working so I can use it to remind certain people by email that they have not completed their tasks.

Like a reminder EMAIL.



Last edited by tt826; 12-05-2003 at 08:57 AM.
 
Old 12-05-2003, 08:57 AM   #17
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
so you already have a SMTP server (microsoft exchange maybe?)
 
Old 12-05-2003, 08:59 AM   #18
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
The only smtp server(SENDMAIL) I am aware of is the one that we are talking about. The one that I have recently installed my machine.

Last edited by tt826; 12-05-2003 at 09:00 AM.
 
Old 12-05-2003, 09:02 AM   #19
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
So you're in a business that don't have e-mail addresses?
 
Old 12-05-2003, 09:06 AM   #20
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Ugob,

Yes we have email but it is operated under a different network and not controlled by us.

r,
tt

Last edited by tt826; 12-05-2003 at 09:07 AM.
 
Old 12-05-2003, 09:15 AM   #21
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
well, how do you send mail then? using that smtp server? well, use it for your sendmail.

in anyways, your sendmail should work out of the box, as long as the request comes from the machine itself
 
Old 12-05-2003, 09:23 AM   #22
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I have a separate machine under a different network strictly for email and I can go over to that machine and send mail. I can only send to user on this linux server(locally WORKS FINE!! ), but I cannot send to "someone@yahoo.com", "someone@aol.com" etc....


r,
TT
 
Old 12-05-2003, 09:30 AM   #23
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
What are the errors?

What's in the logs?
 
Old 12-05-2003, 09:32 AM   #24
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Is the path /var/log/maillog?

The other day I deleted all info the maillog and now it doesn't write to the maillog anymore. Can I fix this?
 
Old 12-05-2003, 09:35 AM   #25
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
the path should be right.

just re-create the file and restart syslog
 
Old 12-05-2003, 09:41 AM   #26
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
I am not sure where syslog is located?? Yeah i deleted the file and created a new one thinking that might be the problem but it still didn't write to the maillog file.


r
TT
 
Old 12-05-2003, 09:45 AM   #27
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
restart syslog

you should get to know how to restart a daemon by now

go to: /etc/init.d/

you'll see scripts. execute them with the restart argument.

ex: ./syslog restart

or use

service servicename restart

ex: service syslog restart
 
Old 12-05-2003, 09:50 AM   #28
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
Okay I stop and restarted both syslog and sendmail

r,
TT
 
Old 12-05-2003, 09:53 AM   #29
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
and...?
 
Old 12-05-2003, 09:56 AM   #30
tt826
Member
 
Registered: Dec 2003
Location: Florida
Distribution: Redhat 9
Posts: 38

Original Poster
Rep: Reputation: 15
When i tried to send an email to "me@hotmail.com" the maillog displays:

Dec 5 09:56:01 timedb sendmail[567]: hB5Fu106000567: from=root@localhost, size=192, class=0, nrcpts=1, msgid=<200312051556.hB5Fu106000567@localhost.localdomain>, proto=SMTP, daemon=MTA, relay=timedb [127.0.0.1]

Dec 5 09:56:01 timedb sendmail[569]: hB5Fu106000567: to=trantv826@hotmail.com, ctladdr=root@localhost (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30112, relay=smtp.trantv.mail.yahoo.com, dsn=5.1.2, stat=Host unknown (Name server: smtp.trantv.mail.yahoo.com: host not found)

Dec 5 09:56:01 timedb sendmail[569]: hB5Fu106000567: hB5Fu106000569: DSN: Host unknown (Name server: smtp.trantv.mail.yahoo.com: host not found)

Dec 5 09:56:01 timedb sendmail[569]: hB5Fu106000569: to=root@localhost, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31216, dsn=2.0.0, stat=Sent

I configured my sendmail.mc and regenerated sendmail.cf to put smtp.trantv.mail.yahoo.com just to test, but it does not seem like its working

Last edited by tt826; 12-05-2003 at 09:58 AM.
 
  


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 - Can receive external, no local mail though macdonalder Linux - Software 2 11-18-2005 03:04 AM
sendmail server unable to receive external mail goonfui_wong Linux - Networking 7 07-01-2005 02:15 AM
Sendmail - problem receiving external mail manudath Linux - Wireless Networking 7 12-21-2004 01:14 PM
sendmail and external mail server levand Linux - Networking 10 12-17-2004 09:45 AM
configure sendmail to use external mail server Drogo Linux - Software 0 09-16-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 PM.

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