LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-30-2005, 05:39 PM   #1
Khang
Member
 
Registered: Aug 2004
Distribution: Debian, Linux 2.6
Posts: 88

Rep: Reputation: 15
Exim - piping mail sent to a particular address to a script


Hi, I've been trying to get this to work for hours and I think my head is going to explode.

My mail is retrieved by Fetchmail which then hands it over to Exim. One of the accounts Fetchmail connects to and retrieves needs to have all stuff that is sent to it passed to a php script. This account does not have a corresponding user on the local system (which has led to many "unknown user" errors and such).

I've created a router and a handler for Exim which (hopefully) would work if only the process would get as far as that. However, everything grinds to a halt before the ACL stuff is even completed.

First I tried adding stuff like:

accept local_parts = [specialname]
domains = +local_domains

to my ACL configuration but after fiddling around with many variants on that theme for a long time, I was getting nowhere, so I tried a different approach.

I added an alias to my /etc/aliases:

[specialname]: jez

But now I'm still getting the same old "unknown user" error.

I'm finding this all very confusing. Can anybody explain what I'm doing wrong? I'm sure it's simple but it beats me...
 
Old 01-30-2005, 07:57 PM   #2
Khang
Member
 
Registered: Aug 2004
Distribution: Debian, Linux 2.6
Posts: 88

Original Poster
Rep: Reputation: 15
It's a mystery huh?

Anybody?
 
Old 01-31-2005, 11:04 AM   #3
Khang
Member
 
Registered: Aug 2004
Distribution: Debian, Linux 2.6
Posts: 88

Original Poster
Rep: Reputation: 15
Another bump... Still getting nowhere with this.
 
  


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
Piping to mail and adding a subject line. Echo Kilo Linux - General 1 12-03-2005 11:24 AM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Perl question: how to insert an e-mail address in a script Pastorino Programming 3 08-08-2005 08:28 AM
piping mail into a program ejy2 Linux - Networking 5 06-23-2004 10:35 PM
Change from email address exim chestnut Linux - Software 3 06-22-2004 06:23 AM

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

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