FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > Email & Mailing List Management
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-26-2001, 07:55 PM   Postid: 47399
adamcornwell
Registered User

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Apr 2001
Posts: 5
I need help forwarding email to a Perl script via qmail

I've read through the forum and the qmail.org site and still can't get the forwarding working right.

I'm setting up Mojo (a mailing list) so that when subscribers send email to the list (xyz@xyz.com) it will automatically get sent to the Perl script which forwards it to all of the list subscribers.

The directions for setting up the .qmail forward for Mojo can be found at http://mojo.skazat.com/installation/mojo_send.html. I've followed the directions completely and I've triple checked everything. I did notice something on an earlier post regarding .qmail forwarding on the DEEDEE server, which I'm on, which may or may not be the issue.  Using the web interface, the mail list manager works fine. It's only when I try to do a direct email through the .qmail forward that it doesn't send or receive.

This is what I have set up:
email alias: test@tpmtools.com
.qmail forward: .qmail-test (containing: |/big/dom/xtpmtools/cgi-bin/mojo/mojo_send.pl) This file is in both /big/dom/xtpmtools/username and /big/dom/xtpmtools since I don't know which one it is supposed to go in.

Theory suggests that any mail sent to test@tpmtools.com will be intercepted by the Perl script (mojo_send.pl) which will forward the email to the list subscribers. The only problem is that I never receive the email.

Any help provided would be greatly appreciated.

adamcornwell is offline   Reply With Quote
Old 04-26-2001, 09:23 PM   Postid: 47400
sheila
Site Owner
 
sheila's Avatar

Forum Notability:
0 pts: Even-handed
[Post Feedback]
 
Join Date: Aug 1999
Location: Metro Los Angeles Area
Posts: 7,398
Quote:
This file is in both /big/dom/xtpmtools/username and /big/dom/xtpmtools since I don't know which one it is supposed to go in.
It goes in /big/dom/xtpmtools.
Other than that, I don't know why your script isn't working. Looks to me, at a glance, like you have your .qmail file set up correctly?

sheila is offline   Reply With Quote
Old 06-11-2001, 09:21 AM   Postid: 47593
Frank.Bauer
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Apr 2000
Location: Kiel, Germany
Posts: 9
Same problem...

I have the same problem at www.add2it.com.

The Mojo Mail works perfect with it's online admin center, but I can't get .qmail-test (Content: |/big/dom/xadd2it/www/mojo/mojo_send.pl )
to forward emails to the script. Of course I did set up a list called test in Mojo Mail.

All messages that I send to test@add2it.com just disapear...

Can anybody assist me please?
__________________
================================================================
Would you like more...? [url="http://www.add2it.com"]http://www.add2it.com[/url]
Contact Information: [url="http://www.add2it.com/contact.shtml"]http://www.add2it.com/contact.shtml[/url]
Autoresponder: <[email]mailto:Contact-Info@add2it.com[/email]>
================================================================
Frank.Bauer is offline   Reply With Quote
Old 06-17-2001, 03:42 PM   Postid: 48196
Her.ph
Site Owner
 
Her.ph's Avatar

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Jun 2001
Posts: 42
Adam & Frank:
I think you have to make sure the last line on your .qmail-xxxx
is a blank line, i.e. the file is two lines long.
Her.ph is offline   Reply With Quote
Old 06-18-2001, 01:29 AM   Postid: 48216
Frank.Bauer
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Apr 2000
Location: Kiel, Germany
Posts: 9
Hmmm, I just checked that... it has been only one line. I will change that and try it again.
__________________
================================================================
Would you like more...? [url="http://www.add2it.com"]http://www.add2it.com[/url]
Contact Information: [url="http://www.add2it.com/contact.shtml"]http://www.add2it.com/contact.shtml[/url]
Autoresponder: <[email]mailto:Contact-Info@add2it.com[/email]>
================================================================
Frank.Bauer is offline   Reply With Quote
Old 06-27-2001, 12:12 PM   Postid: 48838
Frank.Bauer
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Apr 2000
Location: Kiel, Germany
Posts: 9
It is still not working.

I tried a different script that is located at
/big/dom/xadd2it/www/mmp/test.cgi

Once an email gets send to test2@add2it.com
I get the following reply:

<test2@add2it.com>:
/bin/sh: /big/dom/xadd2it/www/mmp/test.cgi: No such file or directory
I'm not going to try again; this message has been in the queue too long.


Can anybody help me? What I need to find out is how to
receive an email that has been forwarded with .qmail-test2
with a perl script. Then I need to extract the email address
and name in that email and save it in a database.

Looking forward to your ideas or sample scripts.
Frank.Bauer is offline   Reply With Quote
Old 06-27-2001, 12:54 PM   Postid: 48842
jokesplus
Site Owner
 
jokesplus's Avatar

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: May 1999
Location: Cheltenham, UK
Posts: 149
Frank I've got a simple Perl script that just extracts the e-mail address and writes it to a flat-file. It's currently used to handle bounces from a recommend this site script.

The script isn't pretty, it's badly commented and there are probably better ways of coding it. But your welcome take a look. I''ll e-mail you a copy.

Jarrod
jokesplus is offline   Reply With Quote
Old 07-10-2001, 11:28 PM   Postid: 49677
Her.ph
Site Owner
 
Her.ph's Avatar

Forum Notability:
10 pts: User-friendly
[Post Feedback]
 
Join Date: Jun 2001
Posts: 42
Ampersand

Ummm... one more thing. I think you have to put an ampersand
in front of the address you are redirecting to:

E.g. file .qmail-mom
Code:
&mom@hotmail.com
-- blank line here --
Hope that helps.
Her.ph is offline   Reply With Quote
Old 07-11-2001, 06:14 AM   Postid: 49690
Frank.Bauer
Visitor

Forum Notability:
0 pts:
[Post Feedback]
 
Join Date: Apr 2000
Location: Kiel, Germany
Posts: 9
Hmmm, my .qmail-test2 file looks more like this:

|/big/dom/xadd2it/www/mmp/test2.cgi
(Blank line)

Do I have to add the & in front of the | ?
__________________
================================================================
Would you like more...? [url="http://www.add2it.com"]http://www.add2it.com[/url]
Contact Information: [url="http://www.add2it.com/contact.shtml"]http://www.add2it.com/contact.shtml[/url]
Autoresponder: <[email]mailto:Contact-Info@add2it.com[/email]>
================================================================
Frank.Bauer is offline   Reply With Quote
Old 07-11-2001, 02:03 PM   Postid: 49721
 Bruce
Developer
 
Bruce's Avatar
 
Join Date: Apr 2001
Location: Saskatoon, SK, Canada
Posts: 1,182
No, you do not need to put an ampersand in front of a command line, only in front of an email address to forward to. Strictly speaking, you don't even need it for that, but it's good practice.
__________________
Bruce Guenter, FutureQuest http://www.FutureQuest.net/ http://untroubled.org/
Bruce is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:28 AM.


Running on vBulletin®
Copyright © 2000 - 2013, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2013 FutureQuest, Inc.
FutureQuest, Inc.