LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-23-2006, 04:15 AM   #16
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122

I'm not quite sure how your system is set up, but as I said earlier. postfix should run pretty much ou of the box.

I know nothing about java, but it looks to me like you are using port 465 to send mail rather than 25 as is standard. Whatever mta you use you will need to get it listening on port 465 if I'm correct.

What does the line "props.put("mail.smtp.host', "smtp.gmail.com");" do ( and why is there a closing single quote after host?)?

If you want to receive email, postfix by default delivers to an MBOX from memory. You can change this to a Maildir in main.cf pretty easily - just search for mbox. If you move to Maildir you'll need something like Dovecot running to manage it.

A very quick note on email.

You need something to send and receive email (the mta)

You need something to read email (such as evolution - I think this is called the mua)

Depending on how you are set up, you may need something between the mta and whatever reads it (such as dovecot if you use Maildir).

Simply put, postfix (or any mta) receives messages on it's input port (usually 25) and delivers it to a delivery agent (mda). Postfix can deliver directly ot mbox or maildir mailboxes, relay to another delivery service or via something like maildrop or postdrop. If your mailbox is on the same machine as postfix, you can just let it deliver the mail.

To send, all you should need to do is deliver the message to port 25. If you need to use port 465, I think that a line in master.cf like

127.0.0.1:465 inet n - n - - smtpd

will work (no promises though).

On the delivery side, you should be able to connect to the relevant user's mbox directly with evolution or similar with no changes

Last edited by billymayday; 04-23-2006 at 04:26 PM.
 
Old 04-23-2006, 05:50 AM   #17
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Bit of a brain fade, but I guess "smtp.gmail.com" is the mail server, so I'd guess that you need to change this to the hostname of the mail server you are setting up (or its IP address). I know nothing about gmail, but I'd also guess that for some reason it uses port 465.

Try changing the "smtp.gmail.com" to the relevant setting and the 465 entried to 25 and see if it works with postscript. Note that postscript is pretty sensitive about relaying (anti-spam), so if it's s different machine, you will need to allow (suitably restrictive) relaying on the postfix machine.

The docs on postfix.org really are very good, even if they take a bit of time to srt through.


Rgds


Bill
 
  


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
How to set up broadband in Fedora Core 3? futurist Fedora 10 10-26-2007 03:13 PM
Fedora core 2, how to set up network fifty Linux - Networking 5 09-15-2004 04:00 AM
Hebrew Character set in fedora core 2 hq4ever Fedora 0 07-18-2004 01:36 PM
How to set up a Mail server in Fedora zc923 Linux - Newbie 1 06-05-2004 09:42 AM
Modem [kppp] set-up with Fedora Core 1 OldBob Linux - Newbie 3 05-18-2004 12:02 AM

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

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