The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/

SDB:Configuring E-Mail with YaST2

Şuraya atla: kullan, ara


Version: 8.0

Situation

You have a computer with an Internet dial-up connection and want to configure retrieving and sending e-mails with YaST2.

Note: YaST2 module for e-mail configuration permits you to configure sendmail or postfix for sending e-mails and fetchmail for retrieving them. Under SuSE Linux, the package sendmail is installed by default as the MTA (Mail Transfer Agent).

Depending on which e-mail client you use, you may not need to proceed as described below. The server for retrieving and sending e-mails can be entered directly in clients like KMail and Netscape. However, this configuration applies only for the specified user and the particular e-mail client. Using the YaST2 options, the servers for sending and fetching mail can be configured system-wide. It is available for all users, regardless of the client used.

Procedure

The following data from your provider is required for e-mail configuration through YaST2:

  • the user name for your e-mail account at your provider (in case of web.de, for example, this is the e-mail address)
  • the password for this account
  • the name of the provider's mail server
  • the name of the provider's SMTP server

In our example, John Smith uses the local account "john" on his SuSE Linux system, his e-mail account is "john.smith@web.de" at web.de, and the password is "secret". At web.de, he retrieves his e-mails from the POP3 server pop3.web.de and sends them via smtp.web.de.

Important: Update the package sendmail first. This can be done comfortably with YOU (YaST Online Update). Information on how to proceed can be found in the "Basics" manual, chapter Yast2 Configuration, Online Update, on page 98.

After the package update, the sendmail service must be restarted. You can do this either by entering: rcsendmail restart in a root shell or by rebooting your computer.

Then open the YaST2 control center and the dialog Network/Basic --> Mail.

Select Dial-up as the connection type. You can enable virus scanning at this point. Confirm with Next.

In the dialog Outgoing mail enter, under Outgoing mail server, the name of the provider's SMTP server ("smtp.web.de" in our example). The other two entry fields can be ignored.

Select Detailed address rewriting... --> Add. Under Local user, select your login name. Enter your e-mail adrress under Display as. In our example, "john" and "john.smith@web.de". In this way, the e-mail's sender address is changed to "john.smith@web.de". Confirm with OK and return to the dialog Outgoing mail. Then click Next.

In the following dialog (Mail downloading), enter the mail server name for your provider ("pop3.web.de" in our example) and select the protocol. Usually it is POP3 (Auto does not works with all servers). Enter the user name ("john.smith@web.de"), the password for this server ("secret"), and the local user name ("john").

By clicking Finish, the configuration is saved, the virus scanner Amavis is installed if selected, and the services are restarted.

With each Internet connection, your e-mails are automatically downloaded and composed ones sent. If during a Internet session you want to do this manually, enter the following command in a root shell:

/etc/ppp/poll.tcpip

E-mail Client Configuration

For the e-mail clients mutt and pine, no further configuration is required. In kmail, enter the name and your external e-mail address under Settings --> Configure Kmail. In the menu Network --> Sending, select the displayed entry ("sendmail") and click Modify. Under Location, enter: "/usr/sbin/sendmail". Then select the item "Receiving" and, after having clicked Add, select the account type Local mailbox. In the following dialog, enter the name for your account and activate the entry Enable interval mail checking. After having confirmed with OK, KMail is ready for sending and receiving e-mails.

Note: our free installation support does not provide assistance with e-mail configuration. However, you can take advantage of our Advanced Support Service. For further information, refer to http://www.suse.de/en/services/support/private/advanced.html. <keyword>email,e-mail,sendmail,postfix,yast2</keyword>