LinuxQuestions.org
Review your favorite Linux distribution.
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 06-29-2002, 11:39 AM   #1
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Using Sendmail


I'm trying to figure out how to send outgoing mail using Sendmail. I'm currently using Slackware 8.0 and have the sendmail daemon running.

What I need to know, do I have to setup anything to use Sendmail?
Does it work right from the start once it's installed?

I have already setup Fetchmail to retrieve my ISP email and I can read the mail using Mutt. Then I wrote an email message and sent it to myself to see if Sendmail is working but I haven't gotten the message yet.

Any ideas/suggestions on getting this to work?

Thnx.
 
Old 06-29-2002, 01:30 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
There are any number of reasons that might account for sendmail to fail in sending the outbound message. Any activity or error messages are usually reported in /var/log/messages file. You can use the "tail" command to view the last several lines of the file. The messages reported there could indicate your problem. If the daemon is running then it should be responding on port 25 to accept the mail. If it is from the localhost or destined to a local mailbox then it should handle the mail without any internal problems. Other mail, problems could be relaying denied, etc. If it is a firewall as well, make sure port 25 is available.

Also, there is a possiblity that even a properly configured sendmail server could still fail if your ISP network is port filtering on port 25 or if you are using a dialup account, the receiving server could refuse to handle it because of the reverse IP assignment. If you suspect either of these then your setup is doomed to start with. Both of these are antispam measures in use by some ISP and network management. If your server logs indicate all is well, but the message remains in the mail queue without being sent, these become more possible.

Please advise on any messages that you don't understand or possible problems.

Good luck!
 
Old 06-29-2002, 03:25 PM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
The following is what I received in a returned email to my local mailbox, using Fetchmail:

----- The following addresses had permanent fatal errors -----
username@swbell.com
(reason: 553 5.1.8 <bittabrotha@GhostDawg.SWBell>... Domain of sender
address
+bittabrotha@GhostDawg.SWBell does not exist)

Swbell is my dialup ISP.

Last edited by BittaBrotha; 06-29-2002 at 03:29 PM.
 
Old 06-29-2002, 03:50 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
The message here would indicate to me the address was not even correct. I would expect a top level domain after the SWBELL, like .com or .net or something. Also, is GhostDawg the name of your ISP's mail server? Or is that your local server? If it is your local server, then try using the IP address after the @ symbol. If it is Bell's server then use a fully qualified domain name.

You might try using a free account like yahoo.com or something. I have a yahoo account just for this purpose of testing sendmail servers. Yahoo will even let you configure to view all the headers, so you can see what your server is doing.
 
Old 06-30-2002, 12:02 PM   #5
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
Thnx for the help...I'm go have to do some more reading up on Sendmail...but will keep the forum informed.

Anymore ideas/suggestions?
 
Old 07-01-2002, 05:40 AM   #6
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Original Poster
Rep: Reputation: 31
I'm using swbell.net as the mail server, so what should my hostname be? username.swbell.com? This part got my confused. Should I take the Ghostdawg part out?
 
Old 07-01-2002, 07:24 AM   #7
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 45
Then the host or server that is running the sendmail is GhostDawg and you are connected on the swbell.net system. I would suggest a hostname of GhostDawg.swbell.net. This is for SMTP operations only in regard to the real world. Edit the /etc/hosts file and identify the local IP address like this

127.0.0.1 Localhost
192.168.1.2 GhostDawg.swbell.net GhostDawg

If you are not on a local network sending mail from another workstation then the file edits above should not be required. If you are, then the workstation also needs to be added using the same domain name. This is what sendmail will use to determine if the mail should be relayed or if it is incoming mail or if it is local delivery. Setup the same config in your workstation as well. Sendmail should send mail to anywhere if the mail originated locally on the host. Otherwise, it is considered relaying and it has to be configured to know what to relay.

There is also a mini HOWTO in the /usr/doc/Linux-mini-HOWTOs called Snedmail+UUCP that you might find helpfull in answering many questions.

Let me know if I am even anwering in the right direction.
 
  


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
FC4 and Sendmail - Cannot create sendmail.pem Balderayne Linux - Security 2 11-09-2005 02:55 PM
php+ sendmail no good - python + sendmail ok nephish Linux - Networking 1 10-07-2005 01:19 PM
Sendmail - RunAsUser=sendmail:mail/What files to i have to change ForumKid Linux - Security 45 01-18-2002 11:47 AM
sendmail (dont just ignore it 'cause its got sendmail in the subject :P) GnomeKing Linux - Networking 1 11-12-2001 09:57 PM


All times are GMT -5. The time now is 05:26 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