<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Linux-Noob Forums - SMTP]]></title>
		<link>https://www.linux-noob.com/forums/</link>
		<description><![CDATA[Linux-Noob Forums - https://www.linux-noob.com/forums]]></description>
		<pubDate>Sun, 05 Apr 2026 23:35:30 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Problem with Postfix+Dovecot+MySQL]]></title>
			<link>https://www.linux-noob.com/forums/thread-485.html</link>
			<pubDate>Tue, 13 Apr 2010 21:16:06 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3497">moimel</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-485.html</guid>
			<description><![CDATA[<br />
I installed postfix with dovecot and mysql but I faced some problem...<br />
<br />
 <br />
<br />
First of all it seems like when I am starting the postfix process it's taking 20%wa ...<br />
<br />
 <br />
<br />
Than when i'm  trying to send message from gmail to my mail box it seem to reach fast to the /var/spool/postfix/incoming/... but it's not coming to the defined mail dir in /home/vmail/domain/mailbox... Until I restart the postfix than it shows up there and it happens again and again, sometimes it reachs without restart but it takes quite long time. It's not problem with the server connection or speed because it arrives the spoll directory very fast so it might have somthing with the postfix process that stuck?<br />
<br />
 <br />
<br />
Another thing, when I try to send message to someone like gmail.com or other host it says relay host denied , how do I open all relay host? not just few I set manually.<br />
<br />
 <br />
<br />
Thanks very match!<br />
<br />
 <br />
<br />
Dovecot 1.0.7, Postfix 2.3.3-2.1.centos.mysql_pgsql.x86_64, MYSQL 5, postfixadmin in CentOS 5.0<br />
<br />
 <br />
<br />
This is my postfix config main.cf:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>alias_database = hash:/etc/aliases<br />
alias_maps = hash:/etc/aliases<br />
broken_sasl_auth_clients = yes<br />
command_directory = /usr/sbin<br />
config_directory = /etc/postfix<br />
daemon_directory = /usr/libexec/postfix<br />
debug_peer_level = 2<br />
html_directory = no<br />
inet_interfaces = all<br />
mail_owner = postfix<br />
mailq_path = /usr/bin/mailq.postfix<br />
manpage_directory = /usr/share/man<br />
mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost<br />
mydomain = domain.co.il<br />
myhostname = ns1.domain.co.il<br />
mynetworks = 212.150.122.0/24, 127.0.0.0/8<br />
myorigin = &#36;mydomain<br />
newaliases_path = /usr/bin/newaliases.postfix<br />
queue_directory = /var/spool/postfix<br />
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES<br />
sample_directory = /usr/share/doc/postfix-2.3.3/samples<br />
sendmail_path = /usr/sbin/sendmail.postfix<br />
setgid_group = postdrop<br />
smtp_tls_note_starttls_offer = yes<br />
smtp_use_tls = yes<br />
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination<br />
smtpd_sasl_auth_enable = yes<br />
smtpd_sasl_local_domain = domain.co.il<br />
smtpd_sasl_security_options = noanonymous<br />
smtpd_tls_CAfile = /etc/postfix/ssl/mailserver/cacert.pem<br />
smtpd_tls_key_file = /etc/postfix/ssl/mailserver/smtpd.key<br />
smtpd_tls_loglevel = 1<br />
smtpd_tls_received_header = no<br />
smtpd_tls_session_cache_timeout = 3600s<br />
smtpd_use_tls = yes<br />
tls_random_source = dev:/dev/urandom<br />
unknown_local_recipient_reject_code = 550<br />
virtual_alias_maps = mysql:&#36;config_directory/mysql_virtual_alias_maps.cf<br />
virtual_gid_maps = static:89<br />
virtual_mailbox_base = /home/vmail<br />
virtual_mailbox_domains = mysql:&#36;config_directory/mysql_virtual_domains_maps.cf<br />
virtual_mailbox_maps = mysql:&#36;config_directory/mysql_virtual_mailbox_maps.cf<br />
virtual_minimum_uid = 89<br />
virtual_uid_maps = static:89</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
dovecot.conf:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># 1.0.7: /etc/dovecot.conf<br />
base_dir: /var/run/dovecot/<br />
log_path: /var/log/maillog<br />
login_dir: /var/run/dovecot/login<br />
login_executable(default): /usr/libexec/dovecot/imap-login<br />
login_executable(imap): /usr/libexec/dovecot/imap-login<br />
login_executable(pop3): /usr/libexec/dovecot/pop3-login<br />
first_valid_uid: 89<br />
last_valid_uid: 89<br />
mail_location: mbox:/home/vmail/%d/%n<br />
maildir_copy_with_hardlinks: yes<br />
mail_executable(default): /usr/libexec/dovecot/imap<br />
mail_executable(imap): /usr/libexec/dovecot/imap<br />
mail_executable(pop3): /usr/libexec/dovecot/pop3<br />
mail_plugin_dir(default): /usr/lib64/dovecot/imap<br />
mail_plugin_dir(imap): /usr/lib64/dovecot/imap<br />
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3<br />
auth default:<br />
 passdb:<br />
&nbsp;&nbsp; driver: sql<br />
&nbsp;&nbsp; args: /etc/dovecot-mysql.conf<br />
 userdb:<br />
&nbsp;&nbsp; driver: sql<br />
&nbsp;&nbsp; args: /etc/dovecot-mysql.conf</code></div></div><br />
<br />
<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I installed postfix with dovecot and mysql but I faced some problem...<br />
<br />
 <br />
<br />
First of all it seems like when I am starting the postfix process it's taking 20%wa ...<br />
<br />
 <br />
<br />
Than when i'm  trying to send message from gmail to my mail box it seem to reach fast to the /var/spool/postfix/incoming/... but it's not coming to the defined mail dir in /home/vmail/domain/mailbox... Until I restart the postfix than it shows up there and it happens again and again, sometimes it reachs without restart but it takes quite long time. It's not problem with the server connection or speed because it arrives the spoll directory very fast so it might have somthing with the postfix process that stuck?<br />
<br />
 <br />
<br />
Another thing, when I try to send message to someone like gmail.com or other host it says relay host denied , how do I open all relay host? not just few I set manually.<br />
<br />
 <br />
<br />
Thanks very match!<br />
<br />
 <br />
<br />
Dovecot 1.0.7, Postfix 2.3.3-2.1.centos.mysql_pgsql.x86_64, MYSQL 5, postfixadmin in CentOS 5.0<br />
<br />
 <br />
<br />
This is my postfix config main.cf:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>alias_database = hash:/etc/aliases<br />
alias_maps = hash:/etc/aliases<br />
broken_sasl_auth_clients = yes<br />
command_directory = /usr/sbin<br />
config_directory = /etc/postfix<br />
daemon_directory = /usr/libexec/postfix<br />
debug_peer_level = 2<br />
html_directory = no<br />
inet_interfaces = all<br />
mail_owner = postfix<br />
mailq_path = /usr/bin/mailq.postfix<br />
manpage_directory = /usr/share/man<br />
mydestination = &#36;myhostname, localhost.&#36;mydomain, localhost<br />
mydomain = domain.co.il<br />
myhostname = ns1.domain.co.il<br />
mynetworks = 212.150.122.0/24, 127.0.0.0/8<br />
myorigin = &#36;mydomain<br />
newaliases_path = /usr/bin/newaliases.postfix<br />
queue_directory = /var/spool/postfix<br />
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES<br />
sample_directory = /usr/share/doc/postfix-2.3.3/samples<br />
sendmail_path = /usr/sbin/sendmail.postfix<br />
setgid_group = postdrop<br />
smtp_tls_note_starttls_offer = yes<br />
smtp_use_tls = yes<br />
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination<br />
smtpd_sasl_auth_enable = yes<br />
smtpd_sasl_local_domain = domain.co.il<br />
smtpd_sasl_security_options = noanonymous<br />
smtpd_tls_CAfile = /etc/postfix/ssl/mailserver/cacert.pem<br />
smtpd_tls_key_file = /etc/postfix/ssl/mailserver/smtpd.key<br />
smtpd_tls_loglevel = 1<br />
smtpd_tls_received_header = no<br />
smtpd_tls_session_cache_timeout = 3600s<br />
smtpd_use_tls = yes<br />
tls_random_source = dev:/dev/urandom<br />
unknown_local_recipient_reject_code = 550<br />
virtual_alias_maps = mysql:&#36;config_directory/mysql_virtual_alias_maps.cf<br />
virtual_gid_maps = static:89<br />
virtual_mailbox_base = /home/vmail<br />
virtual_mailbox_domains = mysql:&#36;config_directory/mysql_virtual_domains_maps.cf<br />
virtual_mailbox_maps = mysql:&#36;config_directory/mysql_virtual_mailbox_maps.cf<br />
virtual_minimum_uid = 89<br />
virtual_uid_maps = static:89</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
dovecot.conf:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code># 1.0.7: /etc/dovecot.conf<br />
base_dir: /var/run/dovecot/<br />
log_path: /var/log/maillog<br />
login_dir: /var/run/dovecot/login<br />
login_executable(default): /usr/libexec/dovecot/imap-login<br />
login_executable(imap): /usr/libexec/dovecot/imap-login<br />
login_executable(pop3): /usr/libexec/dovecot/pop3-login<br />
first_valid_uid: 89<br />
last_valid_uid: 89<br />
mail_location: mbox:/home/vmail/%d/%n<br />
maildir_copy_with_hardlinks: yes<br />
mail_executable(default): /usr/libexec/dovecot/imap<br />
mail_executable(imap): /usr/libexec/dovecot/imap<br />
mail_executable(pop3): /usr/libexec/dovecot/pop3<br />
mail_plugin_dir(default): /usr/lib64/dovecot/imap<br />
mail_plugin_dir(imap): /usr/lib64/dovecot/imap<br />
mail_plugin_dir(pop3): /usr/lib64/dovecot/pop3<br />
auth default:<br />
 passdb:<br />
&nbsp;&nbsp; driver: sql<br />
&nbsp;&nbsp; args: /etc/dovecot-mysql.conf<br />
 userdb:<br />
&nbsp;&nbsp; driver: sql<br />
&nbsp;&nbsp; args: /etc/dovecot-mysql.conf</code></div></div><br />
<br />
<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Postfix virtual user transport - help!]]></title>
			<link>https://www.linux-noob.com/forums/thread-610.html</link>
			<pubDate>Sun, 26 Jul 2009 21:32:50 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3048">Dungeon-Dave</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-610.html</guid>
			<description><![CDATA[<br />
Strange issue here, but I'm sure it is possible under Postfix.<br />
<br />
 <br />
<br />
I've been running some mail servers successfully for some time, but now want to tighten up some controls. <br />
<br />
 <br />
<br />
At present, my home machine accepts mail for a few of my domains, filters out local recipient addresses (drops them into local mailboxes) and anything else then hits transport to get forwarded upstream to another mail server. That way, my mails stay local, mails for my mates get forwarded (transport) to our public mail server (and drops into their POP3 mailboxes) and mails with unmatched recipients are bounced by the upstream server.<br />
<br />
 <br />
<br />
Now I want to change things slightly. I want to have a whitelist of valid addresses (like local_recipients) on the home server, and if incoming mails don't match these then immediately reject them. Unfortunately, postfix only sees recipients in my virtual.db and not transport.db, so I get my mails but my mates' are rejected with "User unknown in local recipient table". <br />
<br />
 <br />
<br />
The only workaround I've managed is to flick "local_recipient_maps = " so that postfix won't bounce recipients unlisted in virtual.db.<br />
<br />
 <br />
<br />
So.. anyone shed any light here?<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Strange issue here, but I'm sure it is possible under Postfix.<br />
<br />
 <br />
<br />
I've been running some mail servers successfully for some time, but now want to tighten up some controls. <br />
<br />
 <br />
<br />
At present, my home machine accepts mail for a few of my domains, filters out local recipient addresses (drops them into local mailboxes) and anything else then hits transport to get forwarded upstream to another mail server. That way, my mails stay local, mails for my mates get forwarded (transport) to our public mail server (and drops into their POP3 mailboxes) and mails with unmatched recipients are bounced by the upstream server.<br />
<br />
 <br />
<br />
Now I want to change things slightly. I want to have a whitelist of valid addresses (like local_recipients) on the home server, and if incoming mails don't match these then immediately reject them. Unfortunately, postfix only sees recipients in my virtual.db and not transport.db, so I get my mails but my mates' are rejected with "User unknown in local recipient table". <br />
<br />
 <br />
<br />
The only workaround I've managed is to flick "local_recipient_maps = " so that postfix won't bounce recipients unlisted in virtual.db.<br />
<br />
 <br />
<br />
So.. anyone shed any light here?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[*Help! Certain clients don't receive my emails?* :(]]></title>
			<link>https://www.linux-noob.com/forums/thread-743.html</link>
			<pubDate>Mon, 09 Feb 2009 09:44:22 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=3256">xxsassxx31</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-743.html</guid>
			<description><![CDATA[<br />
Hello all....I use an email blasting software for my clients and newsletter and this is what happened: I was at my mother's house and accidentally used the wrong server (I do my marketing on a diff. smtp server) and after I did that when I sent emails to my mother's email address (with the isp she is with, cox) she would not receive my emails. I called my domain company godaddy and they said there was no problem on their end as I did tests and my emails went through. I called my mom's isp service and they said there was nothing wrong but to email this email address for "blocked" accounts and they never responded but the weird thing is when I send my mother email's, they go through if I send it from the "online backend" of godaddy rather through my MS Outlook. To make things worse...one of my clients who has TimeWarner doesn't receive my emails either!<br />
<br />
 <br />
<br />
<span style="font-family: 'Arial Black';" class="mycode_font">The weird thing is, when the email goes through it shows as it has been sent and I receive no bounced back message! So far I know of only cox and timewarner but I don't know what to do? I looked at all the blacklists that I could online and it seems that our domain is not blocked (from what I know) and this issue has happened with multiple user emails (with the same domain) as for example my gf's outlook account on her computer does the same thing! As I mentioned, it works if I log-in on the backend of godaddy but not through the outlook. I don't know if there is a port being blocked or something that they may have sent somehow to my outlook so they recognize it's me? I know it sounds crazy and I am pretty computer savvy and I don't know what else to do!</span><br />
<br />
<br />
 <br />
<br />
<span style="font-style: italic;" class="mycode_i">Thanks again everyone...I use Outlook 2007 and I know my smtp settings are correct so any input or advice would be GREATLY appreciated. I have done some online research and tried to figure out what the basic steps may be but I really have come to a deadend. This has been happening for about 2-3 weeks now. Thanks again....and hope everyone had a great weekend! </span><br />
<br />
 <br />
<br />
--------------------------------------------------------------------------------<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hello all....I use an email blasting software for my clients and newsletter and this is what happened: I was at my mother's house and accidentally used the wrong server (I do my marketing on a diff. smtp server) and after I did that when I sent emails to my mother's email address (with the isp she is with, cox) she would not receive my emails. I called my domain company godaddy and they said there was no problem on their end as I did tests and my emails went through. I called my mom's isp service and they said there was nothing wrong but to email this email address for "blocked" accounts and they never responded but the weird thing is when I send my mother email's, they go through if I send it from the "online backend" of godaddy rather through my MS Outlook. To make things worse...one of my clients who has TimeWarner doesn't receive my emails either!<br />
<br />
 <br />
<br />
<span style="font-family: 'Arial Black';" class="mycode_font">The weird thing is, when the email goes through it shows as it has been sent and I receive no bounced back message! So far I know of only cox and timewarner but I don't know what to do? I looked at all the blacklists that I could online and it seems that our domain is not blocked (from what I know) and this issue has happened with multiple user emails (with the same domain) as for example my gf's outlook account on her computer does the same thing! As I mentioned, it works if I log-in on the backend of godaddy but not through the outlook. I don't know if there is a port being blocked or something that they may have sent somehow to my outlook so they recognize it's me? I know it sounds crazy and I am pretty computer savvy and I don't know what else to do!</span><br />
<br />
<br />
 <br />
<br />
<span style="font-style: italic;" class="mycode_i">Thanks again everyone...I use Outlook 2007 and I know my smtp settings are correct so any input or advice would be GREATLY appreciated. I have done some online research and tried to figure out what the basic steps may be but I really have come to a deadend. This has been happening for about 2-3 weeks now. Thanks again....and hope everyone had a great weekend! </span><br />
<br />
 <br />
<br />
--------------------------------------------------------------------------------<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Emails not being sent to Hotmail from site]]></title>
			<link>https://www.linux-noob.com/forums/thread-952.html</link>
			<pubDate>Fri, 09 May 2008 11:07:27 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=2852">thehappyappy</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-952.html</guid>
			<description><![CDATA[<br />
I have a strange problem. I have a script that sends out emails and it used to work fine to all email addresses, but I recently moved the site to a dedicated server and now it won't send out emails to any Hotmail accounts. None of the Hotmail accounts have got spam filters on and they all used to get email from the site. All of the script is the same as I say the only difference is the site is now on a dedicated server. Both the old and new servers are RedHat Linux using php5. I went into the php.ini file and all I found for SMTP is:<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>[mail function]; For Win32 only.<br />
<br />
SMTP = localhost<br />
<br />
smtp_port = 25<br />
<br />
 <br />
<br />
; For Win32 only.<br />
<br />
;sendmail_from = me@example.com<br />
<br />
 <br />
<br />
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").<br />
<br />
sendmail_path = /usr/sbin/sendmail -t -i</blockquote>
 <br />
<br />
The send_mail() function is:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;?php<br />
<br />
function send_mail(&#36;to, &#36;from, &#36;subject, &#36;message)<br />
{<br />
global &#36;g;<br />
if (isset(&#36;g['options']['mail_html']) and &#36;g['options']['mail_html'] == "Y") &#36;ct = "text/html";<br />
else &#36;ct = "text/plain";<br />
if (isset(&#36;g['options']['mail_utf8']) and &#36;g['options']['mail_utf8'] == "Y") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers = "From: " . &#36;from . "&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Content-Type: " . &#36;ct . "; charset=utf-8;&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Reply-To: " . &#36;from . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Return-Path: " . &#36;from . ";&#92;n";<br />
} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers = "From: " . &#36;from . "&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Content-Type: " . &#36;ct . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Reply-To: " . &#36;from . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Return-Path: " . &#36;from . ";&#92;n";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
}<br />
if (isset(&#36;g['options']['mail_utf8_subject']) and &#36;g['options']['mail_utf8_subject'] == "Y") &#36;subject = '=?UTF-8?B?'.base64_encode(trim(preg_replace('#[&#92;n&#92;r]+#s', '', &#36;subject)))."?=&#92;n";<br />
mail(&#36;to, &#36;subject, &#36;message, &#36;headers);<br />
}</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
but that all works fine. It's just that the emails aren't being sent to Hotmail addresses.<br />
<br />
I read something about port 25 being blocked and that's why Hotmail addresses aren't receiving the emails, but I've just checked and port 25 is definitely not blocked:<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite># Generated by iptables-save v1.3.5 on Tue May  6 15:45:00 2008*filter<br />
<br />
:INPUT DROP [0:0]<br />
<br />
:FORWARD DROP [0:0]<br />
<br />
:OUTPUT ACCEPT [0:0]<br />
<br />
-A INPUT -i lo -j ACCEPT<br />
<br />
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 443 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 53 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 53 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 69 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 69 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 25 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 110 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 123 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 20 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 21 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 3306 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 3306 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 5555 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 8002 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 9001 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 999 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 1982 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 1983 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -j DROP<br />
<br />
-A OUTPUT -o lo -j ACCEPT<br />
<br />
-A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT<br />
<br />
COMMIT<br />
<br />
# Completed on Tue May  6 15:45:00 2008</blockquote>
]]></description>
			<content:encoded><![CDATA[<br />
I have a strange problem. I have a script that sends out emails and it used to work fine to all email addresses, but I recently moved the site to a dedicated server and now it won't send out emails to any Hotmail accounts. None of the Hotmail accounts have got spam filters on and they all used to get email from the site. All of the script is the same as I say the only difference is the site is now on a dedicated server. Both the old and new servers are RedHat Linux using php5. I went into the php.ini file and all I found for SMTP is:<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>[mail function]; For Win32 only.<br />
<br />
SMTP = localhost<br />
<br />
smtp_port = 25<br />
<br />
 <br />
<br />
; For Win32 only.<br />
<br />
;sendmail_from = me@example.com<br />
<br />
 <br />
<br />
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").<br />
<br />
sendmail_path = /usr/sbin/sendmail -t -i</blockquote>
 <br />
<br />
The send_mail() function is:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;?php<br />
<br />
function send_mail(&#36;to, &#36;from, &#36;subject, &#36;message)<br />
{<br />
global &#36;g;<br />
if (isset(&#36;g['options']['mail_html']) and &#36;g['options']['mail_html'] == "Y") &#36;ct = "text/html";<br />
else &#36;ct = "text/plain";<br />
if (isset(&#36;g['options']['mail_utf8']) and &#36;g['options']['mail_utf8'] == "Y") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers = "From: " . &#36;from . "&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Content-Type: " . &#36;ct . "; charset=utf-8;&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Reply-To: " . &#36;from . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Return-Path: " . &#36;from . ";&#92;n";<br />
} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers = "From: " . &#36;from . "&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Content-Type: " . &#36;ct . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Reply-To: " . &#36;from . ";&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;headers .= "Return-Path: " . &#36;from . ";&#92;n";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
}<br />
if (isset(&#36;g['options']['mail_utf8_subject']) and &#36;g['options']['mail_utf8_subject'] == "Y") &#36;subject = '=?UTF-8?B?'.base64_encode(trim(preg_replace('#[&#92;n&#92;r]+#s', '', &#36;subject)))."?=&#92;n";<br />
mail(&#36;to, &#36;subject, &#36;message, &#36;headers);<br />
}</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
but that all works fine. It's just that the emails aren't being sent to Hotmail addresses.<br />
<br />
I read something about port 25 being blocked and that's why Hotmail addresses aren't receiving the emails, but I've just checked and port 25 is definitely not blocked:<br />
<br />
 <br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite># Generated by iptables-save v1.3.5 on Tue May  6 15:45:00 2008*filter<br />
<br />
:INPUT DROP [0:0]<br />
<br />
:FORWARD DROP [0:0]<br />
<br />
:OUTPUT ACCEPT [0:0]<br />
<br />
-A INPUT -i lo -j ACCEPT<br />
<br />
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 443 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 53 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 53 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 69 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 69 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 25 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 110 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 123 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 20 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 21 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 3306 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p udp -m udp --dport 3306 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 5555 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 8002 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 9001 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 999 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 1982 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -p tcp -m tcp --dport 1983 -m state --state NEW -j ACCEPT<br />
<br />
-A INPUT -j DROP<br />
<br />
-A OUTPUT -o lo -j ACCEPT<br />
<br />
-A OUTPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT<br />
<br />
COMMIT<br />
<br />
# Completed on Tue May  6 15:45:00 2008</blockquote>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Virtual IIS SMTP Server + Iptables]]></title>
			<link>https://www.linux-noob.com/forums/thread-958.html</link>
			<pubDate>Tue, 29 Apr 2008 16:36:05 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=2853">Aeternus</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-958.html</guid>
			<description><![CDATA[<br />
Hi Everyone, first post here!<br />
<br />
 <br />
<br />
I'd like some help with that situation:<br />
<br />
 <br />
<br />
I have a CentOS server running up (Let's say IP: 10.00.00.01)<br />
<br />
Which emulate a Windows 2003 Server which has 2 Network Adapter. Let's say the IP of the IIS SMTP Server is 10.00.00.02.<br />
<br />
 <br />
<br />
Right now, on the 10.00.00.02 server that is a web application running that must send e-mail. The email are being created (they are found in c:\inetpub\mailroot\queue). I'm pretty sure that it's the firewall of the centos that are blocking the mail (iptables).<br />
<br />
 <br />
<br />
After a lots of unsuccesful attempt on iptables i've decided to remove everything that is being related to smtp and port 25 / 110 and ask for help!<br />
<br />
 <br />
<br />
Anyone encountered the same situation and can give me the basis of iptables to allow the mail to be sent?<br />
<br />
 <br />
<br />
Thanks a lot!<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi Everyone, first post here!<br />
<br />
 <br />
<br />
I'd like some help with that situation:<br />
<br />
 <br />
<br />
I have a CentOS server running up (Let's say IP: 10.00.00.01)<br />
<br />
Which emulate a Windows 2003 Server which has 2 Network Adapter. Let's say the IP of the IIS SMTP Server is 10.00.00.02.<br />
<br />
 <br />
<br />
Right now, on the 10.00.00.02 server that is a web application running that must send e-mail. The email are being created (they are found in c:\inetpub\mailroot\queue). I'm pretty sure that it's the firewall of the centos that are blocking the mail (iptables).<br />
<br />
 <br />
<br />
After a lots of unsuccesful attempt on iptables i've decided to remove everything that is being related to smtp and port 25 / 110 and ask for help!<br />
<br />
 <br />
<br />
Anyone encountered the same situation and can give me the basis of iptables to allow the mail to be sent?<br />
<br />
 <br />
<br />
Thanks a lot!<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Postfix bouncing]]></title>
			<link>https://www.linux-noob.com/forums/thread-1021.html</link>
			<pubDate>Mon, 18 Feb 2008 16:57:56 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=644">xDamox</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1021.html</guid>
			<description><![CDATA[<br />
Hello,<br />
<br />
 <br />
<br />
I have recently tried to setup a Postfix machine but every time I try and send an email to the server it bounces:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Feb 18 21:48:09 linux-m899 postfix/pickup[5303]: B924D241BD: uid=1000 from=&lt;damian&gt;<br />
Feb 18 21:48:09 linux-m899 postfix/cleanup[6453]: B924D241BD: message-id=&lt;20080218214809.B924D241BD@linux-m899.site&gt;<br />
Feb 18 21:48:09 linux-m899 postfix/qmgr[5304]: B924D241BD: from=&lt;damian@linux-m899.site&gt;, size=415, nrcpt=1 (queue active)<br />
Feb 18 21:48:09 linux-m899 postfix/smtp[6455]: B924D241BD: to=&lt;root@linux-noob.com&gt;, relay=none, delay=0, status=bounced (mail for linux-noob.com loops back to myself)<br />
Feb 18 21:48:09 linux-m899 postfix/cleanup[6453]: F1181241BC: message-id=&lt;20080218214809.F1181241BC@linux-m899.site&gt;<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: F1181241BC: from=&lt;&gt;, size=2088, nrcpt=1 (queue active)<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: B924D241BD: removed<br />
Feb 18 21:48:10 linux-m899 postfix/local[6458]: F1181241BC: to=&lt;damian@linux-m899.site&gt;, relay=local, delay=1, status=sent (delivered to mailbox)<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: F1181241BC: removed</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
I have also setup DNS for the host:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>linux-m899:/var/lib/named/master # dig MX linux-noob.com<br />
<br />
; &lt;&lt;&gt;&gt; DiG 9.3.4 &lt;&lt;&gt;&gt; MX linux-noob.com<br />
;; global options:&nbsp;&nbsp;printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 31140<br />
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1<br />
<br />
;; QUESTION SECTION:<br />
;linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MX<br />
<br />
;; ANSWER SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20 mail.linux-noob.com.<br />
<br />
;; AUTHORITY SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;linux-noob.com.<br />
<br />
;; ADDITIONAL SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 172.25.147.177<br />
<br />
;; Query time: 9 msec<br />
;; SERVER: 127.0.0.1#53(127.0.0.1)<br />
;; WHEN: Mon Feb 18 21:52:30 2008<br />
;; MSG SIZE&nbsp;&nbsp;rcvd: 83</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
My linux-noob.com.zone file is like:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36;TTL 1W<br />
@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN SOA&nbsp;&nbsp; linux-noob.com.&nbsp;&nbsp;root.linux-noob.com. (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2008021808&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; serial (d. adams)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; refresh<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; retry<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; expiry<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1W )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MX 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail.linux-noob.com.<br />
<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;172.25.147.177<br />
<br />
www&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.<br />
mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Any ideas?<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hello,<br />
<br />
 <br />
<br />
I have recently tried to setup a Postfix machine but every time I try and send an email to the server it bounces:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Feb 18 21:48:09 linux-m899 postfix/pickup[5303]: B924D241BD: uid=1000 from=&lt;damian&gt;<br />
Feb 18 21:48:09 linux-m899 postfix/cleanup[6453]: B924D241BD: message-id=&lt;20080218214809.B924D241BD@linux-m899.site&gt;<br />
Feb 18 21:48:09 linux-m899 postfix/qmgr[5304]: B924D241BD: from=&lt;damian@linux-m899.site&gt;, size=415, nrcpt=1 (queue active)<br />
Feb 18 21:48:09 linux-m899 postfix/smtp[6455]: B924D241BD: to=&lt;root@linux-noob.com&gt;, relay=none, delay=0, status=bounced (mail for linux-noob.com loops back to myself)<br />
Feb 18 21:48:09 linux-m899 postfix/cleanup[6453]: F1181241BC: message-id=&lt;20080218214809.F1181241BC@linux-m899.site&gt;<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: F1181241BC: from=&lt;&gt;, size=2088, nrcpt=1 (queue active)<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: B924D241BD: removed<br />
Feb 18 21:48:10 linux-m899 postfix/local[6458]: F1181241BC: to=&lt;damian@linux-m899.site&gt;, relay=local, delay=1, status=sent (delivered to mailbox)<br />
Feb 18 21:48:10 linux-m899 postfix/qmgr[5304]: F1181241BC: removed</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
I have also setup DNS for the host:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>linux-m899:/var/lib/named/master # dig MX linux-noob.com<br />
<br />
; &lt;&lt;&gt;&gt; DiG 9.3.4 &lt;&lt;&gt;&gt; MX linux-noob.com<br />
;; global options:&nbsp;&nbsp;printcmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 31140<br />
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1<br />
<br />
;; QUESTION SECTION:<br />
;linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MX<br />
<br />
;; ANSWER SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;20 mail.linux-noob.com.<br />
<br />
;; AUTHORITY SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;linux-noob.com.<br />
<br />
;; ADDITIONAL SECTION:<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 604800&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 172.25.147.177<br />
<br />
;; Query time: 9 msec<br />
;; SERVER: 127.0.0.1#53(127.0.0.1)<br />
;; WHEN: Mon Feb 18 21:52:30 2008<br />
;; MSG SIZE&nbsp;&nbsp;rcvd: 83</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
My linux-noob.com.zone file is like:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&#36;TTL 1W<br />
@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN SOA&nbsp;&nbsp; linux-noob.com.&nbsp;&nbsp;root.linux-noob.com. (<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2008021808&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; serial (d. adams)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2D&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; refresh<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; retry<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; expiry<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1W )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MX 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail.linux-noob.com.<br />
<br />
linux-noob.com.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;172.25.147.177<br />
<br />
www&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.<br />
mail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux-noob.com.</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Any ideas?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Setting Up Postfix On Debian Etch]]></title>
			<link>https://www.linux-noob.com/forums/thread-1504.html</link>
			<pubDate>Fri, 23 Mar 2007 15:20:36 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=1398">DustyBin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1504.html</guid>
			<description><![CDATA[<br />
Ive read lots of 'how-tos' on how to do this but none of them worked on there own, I managed to get it working by merging bits of information together and heres how i got it working on Debian Etch, this might work on Debian Sarge too.<br />
<br />
 <br />
<br />
TARGET MACHINE<br />
<br />
 <br />
<br />
apt-get install postfix-tls sasl2-bin libsasl2 libsasl2-modules    &lt;&lt; stuff required for postfix<br />
<br />
 <br />
<br />
apt-get install popa3d    &lt;&lt; this is the pop daemon for downloading mail from server<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/default/saslauthd    and make sure these lines say:<br />
<br />
START=yes<br />
<br />
MECHANISMS="pam"<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/postfix/sasl/smtpd.conf    if this file doesnt exist create it!<br />
<br />
pwcheck_method: saslauthd<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/postfix/main.cf (remove old config, copy and paste everything here but change ******)<br />
<br />
 <br />
<br />
smtpd_banner = &#36;myhostname ESMTP &#36;mail_name (Debian/GNU)<br />
<br />
biff = no<br />
<br />
append_dot_mydomain = no<br />
<br />
myhostname = ******    # make sure this is resolvable (ie use yourmail.net)<br />
<br />
mydomain = ******    # make sure this is resolvable, i got mine working using same as above.<br />
<br />
myorigin = &#36;mydomain<br />
<br />
inet_interfaces = all<br />
<br />
mydestination = &#36;mydomain, localhost.&#36;mydomain, localhost<br />
<br />
mynetworks = 127.0.0.0/8, *.*.*.*/*   # change this to local address + subnet so emails can be relayed out your box<br />
<br />
 <br />
<br />
smtpd_sasl_auth_enable = yes<br />
<br />
smtpd_sasl_security_options = noanonymous<br />
<br />
smtpd_sasl_local_domain = ******     # i used same as 'mydomain' above<br />
<br />
broken_sasl_auth_clients = yes<br />
<br />
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_unverified_sender<br />
<br />
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination<br />
<br />
 <br />
<br />
 <br />
<br />
postfix does a chroot so it can’t communicate with saslauthd. heres how to get round it:<br />
<br />
rm -r /var/run/saslauthd/<br />
<br />
mkdir -p /var/spool/postfix/var/run/saslauthd<br />
<br />
ln -s /var/spool/postfix/var/run/saslauthd /var/run<br />
<br />
chgrp sasl /var/spool/postfix/var/run/saslauthd<br />
<br />
adduser postfix sasl<br />
<br />
 <br />
<br />
 <br />
<br />
add a test user (remember to remove after)<br />
<br />
useradd test<br />
<br />
passwd testpass<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/passwd (so test cannot log in via ssh)<br />
<br />
test:x:1001:1001::/home/test:/bin/false    &lt;&lt;change this to false<br />
<br />
 <br />
<br />
 <br />
<br />
start postfix + saslauthd services<br />
<br />
/etc/init.d/postfix reload<br />
<br />
/etc/init.d/saslauthd start<br />
<br />
 <br />
<br />
 <br />
<br />
TEST POSTFIX CONNECTION WITH TELNET ON REMOTE MACHINE<br />
<br />
 <br />
<br />
We need perl to generate the string for the SASL telnet authentication<br />
<br />
 <br />
<br />
perl -MMIME::Base64 -e 'print encode_base64("testtesttestpass");'    &lt;&lt; change test / testpass accordingly<br />
<br />
dGVzdAB0ZXN0AHRlc3RwYXNz    &lt;&lt; this will be used for authentication on telnet<br />
<br />
 <br />
<br />
 <br />
<br />
telnet postfixmachineip 25<br />
<br />
 <br />
<br />
type 'ehlo localhost'<br />
<br />
you should see something like this:<br />
<br />
 <br />
<br />
250-randallbum.net<br />
<br />
250-PIPELINING<br />
<br />
250-SIZE 10240000<br />
<br />
250-VRFY<br />
<br />
250-ETRN<br />
<br />
250-AUTH LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5<br />
<br />
250-AUTH=LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5<br />
<br />
250-ENHANCEDSTATUSCODES<br />
<br />
250-8BITMIME<br />
<br />
250 DSN<br />
<br />
 <br />
<br />
now enter these commands and see if you get same response:<br />
<br />
 <br />
<br />
AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz<br />
<br />
235 2.0.0 Authentication successful<br />
<br />
 <br />
<br />
MAIL FROM:&lt;anyreal@mailaddress&gt;<br />
<br />
250 2.1.0 Ok<br />
<br />
 <br />
<br />
RCPT TO:&lt;test@yourmail.net&gt;<br />
<br />
250 2.1.5 Ok<br />
<br />
 <br />
<br />
DATA<br />
<br />
354 End data with &lt;CR&gt;&lt;LF&gt;.&lt;CR&gt;&lt;LF&gt;<br />
<br />
This is a test email message, this better f****** work!<br />
<br />
.    &lt;&lt; end message with '.'<br />
<br />
250 2.0.0 Ok: queued as F11F234271<br />
<br />
 <br />
<br />
QUIT<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
POPA3D opens POP port 110 on the post fix server and also authenticates with users on the system the same way as Postfix has been setup to do. You could test this by sending a test email to the test user using the above method then setup a client like 'Evolution' to receive POP mail by putting in these details under 'Receiving Mail'<br />
<br />
 <br />
<br />
Server: postfixmachineip<br />
<br />
 <br />
<br />
Username: test<br />
<br />
 <br />
<br />
Now when you check for new mail it will ask for a password so use 'testpass' if you used method used here.<br />
<br />
 <br />
<br />
And if all went well, you should of received the test email.<br />
<br />
 <br />
<br />
Now you can do the same and put in the SMTP details for 'Sending Email'<br />
<br />
 <br />
<br />
 <br />
<br />
Dont forget to remove user 'test' and put in some real users with strong passwords and disable ssh access if needs be.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Ive read lots of 'how-tos' on how to do this but none of them worked on there own, I managed to get it working by merging bits of information together and heres how i got it working on Debian Etch, this might work on Debian Sarge too.<br />
<br />
 <br />
<br />
TARGET MACHINE<br />
<br />
 <br />
<br />
apt-get install postfix-tls sasl2-bin libsasl2 libsasl2-modules    &lt;&lt; stuff required for postfix<br />
<br />
 <br />
<br />
apt-get install popa3d    &lt;&lt; this is the pop daemon for downloading mail from server<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/default/saslauthd    and make sure these lines say:<br />
<br />
START=yes<br />
<br />
MECHANISMS="pam"<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/postfix/sasl/smtpd.conf    if this file doesnt exist create it!<br />
<br />
pwcheck_method: saslauthd<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/postfix/main.cf (remove old config, copy and paste everything here but change ******)<br />
<br />
 <br />
<br />
smtpd_banner = &#36;myhostname ESMTP &#36;mail_name (Debian/GNU)<br />
<br />
biff = no<br />
<br />
append_dot_mydomain = no<br />
<br />
myhostname = ******    # make sure this is resolvable (ie use yourmail.net)<br />
<br />
mydomain = ******    # make sure this is resolvable, i got mine working using same as above.<br />
<br />
myorigin = &#36;mydomain<br />
<br />
inet_interfaces = all<br />
<br />
mydestination = &#36;mydomain, localhost.&#36;mydomain, localhost<br />
<br />
mynetworks = 127.0.0.0/8, *.*.*.*/*   # change this to local address + subnet so emails can be relayed out your box<br />
<br />
 <br />
<br />
smtpd_sasl_auth_enable = yes<br />
<br />
smtpd_sasl_security_options = noanonymous<br />
<br />
smtpd_sasl_local_domain = ******     # i used same as 'mydomain' above<br />
<br />
broken_sasl_auth_clients = yes<br />
<br />
smtpd_sender_restrictions = reject_unknown_sender_domain, reject_unverified_sender<br />
<br />
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination<br />
<br />
 <br />
<br />
 <br />
<br />
postfix does a chroot so it can’t communicate with saslauthd. heres how to get round it:<br />
<br />
rm -r /var/run/saslauthd/<br />
<br />
mkdir -p /var/spool/postfix/var/run/saslauthd<br />
<br />
ln -s /var/spool/postfix/var/run/saslauthd /var/run<br />
<br />
chgrp sasl /var/spool/postfix/var/run/saslauthd<br />
<br />
adduser postfix sasl<br />
<br />
 <br />
<br />
 <br />
<br />
add a test user (remember to remove after)<br />
<br />
useradd test<br />
<br />
passwd testpass<br />
<br />
 <br />
<br />
 <br />
<br />
edit /etc/passwd (so test cannot log in via ssh)<br />
<br />
test:x:1001:1001::/home/test:/bin/false    &lt;&lt;change this to false<br />
<br />
 <br />
<br />
 <br />
<br />
start postfix + saslauthd services<br />
<br />
/etc/init.d/postfix reload<br />
<br />
/etc/init.d/saslauthd start<br />
<br />
 <br />
<br />
 <br />
<br />
TEST POSTFIX CONNECTION WITH TELNET ON REMOTE MACHINE<br />
<br />
 <br />
<br />
We need perl to generate the string for the SASL telnet authentication<br />
<br />
 <br />
<br />
perl -MMIME::Base64 -e 'print encode_base64("testtesttestpass");'    &lt;&lt; change test / testpass accordingly<br />
<br />
dGVzdAB0ZXN0AHRlc3RwYXNz    &lt;&lt; this will be used for authentication on telnet<br />
<br />
 <br />
<br />
 <br />
<br />
telnet postfixmachineip 25<br />
<br />
 <br />
<br />
type 'ehlo localhost'<br />
<br />
you should see something like this:<br />
<br />
 <br />
<br />
250-randallbum.net<br />
<br />
250-PIPELINING<br />
<br />
250-SIZE 10240000<br />
<br />
250-VRFY<br />
<br />
250-ETRN<br />
<br />
250-AUTH LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5<br />
<br />
250-AUTH=LOGIN PLAIN DIGEST-MD5 NTLM CRAM-MD5<br />
<br />
250-ENHANCEDSTATUSCODES<br />
<br />
250-8BITMIME<br />
<br />
250 DSN<br />
<br />
 <br />
<br />
now enter these commands and see if you get same response:<br />
<br />
 <br />
<br />
AUTH PLAIN dGVzdAB0ZXN0AHRlc3RwYXNz<br />
<br />
235 2.0.0 Authentication successful<br />
<br />
 <br />
<br />
MAIL FROM:&lt;anyreal@mailaddress&gt;<br />
<br />
250 2.1.0 Ok<br />
<br />
 <br />
<br />
RCPT TO:&lt;test@yourmail.net&gt;<br />
<br />
250 2.1.5 Ok<br />
<br />
 <br />
<br />
DATA<br />
<br />
354 End data with &lt;CR&gt;&lt;LF&gt;.&lt;CR&gt;&lt;LF&gt;<br />
<br />
This is a test email message, this better f****** work!<br />
<br />
.    &lt;&lt; end message with '.'<br />
<br />
250 2.0.0 Ok: queued as F11F234271<br />
<br />
 <br />
<br />
QUIT<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
POPA3D opens POP port 110 on the post fix server and also authenticates with users on the system the same way as Postfix has been setup to do. You could test this by sending a test email to the test user using the above method then setup a client like 'Evolution' to receive POP mail by putting in these details under 'Receiving Mail'<br />
<br />
 <br />
<br />
Server: postfixmachineip<br />
<br />
 <br />
<br />
Username: test<br />
<br />
 <br />
<br />
Now when you check for new mail it will ask for a password so use 'testpass' if you used method used here.<br />
<br />
 <br />
<br />
And if all went well, you should of received the test email.<br />
<br />
 <br />
<br />
Now you can do the same and put in the SMTP details for 'Sending Email'<br />
<br />
 <br />
<br />
 <br />
<br />
Dont forget to remove user 'test' and put in some real users with strong passwords and disable ssh access if needs be.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mail server - setup virtual mail boxes]]></title>
			<link>https://www.linux-noob.com/forums/thread-1597.html</link>
			<pubDate>Sat, 10 Feb 2007 16:27:18 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=1562">satimis</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1597.html</guid>
			<description><![CDATA[<br />
Hi folks,<br />
<br />
 <br />
<br />
AMD Athlon54 X2 512Kx2 socket AM2 3800<br />
<br />
slamd64-11.0<br />
<br />
 <br />
<br />
Just completed installing the captioned OS with everything installed except GAME. This is an experiment. slamd64 is now running on the box.<br />
<br />
 <br />
<br />
I'm going to setup virtual mail boxes on this server, allowing my friends using the mail server sending and receiving mails. Please advise;<br />
<br />
 <br />
<br />
1) how to check whether sendmail is running and configured properly.<br />
<br />
2) how to setup virtual mail boxes. Where can I find relevant tutorial.<br />
<br />
 <br />
<br />
TIA<br />
<br />
 <br />
<br />
 <br />
<br />
B.R.<br />
<br />
satimis<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi folks,<br />
<br />
 <br />
<br />
AMD Athlon54 X2 512Kx2 socket AM2 3800<br />
<br />
slamd64-11.0<br />
<br />
 <br />
<br />
Just completed installing the captioned OS with everything installed except GAME. This is an experiment. slamd64 is now running on the box.<br />
<br />
 <br />
<br />
I'm going to setup virtual mail boxes on this server, allowing my friends using the mail server sending and receiving mails. Please advise;<br />
<br />
 <br />
<br />
1) how to check whether sendmail is running and configured properly.<br />
<br />
2) how to setup virtual mail boxes. Where can I find relevant tutorial.<br />
<br />
 <br />
<br />
TIA<br />
<br />
 <br />
<br />
 <br />
<br />
B.R.<br />
<br />
satimis<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mail server fails to receive mails]]></title>
			<link>https://www.linux-noob.com/forums/thread-1625.html</link>
			<pubDate>Thu, 18 Jan 2007 09:21:23 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=1562">satimis</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1625.html</guid>
			<description><![CDATA[<br />
Hi folks,<br />
<br />
 <br />
<br />
Ubuntu-6.06.1-LAMP-server-amd64<br />
<br />
Postfix<br />
<br />
Domain: satimis.com<br />
<br />
 <br />
<br />
 <br />
<br />
My mail server can send mail but failed to received mail.<br />
<br />
 <br />
<br />
Tried sending mail from yahoo.com to "satimis@satimis.com" with following result;<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;satimis@satimis.com&gt;:<br />
64.202.166.11 does not like recipient.<br />
Remote host said: 553 sorry, relaying denied from your location <br />
[66.163.179.83] (#5.7.1)<br />
Giving up on 64.202.166.11.</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
&#36; whois 64.202.166.11<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>OrgName:&nbsp;&nbsp;&nbsp;&nbsp;Go Daddy Software<br />
OrgID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDS-31<br />
Address:&nbsp;&nbsp;&nbsp;&nbsp;14455 N Hayden Road<br />
Address:&nbsp;&nbsp;&nbsp;&nbsp;Suite 226<br />
City:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Scottsdale<br />
StateProv:&nbsp;&nbsp;AZ<br />
PostalCode: 85260<br />
Country:&nbsp;&nbsp;&nbsp;&nbsp;US<br />
<br />
NetRange:&nbsp;&nbsp; 64.202.160.0 - 64.202.191.255<br />
CIDR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 64.202.160.0/19<br />
NetName:&nbsp;&nbsp;&nbsp;&nbsp;GO-DADDY-SOFTWARE-INC<br />
NetHandle:&nbsp;&nbsp;NET-64-202-160-0-1<br />
Parent:&nbsp;&nbsp;&nbsp;&nbsp; NET-64-0-0-0-0<br />
NetType:&nbsp;&nbsp;&nbsp;&nbsp;Direct Allocation<br />
NameServer: CNS1.SECURESERVER.NET<br />
NameServer: CNS2.SECURESERVER.NET<br />
Comment:<br />
RegDate:&nbsp;&nbsp;&nbsp;&nbsp;2002-10-22<br />
Updated:&nbsp;&nbsp;&nbsp;&nbsp;2004-05-24<br />
.....</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
"64.202.166.11" refers to Godaddy, the Registrant<br />
<br />
 <br />
<br />
 <br />
<br />
Total DNS Control on godaddy.com site<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CNAMES (Aliases)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<br />
Host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Points To&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TTL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actions<br />
email &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
mail &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pop.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
webmail &nbsp;&nbsp;&nbsp;&nbsp;webmail.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
smtp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;smtp.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
pop &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pop.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
e &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
www &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
mobilemail &nbsp;&nbsp;&nbsp;&nbsp;mobilemail-v01.prod.mesa1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600<br />
pda &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mobilemail-v01.prod.mesa1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
ftp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
<br />
MX (Mail Exchange)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<br />
Priority&nbsp;&nbsp;&nbsp;&nbsp;Host&nbsp;&nbsp;&nbsp;&nbsp;Goes To&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TTL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actions<br />
0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;smtp.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
10 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailstore1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600<br />
<br />
TXT (Text)</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Please help.  Where I shall look up.  TIA<br />
<br />
 <br />
<br />
 <br />
<br />
B.R.<br />
<br />
satimis<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Hi folks,<br />
<br />
 <br />
<br />
Ubuntu-6.06.1-LAMP-server-amd64<br />
<br />
Postfix<br />
<br />
Domain: satimis.com<br />
<br />
 <br />
<br />
 <br />
<br />
My mail server can send mail but failed to received mail.<br />
<br />
 <br />
<br />
Tried sending mail from yahoo.com to "satimis@satimis.com" with following result;<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>&lt;satimis@satimis.com&gt;:<br />
64.202.166.11 does not like recipient.<br />
Remote host said: 553 sorry, relaying denied from your location <br />
[66.163.179.83] (#5.7.1)<br />
Giving up on 64.202.166.11.</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
&#36; whois 64.202.166.11<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>OrgName:&nbsp;&nbsp;&nbsp;&nbsp;Go Daddy Software<br />
OrgID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GDS-31<br />
Address:&nbsp;&nbsp;&nbsp;&nbsp;14455 N Hayden Road<br />
Address:&nbsp;&nbsp;&nbsp;&nbsp;Suite 226<br />
City:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Scottsdale<br />
StateProv:&nbsp;&nbsp;AZ<br />
PostalCode: 85260<br />
Country:&nbsp;&nbsp;&nbsp;&nbsp;US<br />
<br />
NetRange:&nbsp;&nbsp; 64.202.160.0 - 64.202.191.255<br />
CIDR:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 64.202.160.0/19<br />
NetName:&nbsp;&nbsp;&nbsp;&nbsp;GO-DADDY-SOFTWARE-INC<br />
NetHandle:&nbsp;&nbsp;NET-64-202-160-0-1<br />
Parent:&nbsp;&nbsp;&nbsp;&nbsp; NET-64-0-0-0-0<br />
NetType:&nbsp;&nbsp;&nbsp;&nbsp;Direct Allocation<br />
NameServer: CNS1.SECURESERVER.NET<br />
NameServer: CNS2.SECURESERVER.NET<br />
Comment:<br />
RegDate:&nbsp;&nbsp;&nbsp;&nbsp;2002-10-22<br />
Updated:&nbsp;&nbsp;&nbsp;&nbsp;2004-05-24<br />
.....</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
"64.202.166.11" refers to Godaddy, the Registrant<br />
<br />
 <br />
<br />
 <br />
<br />
Total DNS Control on godaddy.com site<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>CNAMES (Aliases)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<br />
Host&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Points To&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TTL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actions<br />
email &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
mail &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pop.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
webmail &nbsp;&nbsp;&nbsp;&nbsp;webmail.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
smtp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;smtp.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
pop &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pop.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
e &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
www &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
mobilemail &nbsp;&nbsp;&nbsp;&nbsp;mobilemail-v01.prod.mesa1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600<br />
pda &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mobilemail-v01.prod.mesa1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600&nbsp;&nbsp;&nbsp;&nbsp;<br />
ftp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
<br />
MX (Mail Exchange)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<br />
Priority&nbsp;&nbsp;&nbsp;&nbsp;Host&nbsp;&nbsp;&nbsp;&nbsp;Goes To&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TTL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Actions<br />
0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@ &nbsp;&nbsp;&nbsp;&nbsp;smtp.satimis.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3600<br />
10 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;@&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mailstore1.secureserver.net &nbsp;&nbsp;&nbsp;&nbsp;3600<br />
<br />
TXT (Text)</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Please help.  Where I shall look up.  TIA<br />
<br />
 <br />
<br />
 <br />
<br />
B.R.<br />
<br />
satimis<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Setting Up Sendmail]]></title>
			<link>https://www.linux-noob.com/forums/thread-1643.html</link>
			<pubDate>Tue, 09 Jan 2007 13:32:31 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=1654">Michale</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1643.html</guid>
			<description><![CDATA[<br />
I have an FC6 Linux box that I have just installed PHP Nuke on..<br />
<br />
 <br />
<br />
It has been a while since I admin'ed a linux box and I guess I am rusty on how to set up Sendmail.<br />
<br />
 <br />
<br />
No NET mail is getting in or out of my Server and the MailLog shows this:<br />
<br />
 <br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10860]: l09C2TAB010860: from=apache, size=811, class=0, nrcpts=1, msgid=&lt;200701091202.l09C2TAB010860@specialopsdivision.us&gt;, relay=apache@localhost<br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10861]: l09C2Tqj010861: from=&lt;apache@specialopsdivision.us&gt;, size=1003, class=0, nrcpts=1, msgid=&lt;200701091202.l09C2TAB010860@specialopsdivision.us&gt;, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] (may be forged)<br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10860]: l09C2TAB010860: to=bookman2@charter.net, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30811, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l09C2Tqj010861 Message accepted for delivery)<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Tqj010861: to=&lt;bookman2@charter.net&gt;, ctladdr=&lt;apache@specialopsdivision.us&gt; (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=121003, relay=mx00.mail.bellsouth.net. [205.152.58.32], dsn=5.1.1, stat=User unknown<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Tqj010861: l09C2Uqj010863: DSN: User unknown<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Uqj010863: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32262, dsn=2.0.0, stat=Sent<br />
<br />
 <br />
<br />
 <br />
<br />
Can anyone point out what I am doing wrong?<br />
<br />
 <br />
<br />
 <br />
<br />
Thanx<br />
<br />
 <br />
<br />
 <br />
<br />
Michale<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I have an FC6 Linux box that I have just installed PHP Nuke on..<br />
<br />
 <br />
<br />
It has been a while since I admin'ed a linux box and I guess I am rusty on how to set up Sendmail.<br />
<br />
 <br />
<br />
No NET mail is getting in or out of my Server and the MailLog shows this:<br />
<br />
 <br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10860]: l09C2TAB010860: from=apache, size=811, class=0, nrcpts=1, msgid=&lt;200701091202.l09C2TAB010860@specialopsdivision.us&gt;, relay=apache@localhost<br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10861]: l09C2Tqj010861: from=&lt;apache@specialopsdivision.us&gt;, size=1003, class=0, nrcpts=1, msgid=&lt;200701091202.l09C2TAB010860@specialopsdivision.us&gt;, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1] (may be forged)<br />
<br />
Jan  9 07:02:29 specialopsdivision sendmail[10860]: l09C2TAB010860: to=bookman2@charter.net, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30811, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l09C2Tqj010861 Message accepted for delivery)<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Tqj010861: to=&lt;bookman2@charter.net&gt;, ctladdr=&lt;apache@specialopsdivision.us&gt; (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=121003, relay=mx00.mail.bellsouth.net. [205.152.58.32], dsn=5.1.1, stat=User unknown<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Tqj010861: l09C2Uqj010863: DSN: User unknown<br />
<br />
Jan  9 07:02:30 specialopsdivision sendmail[10863]: l09C2Uqj010863: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32262, dsn=2.0.0, stat=Sent<br />
<br />
 <br />
<br />
 <br />
<br />
Can anyone point out what I am doing wrong?<br />
<br />
 <br />
<br />
 <br />
<br />
Thanx<br />
<br />
 <br />
<br />
 <br />
<br />
Michale<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Postfix+Dovecot+mysql]]></title>
			<link>https://www.linux-noob.com/forums/thread-1794.html</link>
			<pubDate>Fri, 29 Sep 2006 19:50:55 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=27">hijinks</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-1794.html</guid>
			<description><![CDATA[<br />
Ok.. so recently I moved photoblog.com off a old crappy server that had cpanel on a nice server that doesn't run cpanel. So I needed a system for virtual hosting for emails mainly. I've setup postfix+mysql+courier before and courier can be a GIANT bitch. So I looked into dovecot and was very happy.<br />
<br />
 <br />
<br />
So lets start off.. lets download <a href="http://high5.net/postfixadmin/" target="_blank" rel="noopener" class="mycode_url">PostfixAdmin</a>. As of writting this you can use the following since its the current version<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz<br />
tar zxfv download.php?file=postfixadmin-2.1.0.tgz<br />
cd postfixadmin-2.1.0</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok my wget saved it as download.php.... your results may vary<br />
<br />
 <br />
<br />
Ok now once its installed we want to import the basic DB layout into mysql. Edit the file if you want to change the user/pass.. but you will have to change it in other files below.. so just take note if you edit it.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mysql -u root &lt; DATABASE_MYSQL.TXT</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
So that command is the default install of mysql that you didn't set a root password on.. use the -p flag if you did<br />
<br />
 <br />
<br />
ok now that the layout is there lets get postfix and dovecot installed. Now the default version of postfix that ships with fedora/centos <span style="font-weight: bold;" class="mycode_b">DOES NOT HAVE MYSQL FUNCTIONALITY BUILT IN</span>. So this will be for centos or rhel you have to install the centos Plus version of it.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget http://mirror.trouble-free.net/centos/4/centosplus/i386/RPMS/postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm<br />
rpm -ivh postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm<br />
yum -y install dovecot</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Ok great all the needed stuff is installed. So lets add a vmail user to the system<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>groupadd -g 901 vmail<br />
useradd -u 901 -g 901 vmail</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Then you want to edit /etc/postfix/main.cf and add this to the bottom. Take a note of /vmail change that to the location you want to store all your email in.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf<br />
virtual_gid_maps = static:901<br />
virtual_mailbox_base = /vmail<br />
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf<br />
virtual_mailbox_limit = 51200000<br />
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf<br />
virtual_minimum_uid = 901<br />
virtual_transport = virtual<br />
virtual_uid_maps = static:901</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_alias_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = alias<br />
select_field = goto<br />
where_field = address</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_domains_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = domain<br />
select_field = domain<br />
where_field = domain<br />
#additional_conditions = and backupmx = '0' and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_mailbox_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = mailbox<br />
select_field = maildir<br />
where_field = username<br />
#additional_conditions = and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_mailbox_limit_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = mailbox<br />
select_field = quota<br />
where_field = username<br />
#additional_conditions = and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_relay_domains_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = domain<br />
select_field = domain<br />
where_field = domain<br />
additional_conditions = and backupmx = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
now save that and lets chown them<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chmod 640 /etc/postfix/mysql_*<br />
chgrp postfix /etc/postfix/mysql_*</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now lets create the /vmail dir and give it the correct permissions<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir /vmail<br />
chmod 771 /vmail<br />
chown vmail:vmail /vmail</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
now lets restart or start postfix in this case we will start it<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>service postfix start</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
If you have sendmail on the machine already a nice little rpm to download is system-switch-mail once download run the command by the same name.. select postfix and it'll be running<br />
<br />
 <br />
<br />
Now go back to the place you untared postfixadmin and point our browser to that location like<br />
<br />
 <br />
<br />
<a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://jyiscool.com/postfixadmin/setup.php]http://jyiscool.com/postfixadmin/setup.php</a><br />
<br />
 <br />
<br />
Make sure you pass all points.. then you want to remove the setup.php file<br />
<br />
 <br />
<br />
Ok now in the postfixadmin dir do this<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd admin</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You need to setup the .htaccess file. So edit .htaccess in that dir and it will look something like this<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>AuthUserFile /some/dir/to/go/mail/admin/.htpasswd<br />
AuthGroupFile /dev/null<br />
AuthName "Postfix Admin"<br />
AuthType Basic<br />
<br />
&lt;limit GET POST&gt;<br />
require valid-user<br />
&lt;/limit&gt;</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You want to change AuthUserFile to the path where that .htpasswd file is that you just put your postfixadmin app.<br />
<br />
 <br />
<br />
Once thats installed delete the file and we will create a new one since we don't want to use the same admin user that is in there by default<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>rm -rf .htpasswd<br />
htpasswd -c .htpasswd username</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now edit the config.inc.php file<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd ..<br />
mv config.inc.php-dist config.inc.php</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Basically you just have to change some defaults to suit your needs.. From there you should be able to access the admin error by entering the user/pass you just made and create a new domain and create some new users..<br />
<br />
 <br />
<br />
Once you have done that you should be able to use the local mail command to send off a test email to make sure its in the /vmail dir<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>echo testing 1 2 3 | mail -s test user@jyiscool.com</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
if you see a /vmail/user@jyiscool.com directory then it worked.. yayaya<br />
<br />
 <br />
<br />
Now I like setting up new services like I like my women.. easy<br />
<br />
 <br />
<br />
So create a new file called /etc/dovecot-mysql.conf with the following contents<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>db_host = 127.0.0.1<br />
db_port = 3306<br />
db = postfix<br />
db_user = postfix<br />
db_passwd = postfix<br />
db_client_flags = 0<br />
default_pass_scheme = PLAIN<br />
password_query = SELECT password FROM mailbox WHERE username = '%u'<br />
user_query = SELECT maildir, 901 AS uid, 901 AS gid FROM mailbox WHERE username = '%u'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Save that and edit the /etc/dovecot.conf  file and add the following at the bottom<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>auth_userdb = mysql /etc/dovecot-mysql.conf<br />
auth_passdb = mysql /etc/dovecot-mysql.conf<br />
first_valid_uid = 501<br />
default_mail_env = maildir:/vmail/%u</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
i also turned off ssl.. I might enable it in the future and append to this howto.. but for now in my dovecot.conf there is ssl_disable = yes<br />
<br />
 <br />
<br />
Now start dovecot<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>service dovecot start</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You should not be able to grab that email you just sent that user via imap/pop3<br />
<br />
 <br />
<br />
Now make sure both get loaded on boot<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chkconfig dovecot on<br />
chkconfig postfix on</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now I am pretty drunk now while doing this so there could be many errors.. deal with it<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
Ok.. so recently I moved photoblog.com off a old crappy server that had cpanel on a nice server that doesn't run cpanel. So I needed a system for virtual hosting for emails mainly. I've setup postfix+mysql+courier before and courier can be a GIANT bitch. So I looked into dovecot and was very happy.<br />
<br />
 <br />
<br />
So lets start off.. lets download <a href="http://high5.net/postfixadmin/" target="_blank" rel="noopener" class="mycode_url">PostfixAdmin</a>. As of writting this you can use the following since its the current version<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget http://high5.net/postfixadmin/download.php?file=postfixadmin-2.1.0.tgz<br />
tar zxfv download.php?file=postfixadmin-2.1.0.tgz<br />
cd postfixadmin-2.1.0</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok my wget saved it as download.php.... your results may vary<br />
<br />
 <br />
<br />
Ok now once its installed we want to import the basic DB layout into mysql. Edit the file if you want to change the user/pass.. but you will have to change it in other files below.. so just take note if you edit it.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mysql -u root &lt; DATABASE_MYSQL.TXT</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
So that command is the default install of mysql that you didn't set a root password on.. use the -p flag if you did<br />
<br />
 <br />
<br />
ok now that the layout is there lets get postfix and dovecot installed. Now the default version of postfix that ships with fedora/centos <span style="font-weight: bold;" class="mycode_b">DOES NOT HAVE MYSQL FUNCTIONALITY BUILT IN</span>. So this will be for centos or rhel you have to install the centos Plus version of it.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>wget http://mirror.trouble-free.net/centos/4/centosplus/i386/RPMS/postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm<br />
rpm -ivh postfix-2.1.5-4.2.RHEL4.mysql.centos4.i386.rpm<br />
yum -y install dovecot</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Ok great all the needed stuff is installed. So lets add a vmail user to the system<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>groupadd -g 901 vmail<br />
useradd -u 901 -g 901 vmail</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Then you want to edit /etc/postfix/main.cf and add this to the bottom. Take a note of /vmail change that to the location you want to store all your email in.<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf<br />
virtual_gid_maps = static:901<br />
virtual_mailbox_base = /vmail<br />
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf<br />
virtual_mailbox_limit = 51200000<br />
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf<br />
virtual_minimum_uid = 901<br />
virtual_transport = virtual<br />
virtual_uid_maps = static:901</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_alias_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = alias<br />
select_field = goto<br />
where_field = address</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_domains_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = domain<br />
select_field = domain<br />
where_field = domain<br />
#additional_conditions = and backupmx = '0' and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_mailbox_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = mailbox<br />
select_field = maildir<br />
where_field = username<br />
#additional_conditions = and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_virtual_mailbox_limit_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = mailbox<br />
select_field = quota<br />
where_field = username<br />
#additional_conditions = and active = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
ok save the file and create a new file in  /etc/postfix/mysql_relay_domains_maps.cf and add the following<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>user = postfix<br />
password = postfix<br />
hosts = localhost<br />
dbname = postfix<br />
table = domain<br />
select_field = domain<br />
where_field = domain<br />
additional_conditions = and backupmx = '1'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
now save that and lets chown them<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chmod 640 /etc/postfix/mysql_*<br />
chgrp postfix /etc/postfix/mysql_*</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now lets create the /vmail dir and give it the correct permissions<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>mkdir /vmail<br />
chmod 771 /vmail<br />
chown vmail:vmail /vmail</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
now lets restart or start postfix in this case we will start it<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>service postfix start</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
If you have sendmail on the machine already a nice little rpm to download is system-switch-mail once download run the command by the same name.. select postfix and it'll be running<br />
<br />
 <br />
<br />
Now go back to the place you untared postfixadmin and point our browser to that location like<br />
<br />
 <br />
<br />
<a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://jyiscool.com/postfixadmin/setup.php" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://jyiscool.com/postfixadmin/setup.php]http://jyiscool.com/postfixadmin/setup.php</a><br />
<br />
 <br />
<br />
Make sure you pass all points.. then you want to remove the setup.php file<br />
<br />
 <br />
<br />
Ok now in the postfixadmin dir do this<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd admin</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You need to setup the .htaccess file. So edit .htaccess in that dir and it will look something like this<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>AuthUserFile /some/dir/to/go/mail/admin/.htpasswd<br />
AuthGroupFile /dev/null<br />
AuthName "Postfix Admin"<br />
AuthType Basic<br />
<br />
&lt;limit GET POST&gt;<br />
require valid-user<br />
&lt;/limit&gt;</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You want to change AuthUserFile to the path where that .htpasswd file is that you just put your postfixadmin app.<br />
<br />
 <br />
<br />
Once thats installed delete the file and we will create a new one since we don't want to use the same admin user that is in there by default<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>rm -rf .htpasswd<br />
htpasswd -c .htpasswd username</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now edit the config.inc.php file<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd ..<br />
mv config.inc.php-dist config.inc.php</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Basically you just have to change some defaults to suit your needs.. From there you should be able to access the admin error by entering the user/pass you just made and create a new domain and create some new users..<br />
<br />
 <br />
<br />
Once you have done that you should be able to use the local mail command to send off a test email to make sure its in the /vmail dir<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>echo testing 1 2 3 | mail -s test user@jyiscool.com</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
if you see a /vmail/user@jyiscool.com directory then it worked.. yayaya<br />
<br />
 <br />
<br />
Now I like setting up new services like I like my women.. easy<br />
<br />
 <br />
<br />
So create a new file called /etc/dovecot-mysql.conf with the following contents<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>db_host = 127.0.0.1<br />
db_port = 3306<br />
db = postfix<br />
db_user = postfix<br />
db_passwd = postfix<br />
db_client_flags = 0<br />
default_pass_scheme = PLAIN<br />
password_query = SELECT password FROM mailbox WHERE username = '%u'<br />
user_query = SELECT maildir, 901 AS uid, 901 AS gid FROM mailbox WHERE username = '%u'</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Save that and edit the /etc/dovecot.conf  file and add the following at the bottom<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>auth_userdb = mysql /etc/dovecot-mysql.conf<br />
auth_passdb = mysql /etc/dovecot-mysql.conf<br />
first_valid_uid = 501<br />
default_mail_env = maildir:/vmail/%u</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
i also turned off ssl.. I might enable it in the future and append to this howto.. but for now in my dovecot.conf there is ssl_disable = yes<br />
<br />
 <br />
<br />
Now start dovecot<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>service dovecot start</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
You should not be able to grab that email you just sent that user via imap/pop3<br />
<br />
 <br />
<br />
Now make sure both get loaded on boot<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>chkconfig dovecot on<br />
chkconfig postfix on</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Now I am pretty drunk now while doing this so there could be many errors.. deal with it<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[setting up mail.blahblah.com]]></title>
			<link>https://www.linux-noob.com/forums/thread-2382.html</link>
			<pubDate>Thu, 13 Oct 2005 11:08:40 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=49">tek-69</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-2382.html</guid>
			<description><![CDATA[<br />
For some reason when i type mail.undergroundinfection.net it sends me to my main page when i want it to take me to undergroundinfection.net/uinmail <br />
<br />
how do i get it to do that and is it in the apache config or is it a dns thing?<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
For some reason when i type mail.undergroundinfection.net it sends me to my main page when i want it to take me to undergroundinfection.net/uinmail <br />
<br />
how do i get it to do that and is it in the apache config or is it a dns thing?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[trouble with qmail ldap]]></title>
			<link>https://www.linux-noob.com/forums/thread-2521.html</link>
			<pubDate>Mon, 01 Aug 2005 02:41:49 +0200</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=49">tek-69</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-2521.html</guid>
			<description><![CDATA[<br />
so i got ldap working and it was onto qmail + ldap via this how-to:<br />
<br />
<a href="http://www.zcentric.com/wiki/tiki-index.php?page=Qmail++Ldap&amp;PHPSESSID=dea518c626211c7338b0db05031b920f" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f]http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f</a><br />
<br />
everything was goin great till the end. when i got to this part:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Now lets test out to see if qmail-ldap sees that new user<br />
/var/qmail/bin/qmail-ldaplookup -m testemail@domain.com<br />
You should get something that looks like your email.ldif file</code></div></div><br />
<br />
<br />
<br />
i instead got the following:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>[root@undergroundinfection /var/qmail/control] /var/qmail/bin/qmail-ldaplookup -m j@undergroundinfection.net<br />
qmail-ldaplookup: fatal: qldap_bind: ldap server down or unreachable</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
thoughts, ideas, possibilities, files needed to help me? I'm stumped and my head feels fried.<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
so i got ldap working and it was onto qmail + ldap via this how-to:<br />
<br />
<a href="http://www.zcentric.com/wiki/tiki-index.php?page=Qmail++Ldap&amp;PHPSESSID=dea518c626211c7338b0db05031b920f" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f]http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f</a><br />
<br />
everything was goin great till the end. when i got to this part:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Now lets test out to see if qmail-ldap sees that new user<br />
/var/qmail/bin/qmail-ldaplookup -m testemail@domain.com<br />
You should get something that looks like your email.ldif file</code></div></div><br />
<br />
<br />
<br />
i instead got the following:<br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>[root@undergroundinfection /var/qmail/control] /var/qmail/bin/qmail-ldaplookup -m j@undergroundinfection.net<br />
qmail-ldaplookup: fatal: qldap_bind: ldap server down or unreachable</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
thoughts, ideas, possibilities, files needed to help me? I'm stumped and my head feels fried.<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KMail with GMAIL]]></title>
			<link>https://www.linux-noob.com/forums/thread-2954.html</link>
			<pubDate>Sat, 01 Jan 2005 22:16:09 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=644">xDamox</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-2954.html</guid>
			<description><![CDATA[<br />
I have tested KMail with gmail and you can recive your messages via POP3<br />
<br />
to enable POP in gmail do the following:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>SETTINGS &gt;&gt; Forwarding and POP</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
and enale POP once you have done this open KMail and goto configure<br />
<br />
KMail select the network icon and then click the reciving tab click add and select POP3<br />
<br />
gmails details is:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Host: pop.gmail.com<br />
Port: 995</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Click the extra tab and tick the use SSL button. once this is done goto file and click check mail or<br />
<br />
Ctrl + L <br />
<br />
 <br />
<br />
Any you are now able to get gmail emails<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
I have tested KMail with gmail and you can recive your messages via POP3<br />
<br />
to enable POP in gmail do the following:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>SETTINGS &gt;&gt; Forwarding and POP</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
and enale POP once you have done this open KMail and goto configure<br />
<br />
KMail select the network icon and then click the reciving tab click add and select POP3<br />
<br />
gmails details is:<br />
<br />
 <br />
<br />
<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>Host: pop.gmail.com<br />
Port: 995</code></div></div><br />
<br />
<br />
<br />
 <br />
<br />
Click the extra tab and tick the use SSL button. once this is done goto file and click check mail or<br />
<br />
Ctrl + L <br />
<br />
 <br />
<br />
Any you are now able to get gmail emails<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Qmail + Ldap + Imap]]></title>
			<link>https://www.linux-noob.com/forums/thread-2991.html</link>
			<pubDate>Thu, 16 Dec 2004 20:31:18 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://www.linux-noob.com/forums/member.php?action=profile&uid=27">hijinks</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.linux-noob.com/forums/thread-2991.html</guid>
			<description><![CDATA[<br />
to continue.. here is a qmail + imap + ldap howto<br />
<br />
 <br />
<br />
<a href="http://www.zcentric.com/wiki/tiki-index.php?page=Qmail++Ldap++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP]http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP</a><br />
<br />
 <br />
<br />
These are way too long to post on a forum.. its much easier to format these in a wiki<br />
<br />
]]></description>
			<content:encoded><![CDATA[<br />
to continue.. here is a qmail + imap + ldap howto<br />
<br />
 <br />
<br />
<a href="http://www.zcentric.com/wiki/tiki-index.php?page=Qmail++Ldap++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url">[/url]<a href="http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url"></a><a href="http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP" target="_blank" rel="noopener" class="mycode_url"></a>[url=http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP]http://www.zcentric.com/wiki/tiki-index.ph...p++Courier+IMAP</a><br />
<br />
 <br />
<br />
These are way too long to post on a forum.. its much easier to format these in a wiki<br />
<br />
]]></content:encoded>
		</item>
	</channel>
</rss>