LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-01-2006, 11:17 AM   #1
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
Exim setup


Hello
I'm trying to send mail using just mail, or exim, or sendmail; that's just the same, right?
Anyway, I'd just like to send mail out, not only locally.
I just should hand mail to my ISP SMTP server for it to manage delivery.
I searched the forum, but found just threads about implementing a local SMTP server; what I'm after, is just to send mail via my ISP, that is, what any end-user email client does.
But I can't.
What I'm trying to do is:
  1. fetchmail retrieves remote email messages;
  2. procmail filters and dispatch maildir-like mail to local directories;
  3. for certain accounts, mail should also be delivered to a remote address (gmail).
Steps 1 and 2 work; but when procmail is supposed to hand mail to sendmail, then I get exim complaining that the host can't be found, or unrouted.
I searched the web, but I couldn't understand what's wrong.

I can send mail using a client such as thunderbird, and I expected exim to be able to do just about the same thing, when invoked by procmail. But I can't understand how can I configure it properly.
I can't send mail from commandline either; something like:
Code:
$ mail -s "hello" johndoe@gmail.com <letter.txt
fails.

Any help?
 
Old 09-01-2006, 01:10 PM   #2
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
Code:
$ mail -s "hello" johndoe@gmail.com <letter.txt

# tail /var/log/exim/mainlog
2006-09-01 20:06:59 1GJDPd-0000Fp-00 == johndoe@gmail.com R=lookuphost defer (-1): host lookup did not complete
2006-09-01 20:08:11 Start queue run: pid=1039
2006-09-01 20:08:11 1GIXzL-0005lo-00 == johndoe@gmail.com routing defer (-42): retry time not reached
2006-09-01 20:08:11 Start queue run: pid=1039
2006-09-01 20:08:11 1GIXzL-0005lo-00 == johndoe@gmail.com routing defer (-42): retry time not reached
[...]
2006-09-01 20:08:11 1Cb5hG-0000AN-00 Message is frozen
[...]
2006-09-01 20:08:11 End queue run: pid=1039

Last edited by guldo; 09-03-2006 at 12:12 PM.
 
Old 09-01-2006, 01:27 PM   #3
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
Maybe this could help...

Code:
# dig @192.168.1.1 gmail.com

; <<>> DiG 9.2.4 <<>> @192.168.1.1 gmail.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47764
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;gmail.com.                     IN      A

;; ANSWER SECTION:
gmail.com.              10000   IN      A       64.233.161.83

;; Query time: 3 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Fri Sep  1 20:26:36 2006
;; MSG SIZE  rcvd: 43
 
Old 09-03-2006, 12:12 PM   #4
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Original Poster
Rep: Reputation: 15
up........
 
  


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
Setup of choicemail like with exim??? matt1982 Debian 1 08-23-2006 10:26 AM
setup exim for remote outgoing mail matt1982 Linux - Newbie 2 11-23-2005 08:55 AM
Exim Help!! blakeless Linux - Software 2 03-10-2005 06:46 PM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 05:55 AM
exim Donald1000 Linux - Networking 0 01-09-2003 04:03 PM

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

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