LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-19-2003, 04:23 PM   #1
LneonGREEN
LQ Newbie
 
Registered: Aug 2003
Location: OverHere
Distribution: All
Posts: 5

Rep: Reputation: 0
How do you test POSTFIX for sending mail out?


How do you test POSTFIX for sending mail out?

I have Slackware 9 installed with sendmail packages removed and POSTFIX installed. I can receive mail and view it in the queue with the sendmail -bp command. I have only this MTA installed and no pop or Imap setup yet .(forgot the acrynoum for that one)

When I use the command line mail to send mail or to check mail: I have no mail (when I know I do) and I am to send mail but it never reaches its designation. In K-Mail.. I can not send mail with any configuration I choose..

I know PostFix is accepting mail... HOW CAN I TEST SENDING MAIL?

Thanks for your help,
Matthew
 
Old 10-20-2003, 01:09 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
If it's not reaching it's destination, you will likely find an error message somewhere. Either from the person you are trying to deliver to (not likely) or a return message to you. Also, read your mail logs /var/log/mail and see what you can find in your system log /var/log/messages. Try sending email as you tail your logs:
tail -f /var/log/messages
And other logs.

Post up your postfix/main.cf so we can see what the setup is like, or post up the result of:
postconf -n (IIRC).

Be sure you try sending to yourself (get a yahoo email account or something to test with) so you can verify the problems.

Cool
 
Old 11-20-2008, 05:24 PM   #3
johnzoet
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by LneonGREEN View Post
How do you test POSTFIX for sending mail out?

I have Slackware 9 installed with sendmail packages removed and POSTFIX installed. I can receive mail and view it in the queue with the sendmail -bp command. I have only this MTA installed and no pop or Imap setup yet .(forgot the acrynoum for that one)

When I use the command line mail to send mail or to check mail: I have no mail (when I know I do) and I am to send mail but it never reaches its designation. In K-Mail.. I can not send mail with any configuration I choose..

I know PostFix is accepting mail... HOW CAN I TEST SENDING MAIL?

Thanks for your help,
Matthew
Try this:
=>
telnet <IP> 25
EHLO
MAIL FROM: <from-email>
RCPT TO: <recipient-email>
DATA
Type message here.
. <Enter>
=>

The last line leaves DATA mode.
 
  


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
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Sending mail outside my LAN using Postfix Harlin Linux - Networking 1 07-18-2005 04:16 AM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 03:05 AM
k mail test sending failed mat Linux - Newbie 3 10-30-2003 02:48 PM
Sending mail to Postfix on LAN JimKyle Linux - Networking 0 02-11-2003 04:12 PM


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