LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-08-2008, 02:03 AM   #1
ssilayaraja
Member
 
Registered: Aug 2003
Location: chennai
Posts: 115

Rep: Reputation: 15
problem with send email using fetchmail


I have configured for one email user with fetcmail+procmail+dovecot+senmail in my linux box to retrive mail from our external mailserver. i did not configure DNS in my linux box (sorry for telling this i dont know wheather DNS is must for this setting) i am using MS outlook as mail client. using all these setting i can get mail from our external mail server. but iam not able to send email to outside. what should i do send email suing these setting

kindly give me some your valuable ideas

and one more question is this possible to retrive all users mail (nearly 70 users) using thsi seeting

Last edited by ssilayaraja; 04-08-2008 at 02:10 AM.
 
Old 04-08-2008, 07:30 AM   #2
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora
Posts: 161

Rep: Reputation: 43
The configuration I have used for some time now is very similar. All incoming messages are retrieved by fetchmail from ISP mailboxes and delivered to mailboxes on my intranet server after a good SPAM scan:
[mbox]
[mbox] -> fetchmail -> sendmail -> procmail -> spamc -> local-delivery
[mbox]

Outgoing mail is all sent to the local intranet server, the same one hosting fetchmail. Sendmail is configured to accept outgoing mail on the "submission" port and is configured to forward everything to my ISP SMTP server using the "smarthost" configuration option. Sendmail must be configured to recognise all of the external mailbox addresses as "local aliases" or you could end up with delivery loops.

Read through the fetchmail documentation to see if you can use it "multidrop" for your multi-user requirements. Fetchmail needs to be able to identify the intended recipient on every message to work well. This can be a real problem with messages delivered to more than one address within the same multi-drop mailbox. The alternative is to use the virtual address re-writing facilities of sendmail to re-route messages to the correct local mailbox.

So long as your server has working DNS settings the applications should work OK. Fetchmail does try to check every relay address in the message headers so it can slow things down. A little tuning goes a long way here. Consider running a "caching only" DNS server if it is still too slow.

Hope this helps,

--DaveG.
 
Old 04-09-2008, 01:16 AM   #3
ssilayaraja
Member
 
Registered: Aug 2003
Location: chennai
Posts: 115

Original Poster
Rep: Reputation: 15
thanks for your reply i will configure smart host and i will reply soon.

i there any way to do this ( to send and receive mail from remote mailserver for multiple user)
 
Old 04-09-2008, 01:19 AM   #4
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
Do all your users have their own mailboxes on the remote server?

On the sending side, if you don't want to run your own server, just set the smtp outgoing in outlook to your isp smtp server as suggested above
 
Old 04-09-2008, 04:06 AM   #5
ssilayaraja
Member
 
Registered: Aug 2003
Location: chennai
Posts: 115

Original Poster
Rep: Reputation: 15
i tried with smarthost even iam not able to send mail to my remote server
what are the other configuration i have to check
 
Old 04-09-2008, 04:55 AM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
What is the output of
Code:
sendmail -bv email@yourdomain
Are there errors in the logs when you send mail ? What is being reported in the logs ?
 
  


Reply



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
Problem: getting ???? when send an email in hebrew yace Linux - Software 5 02-02-2006 09:24 AM
problem to send email... os2 Linux - Software 1 09-10-2004 03:15 PM
Email problem: fetchmail gets stuck. Please help. gargamel Slackware 3 06-10-2004 07:20 PM
slack store email problem. cant send to them. xushi Slackware 4 04-14-2004 02:25 PM
How do I: convert my fetchmail email file to separate email files? ancientt Linux - Software 1 02-03-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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