Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect based on subject line

Status
Not open for further replies.

colson58

Technical User
Dec 14, 2009
1
US
I am VERY new to this and sadly, a newbie with Linux as well.

Situation: Want to redirect mail based on subject line to alternate site for mail encryption and delivery.

Problem: Not sure how to test and correct syntax. Test fails.

Header checks. Not sure which one to use (REDIRECT or FILTER) to redirect mail.
/^Subject: BILD TEST/ FILTER smtp:mailserver.domain.com
/^Subject: ZIX TEST/ REDIRECT smtp:mailserver.domain.com


TEST RESULTS
220 mail.domain.com
HELO my.mailserver.tld
MAIL FROM:<colson@domain>
RCPT TO:<recipient@domain>
DATA
From: colson@domain.com
To: recipient@csstars.com
Subject: ZIX TEST

Testing FW smtp

.

Quit

250 mail.domain.com
250 2.1.0 Ok
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
250 2.0.0 Ok: queued as 884F51238FD
500 5.5.2 Error: bad syntax

221 2.0.0 Bye


Connection to host lost.

What does the above mean?

Thank you,
CO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top