YaST2 Developers Documentation: Configuration of mail



functions
files
intro

Configuration of mail

include/mail/widgets.ycp
Widget definitions.

Imports

  • Address
  • Hostname
  • Label
  • Mail
  • MailAliases
  • Popup
  • Users
  • UsersCache

Structures

Local Variables

Local Functions

local check_mail_local_part (string address) -> boolean

See RFC 2822, 3.4 But for now, nonempty, no-spaces.

Parameters:
address an address to check
Return value:
valid?

local local_users -> list<string>

A list to check entered user names against. It is initialized on first use.

local GetLocalUsers () -> list<string>

Read user names from passwd. It does not get the NIS entries, that's why one combo is editable. "+" is filtered out.

Return value:
user name list

local listToString (list<string> alist) -> string

Formats a list for a TextEntry, separating the elements by ", "

Parameters:
alist a list
Return value:
a string

local stringToList (string astring) -> list<string>

Splits a TextEntry string into a list of strings separated by spaces, commas or semicolons. Empty strings are removed.

Parameters:
astring a string
Return value:
a list of strings

local finish_button -> term

A replacement for the Next button: "Finish", `next

local fetchmail_item -> map

Structure fetchmail

	$[server:, protocol:, remote_user:, local_user:, password:, ...]

local Widgets -> map

widget_def


YaST2 Developers Documentation