LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-20-2006, 01:07 PM   #1
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
Email from command line / postfix problem


Hello. My computer is on a home internet connection, and uses dyndns.org for DNS. As a result, my IP doesn't reverse validate to my host.

I've been working with a PHP program to send emails. The PHP mail function works fine (using the sendmail wrapper for Postfix) but, obviously, the emails just bounce back from any real domain's mail server, as they won't reverse validate.

Is there any way to:

1) setup postfix so that it will SEND mail via my ISP's SMTP server - i.e. log in with a username and password and act as if it is an email client? Not just simple relaying...

OR

2) Is there any simple command-line email client out there that will send email via SMTP itself, and I can configure for my ISP's server?

Thanks.
 
Old 07-20-2006, 05:16 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,870

Rep: Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872Reputation: 1872
Read this to see how can you setup smarthost in postfix.

Regards
 
Old 07-23-2006, 01:06 PM   #3
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Original Poster
Rep: Reputation: 31
Thanks. I made the required changes, but my ISP's server is still bouncing the mail, both from PHP and from Pine.

I believe their server requires sending SMTP form their server, logged in with username and password, as a mail client would.
 
  


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
command-line email sending ixion Linux - Software 9 08-01-2008 06:46 AM
need a command line email program paperdiesel Linux - Software 10 09-05-2006 06:32 AM
command-line email success darthtux LinuxQuestions.org Member Success Stories 4 08-31-2003 11:57 PM
command line email with attachments??? crickett Linux - Software 1 06-24-2003 08:47 PM
command-line email client ixion Linux - General 4 02-11-2003 02:28 PM

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

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