<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mail &#8211; VeriTeknik</title>
	<atom:link href="https://www.veriteknik.net.tr/en/tag/mail/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.veriteknik.net.tr/en/</link>
	<description>VeriTeknik Bilişim &#124; VeriTeknik Bilişim</description>
	<lastBuildDate>Mon, 06 May 2019 13:05:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Fix Incoming Mail Delay With Postfix</title>
		<link>https://www.veriteknik.net.tr/en/fix-incoming-mail-delay-with-postfix/</link>
					<comments>https://www.veriteknik.net.tr/en/fix-incoming-mail-delay-with-postfix/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Wed, 21 Aug 2013 12:52:37 +0000</pubDate>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=827</guid>

					<description><![CDATA[<p>In our case, we were using postfix via iRedMail and every incoming mail had a delay around 7 minutes. The problem was fixed by disabling the chroot operation in the settings. Edit the file /etc/postfix/master.cf It probably looks like this # ============================================================= # service type private unpriv chroot wakeup maxproc command # (yes) (yes) (yes) [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/fix-incoming-mail-delay-with-postfix/">Fix Incoming Mail Delay With Postfix</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In our case, we were using postfix via <a href="http://www.iredmail.org/" target="_blank">iRedMail</a> and every incoming mail had a delay around 7 minutes. The problem was fixed by disabling the chroot operation in the settings.</p>
<p>Edit the file /etc/postfix/master.cf</p>
<p>It probably looks like this</p>
<pre class="brush: text; gutter: true; first-line: 1"># =============================================================
    # service type  private unpriv  chroot  wakeup  maxproc command
    #               (yes)   (yes)   (yes)   (never) (100)
    # =============================================================
    smtp      inet  n       -       -       -       -       smtpd</pre>
<p>Change it to</p>
<pre class="brush: text; gutter: true; first-line: 1"># =============================================================
    # service type  private unpriv  chroot  wakeup  maxproc command
    #               (yes)   (yes)   (yes)   (never) (100)
    # =============================================================
    smtp      inet  n       -       n       -       -       smtpd</pre>
<p>Now restart and reload the postfix mail server and you&#8217;re good to go.</p>
<pre class="brush: bash; gutter: true; first-line: 1">[root@mail ~]# /etc/init.d/postfix restart
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
[root@mail ~]# /etc/init.d/postfix reload
Reloading postfix:                                         [  OK  ]</pre>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/fix-incoming-mail-delay-with-postfix/">Fix Incoming Mail Delay With Postfix</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/fix-incoming-mail-delay-with-postfix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">827</post-id>	</item>
		<item>
		<title>Change Outgoing IP of Postfix Mail Server</title>
		<link>https://www.veriteknik.net.tr/en/change-outgoing-ip-of-postfix-mail-server/</link>
					<comments>https://www.veriteknik.net.tr/en/change-outgoing-ip-of-postfix-mail-server/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Wed, 21 Aug 2013 12:46:49 +0000</pubDate>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[postfix]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=824</guid>

					<description><![CDATA[<p>This can get quite important when your mail server is blacklisted, or if you somehow want to simply change the outgoing IP address. First of all, check that you DO have another ip address on another interface at the server. Either by ifconfig or anything else. To change the outgoing IP on a postfix mail [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/change-outgoing-ip-of-postfix-mail-server/">Change Outgoing IP of Postfix Mail Server</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This can get quite important when your mail server is blacklisted, or if you somehow want to simply change the outgoing IP address.</p>
<p>First of all, check that you DO have another ip address on another interface at the server. Either by ifconfig or anything else.</p>
<p>To change the outgoing IP on a postfix mail server, edit the file <strong>/etc/postfix/master.cf</strong></p>
<p>Find this part in the file,</p>
<pre class="brush: text; gutter: true; first-line: 1">smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        -o smtp_fallback_relay=</pre>
<p>You should modify it to look like below</p>
<pre class="brush: text; gutter: true; first-line: 1">smtp      unix  -       -       -       -       -       smtp
        -o smtp_bind_address=192.168.1.1
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        -o smtp_bind_address=192.168.1.1
        -o smtp_fallback_relay=</pre>
<p>Of course, change the IP address 192.168.1.1 to whatever your secondary IP is.</p>
<p>Then restart and reload the postfix server.</p>
<pre class="brush: bash; gutter: true; first-line: 1">[root@mail ~]# /etc/init.d/postfix restart
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]
[root@mail ~]# /etc/init.d/postfix reload
Reloading postfix:                                         [  OK  ]</pre>
<p>That&#8217;s it!</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/change-outgoing-ip-of-postfix-mail-server/">Change Outgoing IP of Postfix Mail Server</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/change-outgoing-ip-of-postfix-mail-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">824</post-id>	</item>
		<item>
		<title>Delete Mail From Queue in Exim</title>
		<link>https://www.veriteknik.net.tr/en/delete-mail-from-queue-in-exim/</link>
					<comments>https://www.veriteknik.net.tr/en/delete-mail-from-queue-in-exim/#respond</comments>
		
		<dc:creator><![CDATA[Mustafa Emre Aydın]]></dc:creator>
		<pubDate>Fri, 18 Jan 2013 15:43:58 +0000</pubDate>
				<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[LINUX]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[spam]]></category>
		<guid isPermaLink="false">http://www.plugged.in/?p=767</guid>

					<description><![CDATA[<p>Deleting email from the exim queue is unfortunately not that simple. If you have a massive spammer in your system, you can clear the email originating from them with the command below. exim -bpru &#124; tr '\n' + &#124; sed -e "s/++/=/g" &#124; tr -d + &#124; tr = '\n' &#124; grep "spammer@email.com" &#124; awk [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/delete-mail-from-queue-in-exim/">Delete Mail From Queue in Exim</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Deleting email from the exim queue is unfortunately not that simple. If you have a massive spammer in your system, you can clear the email originating from them with the command below.</p>
<pre class="brush: bash; gutter: true; first-line: 1">exim -bpru | tr '\n' + | sed -e "s/++/=/g" | tr -d + | tr = '\n' | grep "spammer@email.com" | awk {'print $3'} | xargs exim -Mrm</pre>
<p>Simple replace the spammer@email.com address with the potential spammer.<br />
Don&#8217;t forget that this command uses the whole queue list to process. Sometimes if you have hundreds of thousands of email from this spammer in queue, it will get hard to process them all for the system. So instead of using the whole queue list, we can break it down to pieces with the head command.</p>
<p>The command below will break it down to pieces of 5000, so if you have more than 5000, you should run this command several times.</p>
<pre class="brush: bash; gutter: true; first-line: 1">exim -bpru | head -n 5000 | tr '\n' + | sed -e "s/++/=/g" | tr -d + | tr = '\n' | grep "spammer@email.com" | awk {'print $3'} | xargs exim -Mrm</pre>
<p>To delete all mails from the queue, simply use this command.</p>
<pre class="brush: bash; gutter: true; first-line: 1">exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | sh</pre>
<p>The post <a rel="nofollow" href="https://www.veriteknik.net.tr/en/delete-mail-from-queue-in-exim/">Delete Mail From Queue in Exim</a> appeared first on <a rel="nofollow" href="https://www.veriteknik.net.tr/en/">VeriTeknik</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.veriteknik.net.tr/en/delete-mail-from-queue-in-exim/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">767</post-id>	</item>
	</channel>
</rss>
