Bug 337398

Summary: Long time bug in yast mail transfer agent module regarding relayhost port setting
Product: [openSUSE] openSUSE 10.3 Reporter: Joe Morris <joe_morris>
Component: YaST2Assignee: Peter Varkoly <varkoly>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Enhancement    
Priority: P5 - None CC: ro, wolfgang
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Joe Morris 2007-10-28 04:38:09 UTC
If you use a relayhost that requires connection on a certain port, the MTA module will not allow the setting (it can be set via Yast /etc/sysconfig Editor, which also has better help comments BTW).  IOW, if you use a relayhost, the setting needs to be in brackets, i.e. [relay.smtp.com].  The MTA standard module will allow this.  If you add a port setting (which is required), i.e. [relay.smtp.com]:587, the MTA module will not allow it, and requires you to remove the port setting to be able to use the module to configure the smtp server (postfix).  This has been this way for a long time.  The answer so far is to erase it to use the module, then go afterwards to the etc/sysconfig Editor and re-add the port in the POSTFIX_RELAYHOST variable.  Together with the POSTFIX_ADD possibility, I have my postfix very easily setup and maintainable through Yast, except for this nuisance with the port.  Hopefully it could be changed to allow the addition of the port.  Thanks.
Comment 1 Peter Varkoly 2007-11-07 14:54:45 UTC
Done. Fixed packages you can find under
ftp://ftp.suse.com/pub/people/varkoly/yast2-mail-server

Comment 2 Joe Morris 2007-11-07 22:15:38 UTC
Wow, excellent!  It works great!  I only wish I had reported this years ago.  Thanks much Peter.
Comment 3 Joe Morris 2007-11-08 03:45:30 UTC
The originally reported problem is now working, but I found one small problem still.  If you click on Masquerading or Authentication, and click OK (even if there were no changes), it deletes the brackets and port settings, i.e. [smtp.example.com]:587 reverts to smtp.example.com.  Would it be possible for those to leave the already configured Outgoing Mail Server as it was?  Otherwise, even though that would need to be reconfigured if changing the Authentication or Masquerading settings, it can now be done without reverting to the sysconfig Editor.  Thanks for your work.
Comment 4 Anja Stock 2008-03-26 11:53:35 UTC
released
Comment 5 Joe Morris 2008-03-26 12:38:21 UTC
Should I fill out another bug report regarding the small remaining problem with the Masquerading or Authentication buttons resetting the brackets and port setting that are now possible to input in the Yast Mail module? Comment #3 is still present in 2.15.23-2.1.
Comment 6 Peter Varkoly 2008-03-29 09:18:10 UTC
Not necessary to fill up another bug report. I'll fix it.
Comment 13 Peter Varkoly 2008-05-13 15:58:16 UTC
Please test the packages in ftp://ftp.suse.com/pub/people/varkoly/yast2-mail
Comment 14 Peter Varkoly 2008-05-13 16:19:00 UTC
*** Bug 389657 has been marked as a duplicate of this bug. ***
Comment 15 Joe Morris 2008-05-13 22:36:14 UTC
yast2-mail-2.15.25-0.1 has a dependency for yast2 >=2.16.23, but I only have yast2-2.15.58-12.  I checked the OBS Yast/Backports for 10.3, which has yast2-2.16.64, which would satisfy the dependency, but having tried the yast from there, which seems really to be designed for 11, not 10.3, I know that version (not just yast2 package but all together) break opensuseupdater, and there were serious problems with updating, so I am hesitant to upgrade.  To install yast2 new enough to be able to test this package will by dependencies break much of yast for 10.3.  Am I to assume, since you made the yast2-2.16.23 a dependency that it needs the change to NetworkInterfaces to work, meaning this package will not work with the present yast2 for 10.3?  I would love to test this package, but would rather not break the rest of Yast, or opensuseupdater.  Should I just wait til 11.0 to see if it is now fixed?
Comment 16 Peter Varkoly 2008-05-14 12:05:11 UTC
Sorry the spec file of yast2-mail was buggy. I've corrected it.
Please test the packages in ftp://ftp.suse.com/pub/people/varkoly/yast2-mail
Comment 17 Joe Morris 2008-05-14 21:49:59 UTC
Thanks much!  I can confiirm it is now fixed!  I can now use the MTA module to accomplish all basic configuration for Postfix.  It no longer erases or complains about the required brackets or port number.  Great job!
Comment 18 Joe Morris 2008-05-14 21:53:04 UTC
I would assume I can mark this as resolved.  Not sure if that should only be done by Peter, but it sure seems that this particular bug has been resolved.