Testing SMTP AUTH

Great link to information regarding testing SMTP AUTH:

To test SMTP AUTH I did the following:

[server]# perl -MMIME::Base64 -e ‘print encode_base64(“\000test\@domain.com\000testpassword”)’
AHRlc3RAZG9tYWluLmNvbQB0ZXN0cGFzc3dvcmQ=

[server]# perl -MMIME::Base64 -e ‘print decode_base64(“AHRlc3RAZG9tYWluLmNvbQB0ZXN0cGFzc3dvcmQ=”)’
[email protected]

Then connect to the server and try putting in the above SMTP AUTH details:

[server]# telnet localhost 25
Trying 127.0.0.1…
Connected to localhost (127.0.0.1).
Escape character is ‘^]’.
220 localhost ESMTP
ehlo testing
250-localhost
250-STARTTLS
250-PIPELINING
250 8BITMIME
AUTH PLAIN AHRlc3RAZG9tYWluLmNvbQB0ZXN0cGFzc3dvcmQ=
235 go ahead
quit
221 localhost

URLs:

YUM groups

Oooops, installed too many of the groups during initial GUI installation for a server.

[root@host~]# yum grouplist

Office/Productivity
Administration Tools
Editors
System Tools
Text-based Internet
GNOME Desktop Environment
Authoring and Publishing
Network Servers
Hardware Support
X Window System
Graphics
Web Server
Printing Support
Mail Server
Server Configuration Tools
Graphical Internet

Time to remove some of the rubish:

[root@host~]# yum groupremove ‘Office/Productivity’ ‘GNOME Desktop Environment’ ‘Authoring and Publishing’ ‘X Window System’ ‘Graphics’ ‘Printing Support’ ‘Graphical Internet’
…. pages of stuff ….
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 226 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test

Done. Some other commands that maybe useful:

  • groupinstall group1 [group2] […]
  • groupupdate group1 [group2] […]
  • grouplist [hidden]
  • groupremove group1 [group2] […]
  • groupinfo group1 […]