Bug 219381

Summary: gen-ip-validator.pl not included in RPM, not executed
Product: [Fedora] Fedora Reporter: Chris Myers <cmbugz712>
Component: mimedefangAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: extras-qa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-16 18:00:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chris Myers 2006-12-12 20:47:36 UTC
Description of problem:


Version-Release number of selected component (if applicable):

    mimedefang-2.58-1.fc6

How reproducible:

    Install mimedefang

Steps to Reproduce:

    1. Install mimedefang
  
Actual results:

    /etc/mail/mimedefang-ip-key does not exist

Expected results:

    /etc/mail/mimedefang-ip-key is created    

Additional info:

mimedefang-ip-key is used to hold a secret key for mimedefang that it used to
help mimedefang reliably keep the original Relay Host/Relay Hostname when a
message is forwarded from a backup MX server to the primary MX server, and when
a message is re-sent using stream_by_user/stream_by_domain.  The standard
installation script for mimedefang runs the gen-ip-validator.pl script to create
the key.

Comment 1 Robert Scheck 2006-12-12 21:48:13 UTC
Personally, I'm not using this feature. Would it fit to create the /etc/mail/
mimedefang-ip-key file after each installation/upgrade of mimedefang or should 
gen-ip-validator.pl script only be executed, if the /etc/mail/mimedefang-ip-key 
file doesn't exist? Last of it seems more logical to me, that existing keys 
aren't overwritten.

Asked the other way round: Has the script to be executed after the mimedefang 
rpm installation/upgrade automatically or is it enough to ship the perl script 
gen-ip-validator.pl? Sorry when asking such dumb, but I'm looking for the best 
solution ;-)

Comment 2 Robert Scheck 2006-12-16 18:00:28 UTC
I'll (re-)create /etc/mail/mimedefang-ip-key when the file doesn't exist - this 
exactly is the same way like at mimedefang.