{"id":717,"date":"2010-05-19T11:21:38","date_gmt":"2010-05-19T04:21:38","guid":{"rendered":"http:\/\/adityo.blog.binusian.org\/?p=717"},"modified":"2010-05-19T11:21:38","modified_gmt":"2010-05-19T04:21:38","slug":"how-to-install-postfix-vm-pop3d-on-opensuse-64-bit","status":"publish","type":"post","link":"https:\/\/adityo.blog.binusian.org\/?p=717","title":{"rendered":"How to install postfix + vm-pop3d on opensuse 64 bit"},"content":{"rendered":"<p>Step by step installation<br \/>\n1.Install postfix<br \/>\n# yast2 -i postfix<\/p>\n<p>2. install Courier-Authlib, Cyrus-SASL<\/p>\n<p># yast2 -i courier-authlib cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd<\/p>\n<p>3. Install vm-pop3d<br \/>\n#wget http:\/\/www.ibiblio.org\/pub\/Linux\/system\/mail\/pop\/vm-pop3d-1.1.6.tar.gz<br \/>\n#tar -zxvf vm-pop3d-1.1.6.tar.gz<br \/>\n#cd vm-pop3d-1.1.6<br \/>\n#.\/configure &amp;&amp; make &amp;&amp; make install<\/p>\n<p>4. Create user using yast<\/p>\n<p>5. Set Config postfix main.cf<\/p>\n<p>inet_protocols = all<br \/>\nbiff = no<br \/>\nsoft_bounce = no<br \/>\nqueue_directory = \/var\/spool\/postfix<br \/>\ncommand_directory = \/usr\/sbin<br \/>\ndaemon_directory = \/usr\/lib\/postfix<br \/>\nmail_owner = postfix<br \/>\ndefault_privs = nobody<br \/>\ninet_interfaces = all<br \/>\nunknown_local_recipient_reject_code = 450<br \/>\ndebug_peer_level = 2<br \/>\ndebugger_command =<br \/>\nPATH=\/bin:\/usr\/bin:\/usr\/local\/bin:\/usr\/X11R6\/bin<br \/>\nxxgdb $daemon_directory\/$process_name $process_id &amp; sleep 5<br \/>\nsendmail_path = \/usr\/sbin\/sendmail<br \/>\nnewaliases_path = \/usr\/bin\/newaliases<br \/>\nmailq_path = \/usr\/bin\/mailq<br \/>\nsetgid_group = maildrop<br \/>\nmanpage_directory = \/usr\/share\/man<br \/>\nsample_directory = \/usr\/share\/doc\/packages\/postfix\/samples<br \/>\nreadme_directory = \/usr\/share\/doc\/packages\/postfix\/README_FILES<br \/>\nmail_spool_directory = \/var\/mail<br \/>\ncanonical_maps = hash:\/etc\/postfix\/canonical<br \/>\nvirtual_maps = hash:\/etc\/postfix\/virtual<br \/>\nrelocated_maps = hash:\/etc\/postfix\/relocated<br \/>\ntransport_maps = hash:\/etc\/postfix\/transport<br \/>\nsender_canonical_maps = hash:\/etc\/postfix\/sender_canonical<br \/>\nmasquerade_exceptions = root<br \/>\nmasquerade_classes = envelope_sender, header_sender, header_recipient<br \/>\nprogram_directory = \/usr\/lib\/postfix<br \/>\nmasquerade_domains =<br \/>\nmydestination = $myhostname, localhost.$mydomain<br \/>\ndefer_transports =<br \/>\ndisable_dns_lookups = no<br \/>\nrelayhost =<br \/>\ncontent_filter =<br \/>\nmailbox_command =<br \/>\nmailbox_transport =<br \/>\nsmtpd_sender_restrictions = hash:\/etc\/postfix\/access<br \/>\nsmtpd_client_restrictions =<br \/>\nsmtpd_helo_required = no<br \/>\nsmtpd_helo_restrictions =<br \/>\nstrict_rfc821_envelopes = no<br \/>\nmynetworks_style = subnet<br \/>\nsmtpd_recipient_restrictions =<br \/>\npermit_mynetworks,permit_sasl_authenticated,reject_unauth_destination<br \/>\nsmtp_sasl_auth_enable = no<br \/>\nsmtpd_sasl_auth_enable = yes<br \/>\nsmtpd_use_tls = no<br \/>\nsmtp_use_tls = no<br \/>\nalias_maps = hash:\/etc\/aliases<br \/>\nmailbox_size_limit = 0<br \/>\nmessage_size_limit = 10240000<br \/>\n#myhostname = linux.local<br \/>\n#change below information as needed<br \/>\nmyhostname = mail.test.com<br \/>\nmynetworks = 11.11.11.11, 127.0.0.1<\/p>\n<p>6. Configure virtual in \/etc\/postfix<br \/>\n# cd \/etc\/postfix\/virtual<br \/>\n# vim virtual<br \/>\ntest.com\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 virtual<br \/>\nadmin@test.com\u00a0\u00a0\u00a0\u00a0 admin<\/p>\n<p># postfix start<br \/>\n# postmap virtual<br \/>\n# postfix reload<\/p>\n<p>7. Start it all<br \/>\n#postfix stop<br \/>\n#postfix start<br \/>\n#\/usr\/sbin\/saslauthd -a shadow<br \/>\n#\/usr\/local\/sbin\/vm-pop3d -d<\/p>\n<p>ERROR<br \/>\n============<br \/>\n1.<br \/>\nGot this error when trying to retrieve pop3<br \/>\nMay 18 15:07:25 linux vm-pop3d[20211]: pam_unix(vm-pop3d:auth):<br \/>\nauthentication<\/p>\n<p>failure; logname= uid=0 euid=0 tty= ruser= rhost=\u00a0 user=help<\/p>\n<p>and when trying to access vm-pop3d<\/p>\n<p># telnet mail.test.com 110<br \/>\nEscape character is &#8216;^]&#8217;.<br \/>\n+OK POP3 Welcome to vm-pop3d 1.1.6<br \/>\nuser admin<br \/>\npass test123<br \/>\n-ERR Bad login<\/p>\n<p>solution<br \/>\ncreate vm-pop3d files on \/etc\/pam.d and add the needed library<br \/>\n#cd \/etc\/pam.d<br \/>\n#vim vm-pop3d<br \/>\nadd this<\/p>\n<p>#%PAM-1.0<br \/>\nauth required \/lib64\/security\/pam_unix.so shadow<br \/>\naccount required \/lib64\/security\/pam_unix.so<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step by step installation 1.Install postfix # yast2 -i postfix 2. install Courier-Authlib, Cyrus-SASL # yast2 -i courier-authlib cyrus-sasl cyrus-sasl-crammd5 cyrus-sasl-digestmd5 cyrus-sasl-gssapi cyrus-sasl-otp cyrus-sasl-plain cyrus-sasl-saslauthd 3. Install vm-pop3d #wget http:\/\/www.ibiblio.org\/pub\/Linux\/system\/mail\/pop\/vm-pop3d-1.1.6.tar.gz #tar -zxvf vm-pop3d-1.1.6.tar.gz #cd vm-pop3d-1.1.6 #.\/configure &amp;&amp; make &amp;&amp; make install 4. Create user using yast 5. Set Config postfix main.cf inet_protocols = all biff [&hellip;]<\/p>\n","protected":false},"author":386,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2640,1360],"tags":[6311],"class_list":["post-717","post","type-post","status-publish","format-standard","hentry","category-opensuse","category-postfix","tag-how-to-install-postfix-vm-pop3d-on-opensuse-64-bit"],"_links":{"self":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/users\/386"}],"replies":[{"embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=717"}],"version-history":[{"count":1,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/717\/revisions"}],"predecessor-version":[{"id":718,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=\/wp\/v2\/posts\/717\/revisions\/718"}],"wp:attachment":[{"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adityo.blog.binusian.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}