Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
HomePCNew
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====Postfix==== * installation according to [http://wiki.ubuntuusers.de/Postfix here] sudo apt-get install postfix libsasl2-modules bsd-mailx ubuntu-64bit.uweheuer [smtp.gmail.com]:587 uwe.heuer@gmx.de ubuntu-64bit, localhost.localdomain, localhost ::ffff:127.0.0.0]/104 [::1]/128 + alle * goes to /etc/postfix/main.cf * add to it smtp_sasl_auth_enable = yes # noplaintext weglassen, wenn Passwörter im Klartext übertragen werden müssen: # (nicht empfohlen, nur wenn's anders nicht funktioniert) smtp_sasl_security_options = noplaintext noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password * create /etc/postfix/sasl_password by sudo touch /etc/postfix/sasl_password * and add to it [smtp.gmail.com]:587 uwe.heuer@gmail.com:Halloo0@1 * secure it by sudo chmod 600 /etc/postfix/sasl_password * and create db sudo postmap hash:/etc/postfix/sasl_password * and restart postfix sudo /etc/init.d/postfix restart * add correct sender address by adding /etc/postfix/main.cf sender_canonical_maps = hash:/etc/postfix/sender_canonical * create db by postmap /etc/postfix/sender_canonical * and restart postfix * add to /etc/postfix/main.cf smtp_tls_security_level = may * restart postfix * test it by mail -s "testbetreff" uwe.heuer@gmx.de < /tmp/testmail.txt * create /etc/init.d/SendMailAtStartup and chmod +x SendMailAtStartup * /etc/init.d/sudo update-rc.d SendMailAtStartup start 20 2 3 4 5 . * /etc/init.d/sudo update-rc.d SendMailAtShutdown stop 20 0 1 6 . To see the mail in queue use mailq If many mails have been queued e.g. because of an error than you can delete all queued mails by su postsuper -d ALL '''Logs''' are in /var/log/mail.err and /var/log/mail.log
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width