Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-31-2004, 08:37 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 18

Rep: Reputation: 0
qmail SMTP forward question....

Hi. I have a unique situation, and need some help on how to set it up....

This may be a bit complicated but I wanted to know how if I am the MX authority for a host (say, how could get Qmail to forward SMTP email for *directly* to another server/host AFTER I *first* filter the mail with Procmail ?

I am trying to setup a mail filtering service for domains. I would be the MX authority to receive their mail, then I would have to filter it, and then directly forward it to their servers.

Follow me? I see it being a problem since I want to get procmail to filter the mail first. Otherwise, I could just tell Qmail to directly forward the mail...that would be easy.

Any suggestions are greatly appreciated....
Old 03-31-2004, 12:21 PM   #2
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26

Rep: Reputation: 15
couldn't you just use procmail and write a perl script to forward it to a certain location after it finishes other recipes that you may have?
Old 04-01-2004, 01:27 PM   #3
LQ Newbie
Registered: Feb 2004
Posts: 18

Original Poster
Rep: Reputation: 0
yes, but it would still have use the system mailer (Qmail), and I want to be able to keep the email address it was originally sent to (and that's what complicates the problem because I would be the MX)


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
using sendmail to forward to a remote smtp server selgip Linux - Software 1 03-21-2005 05:04 PM
Qmail SMTP Question kemplej Linux - Networking 4 04-13-2004 03:35 AM
qmail SMTP forward question.... rabbate Linux - Software 0 03-31-2004 12:07 AM
Looking for pop3 client and smtp forward HSukirman Linux - Newbie 5 03-30-2004 07:03 AM
need sendmail to forward to ISPs SMTP uem-Tux Linux - Software 1 08-17-2003 07:21 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration