Re: SMTP IPMAILERADDRESS

2011-07-21 Thread Alan Altmark
On Wednesday, 07/20/2011 at 03:18 EDT, Ewald Roller 
e.rol...@rolf-benz.de wrote:
 Hello,
 
 I tried so setup a new SMTP-Server on z/VM 5.4.
 I want to remove the seperate TCPIP DATA on SMTPs 191
 (w/o DNS) and use the Parameter IPMAILERADDRESS instead
 to forward all mails to our exchange-server:
 
 IPMAILERADDRESS
 ALL  1.2.3.4
 ENDIPMAILERADDRESS
 
 This doesn't work, the SMTP Consolelog shows
 IP Mailer Address/Hostname : 1.2.3.4
 IP Mailer ALL enabled  : No
 
 Searching the archives, I noticed, that this problem should have been
 solved since z/VM 5.2 .
 
 What do I miss ??

Something strange.  EndIPMailerAddress is only for IPMailerAddress [ALL] 
LIST.  You should be getting a syntax error on SMTP's console and he 
shouldn't be starting.  I get
DTCRUN1011I Running server command: SMTP
DTCRUN1011I No parameters in use
DTCSMT1032E Unrecognized configuration file statement ENDIPMAILERADDRESS 
on line 386
DTCRUN1014I Server ended normally at 10:45:55 on 21 Jul 2011 (Thursday)

When I remove the EndIPMailerAddress, it starts find and I have ALL 
Enabled  : Yes.

Alan Altmark

Senior Managing z/VM and Linux 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: SMTP IPMAILERADDRESS

2011-07-21 Thread Alan Altmark
On Thursday, 07/21/2011 at 12:11 EDT, Ewald Roller e.rol...@rolf-benz.de 
wrote:
 Problem is partially solved (but I'm not satisfied):
 Although I have defined in SYSTEM DTCPARMS for my
 SMTP-Server SMTP02 the :parms Operand with
 :parms.SMTP02 CONFIG *
 the server never used it...
 Is it possible, to force it to use the defined CONFIG file?
 I want to have SMTP-Userid name and Config-name the same.

That sounds to me like you don't have a valid :type.server definition in 
your SYSTEM DTCPARMS for SMTP02.  Note that you can use TCPRUNXT EXEC to 
build :parms. tags dynamically at runtime.  No need for static 
configuration.  For example:  If this is the BEGIN call AND the server 
class is SMTP THEN set the :parms tag to userid() CONFIG *.

Alan Altmark

Senior Managing z/VM and Linux 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