LinuxQuestions.org
Help answer threads with 0 replies.
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, 05: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, 02:09 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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, 06: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 12:16 PM
Sending mail outside my LAN using Postfix Harlin Linux - Networking 1 07-18-2005 05:16 AM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 04:05 AM
k mail test sending failed mat Linux - Newbie 3 10-30-2003 03:48 PM
Sending mail to Postfix on LAN JimKyle Linux - Networking 0 02-11-2003 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:24 AM.

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