YaST2 Developers Documentation: Configuration of mail | ![]() |
![]() functions files intro |
Required packages
`sendmail, `postfix or `other Initialized by ReadMta
If true, don't run SuSEconfig or restart the services. Autoinstall uses this to do all in one place.
If MAIL_CREATE_CONFIG is not yes, the user does not want SuSEconfig to modify sendmail.cf/main.cf. So we will warn him before setting it to yes.
`permanent, `dialup or `none
If false, port 25 will listen only for localhost
Use a virus scanner (AMaViS). amavisd-new (mta-independent) must be installed. It will be installed if amavis_allowed and it is not installed.
Is amavis available on the installation media?
Domains for locally delivered mail. (ahost.acompany.com is a domain)
A relay server for outgoing mail. May be enclosed in [brackets] to prevent MX lookups.
Mail will appear to come from this domain. Applies also for the envelope. Does not apply for mail from root.
If empty, from_header will be applied to mails coming from local_domains, otherwise from these domains. (Remember: mail domains)
User specific sender masquerading. List of maps: $[comment:, user:, address:] (all are strings)
sysconfig/postfix:POSTFIX_MDA #26052
When should fetchmail run:
List of maps: $[server:, protocol:, remote_user:, local_user:, password:, enabled:(bool), other_(server|client)_options: ]
Domain-specific aliases. List of maps: $[comment:, alias:, destinations:] (all are strings)
SMTP AUTH (#23000) list of maps: The ui only handles the first list item, the rest is for autoyast $[server: string, user: string, password: string(plain text)] There are other map keys that must be preserved on editing.
Sysconfig setting that enables the feature. For postfix, it is a simple yes/no which we set to (size(smtp_auth)>0) For sendmail, it is a list of methods which we set to empty or all but we don't touch it if it was something in between, marked as nil. Must default to non-nil.
The full set of authentication mechanisms for sendmail
Fetchmail protocols, as defined in rcfile_l.l Probably not all of them are compatible with our simplified scheme but it does not hurt to include them. Must check for validity: the agent matches [[:alnum:]]+, lowercase names are valid too.
Has the configuration been changed? Can be used as an argument to Popup::ReallyAbort
A convenient shortcut for setting touched.
Read only, set by ProbePackages. Use as an argument to Package::DoInstallAndRemove
Read only, set by ProbePackages. Use as an argument to Package::DoInstallAndRemove
Of the four available amavis packages, amavis-postfix does not need a service running, others do. Update: only one package, amavisd-new, but let's keep the variable, just in case. We query rpm in WriteGeneral (so that it works for autoinst too). This is only used if use_amavis is on, of course.
Detect which packages have to be installed and return a descriptive string for a plain text pop-up.
Detect the MTA installed
Whether rcfetchmail should run
Read all mail settings from the SCR
Make up data for screnshots
Part of Write.
Part of Write.
Part of Write.
Part of Write.
Part of Write.
Part of Write.
Part of Write.
Part of Write.
Update the SCR according to mail settings
Get all mail settings from the first parameter (For use by autoinstallation.)
Dump the mail settings to a single map (For use by autoinstallation.)
Summarizes a list of data
Summary
Return required packages for auto-installation
|
YaST2 Developers Documentation | ![]() |