Re: Short circuit SMTP

2011-05-25 Thread David Boyes
Another option: if you normally use a IPMAILERADDRESS ALL line that points to 
your enterprise mail gateway system, change it to point to some host that 
doesn't run SMTP. If the IBM SMTP can't connect to port 25 on the 
IPMAILERADDRESS host, it will queue the mail until it can (or you put it back 
the way it was).

3rd option:  if on VM, use the homebrew "SMTP Lite" In Melinda Varian's Piping 
the Internet paper.  That will get you either spool files that you can transfer 
back to SMTP later, or disk files if you so choose (which can be punched to 
SMTP later if you are one of the authorized users in the SMTP config for such 
things).



From: David Boyes
Sent: Tuesday, May 24, 2011 10:57 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: RE: Short circuit SMTP

Change the DNS servers in the stack pointed to by VM SMTP (the NSINTERADDR 
lines)  to some IP address that does not have a DNS server running. SMTP will 
receive the messages, queue them, but not deliver anything because nothing can 
be resolved.

This assumes you don't have a DNS lookup enabled for incoming traffic, but is 
very effective.


Re: Short circuit SMTP

2011-05-24 Thread David Boyes
Change the DNS servers in the stack pointed to by VM SMTP (the NSINTERADDR 
lines)  to some IP address that does not have a DNS server running. SMTP will 
receive the messages, queue them, but not deliver anything because nothing can 
be resolved.

This assumes you don't have a DNS lookup enabled for incoming traffic, but is 
very effective.


Re: Short circuit SMTP

2011-05-24 Thread Alan Altmark
On Tuesday, 05/24/2011 at 04:58 EDT, Michael Harding/Oakland/IBM@IBMUS 
wrote:
> Oh (chagrined), I didn't understand what you were saying in your 
original 
> post.  In that case I like Alan's solution.

...which suffers from the same issue.  It protects only the batch SMTP 
(RDR) stuff, not the TCP connection.  How you solve this problem depends 
entirely on what you want done with the e-mail.

If you want to send it to oblivion, just use a PIPE TCPSERVER to suck it 
into a black hole. 

If you want to hang onto it for later delivery, then try changing 
IPMAILERADDRESS ALL to point to a non-existent host and update the 
RETRYAGE to some large number of days (default is 3).  Don't forget to 
increase the size of SMTP's A-disk to hold all of that undelivered mail.

But there is otherwise nothing in VM SMTP to get it to just "hold" 
incoming mail that is destined to be relayed to a remote host.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


Re: Short circuit SMTP

2011-05-24 Thread Michael Harding
Oh (chagrined), I didn't understand what you were saying in your original
post.  In that case I like Alan's solution.

--
Mike Harding
z/VM System Support

mhard...@us.ibm.com
mike.b.hard...@kp.org
mikehard...@mindless.com
(925) 926-3179 (w)
(925) 323-2070 (c)
IM: VMBearDad (AIM),  mbhcpcvt (Y!)


The IBM z/VM Operating System  wrote on 05/24/2011
01:38:55 PM:

> From: "Frank M. Ramaekers" 
> To: IBMVM@LISTSERV.UARK.EDU
> Date: 05/24/2011 01:41 PM
> Subject: Re: Short circuit SMTP
> Sent by: The IBM z/VM Operating System 
>
> Well, it doesn’t arrive in SMTP reader from z/VSE systems.  The z/
> VSE systems contact the z/VM SMTP server via SMTP.
>
>
>
> Frank M. Ramaekers Jr.
>
>
>

Re: Short circuit SMTP

2011-05-24 Thread Frank M. Ramaekers
Well, it doesn't arrive in SMTP reader from z/VSE systems.  The z/VSE
systems contact the z/VM SMTP server via SMTP.

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Michael Harding
Sent: Tuesday, May 24, 2011 3:27 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Short circuit SMTP

 

Sure, just leave the SMTP userid down. If you don't want to update your
profile tcpip, issue a "hold smtp logon" from operator at system ipl
time. Outgoing mail will pile up in its reader without going anywhere.

--
Mike Harding
z/VM System Support

mhard...@us.ibm.com
mike.b.hard...@kp.org
mikehard...@mindless.com
(925) 926-3179 (w)
(925) 323-2070 (c)
IM: VMBearDad (AIM), mbhcpcvt (Y!)


The IBM z/VM Operating System  wrote on
05/24/2011 12:59:51 PM:

> From: "Frank M. Ramaekers" 
> To: IBMVM@listserv.uark.edu
> Date: 05/24/2011 01:02 PM
> Subject: Short circuit SMTP
> Sent by: The IBM z/VM Operating System 
> 
> Is there a way to short-circuit SMTP so that it will receive the 
> outgoing mail, but not deliver it?  
> We have some z/VSEs that have the z/VM SMTP has the SMTP server.  In
> a DR situation, we don't want to have to jerk out all of the EMAIL 
> jobs or work around any email failures.
> So, is there a way to configure the z/VM SMTP to accept the incoming
> email requests, but just not do anything with them?
>  
> TIA,
>  
> 
>  Frank M. Ramaekers Jr.
> 
>  
> 
> Systems Programmer
> 
> MCP, MCP+I, MCSE & RHCE
> 
>  
> 
> American Income Life Insurance Co.
> 
> Phone: (254)761-6649
> 
>  
> 
> 1200 Wooded Acres Dr.
> 
> Fax: (254)741-5777
> 
>  
> 
> Waco, Texas  76701
> 
>  
> 
> [image removed] 
> 
>  
> 
>  
> _ This message 
> contains information which is privileged and confidential and is 
> solely for the use of the intended recipient. If you are not the 
> intended recipient, be aware that any review, disclosure, copying, 
> distribution, or use of the contents of this message is strictly 
> prohibited. If you have received this in error, please destroy it 
> immediately and notify us at privacy...@ailife.com. 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: Short circuit SMTP

2011-05-24 Thread Alan Altmark
On Tuesday, 05/24/2011 at 04:00 EDT, "Frank M. Ramaekers" 
 wrote:
> Is there a way to short-circuit SMTP so that it will receive the 
outgoing mail, 
> but not deliver it?  
> 
> We have some z/VSEs that have the z/VM SMTP has the SMTP server.  In a 
DR 
> situation, we don?t want to have to jerk out all of the EMAIL jobs or 
work 
> around any email failures.
> 
> So, is there a way to configure the z/VM SMTP to accept the incoming 
email 
> requests, but just not do anything with them?

Untested:

RESTRICT TRANSFERto SOMEUSER *
 EndRESTRICT
 
should cause all spooled SMTP BATCH files from any user to be given to 
SOMEUSER.  You could say PURGE instead of TRANSFERto SOMEUSER if you wish.

Alan Altmark

z/VM and Linux on System z Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


Re: Short circuit SMTP

2011-05-24 Thread Michael Harding
Sure, just leave the SMTP userid down.  If you don't want to update your
profile tcpip, issue a "hold smtp logon" from operator at system ipl time.
Outgoing mail will pile up in its reader without going anywhere.

--
Mike Harding
z/VM System Support

mhard...@us.ibm.com
mike.b.hard...@kp.org
mikehard...@mindless.com
(925) 926-3179 (w)
(925) 323-2070 (c)
IM: VMBearDad (AIM),  mbhcpcvt (Y!)


The IBM z/VM Operating System  wrote on 05/24/2011
12:59:51 PM:

> From: "Frank M. Ramaekers" 
> To: IBMVM@listserv.uark.edu
> Date: 05/24/2011 01:02 PM
> Subject: Short circuit SMTP
> Sent by: The IBM z/VM Operating System 
>
> Is there a way to short-circuit SMTP so that it will receive the
> outgoing mail, but not deliver it?
> We have some z/VSEs that have the z/VM SMTP has the SMTP server.  In
> a DR situation, we don’t want to have to jerk out all of the EMAIL
> jobs or work around any email failures.
> So, is there a way to configure the z/VM SMTP to accept the incoming
> email requests, but just not do anything with them?
>
> TIA,
>
>
>  Frank M. Ramaekers Jr.
>
>
>
> Systems Programmer
>
> MCP, MCP+I, MCSE & RHCE
>
>
>
> American Income Life Insurance Co.
>
> Phone: (254)761-6649
>
>
>
> 1200 Wooded Acres Dr.
>
> Fax: (254)741-5777
>
>
>
> Waco, Texas  76701
>
>
>
> [image removed]
>
>
>
>
> _ This message
> contains information which is privileged and confidential and is
> solely for the use of the intended recipient. If you are not the
> intended recipient, be aware that any review, disclosure, copying,
> distribution, or use of the contents of this message is strictly
> prohibited. If you have received this in error, please destroy it
> immediately and notify us at privacy...@ailife.com.

Short circuit SMTP

2011-05-24 Thread Frank M. Ramaekers
Is there a way to short-circuit SMTP so that it will receive the
outgoing mail, but not deliver it?  

We have some z/VSEs that have the z/VM SMTP has the SMTP server.  In a
DR situation, we don't want to have to jerk out all of the EMAIL jobs or
work around any email failures.

So, is there a way to configure the z/VM SMTP to accept the incoming
email requests, but just not do anything with them?

 

TIA,

 

 Frank M. Ramaekers Jr.

 

 

Systems Programmer

MCP, MCP+I, MCSE & RHCE

 

American Income Life Insurance Co.

Phone: (254)761-6649

 

1200 Wooded Acres Dr.

Fax: (254)741-5777

 

Waco, Texas  76701

 

 

 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.