Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 3rd April 2009, 05:30
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 136
Thanks: 2
Thanked 0 Times in 0 Posts
Default

In the mail logs I see an entries like:

Apr 2 20:11:28 isp postfix/smtpd[24132]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead

THis is the weirded thing. Everything else looks like it is working from what I can tell, but I am not a expert linux/mail server administrator. More of the intermediate type.

MX records are correct.
Reply With Quote
Sponsored Links
  #12  
Old 3rd April 2009, 09:13
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Thats ok, you can ignore it. It just says that thus setting will be removed in a future version of postfix and not that this setting does not work properly in the version that you installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 4th April 2009, 02:25
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 136
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I also see this:

Apr 2 18:00:57 isp postfix/local[22175]: warning: alias database loop for administrator
Apr 2 18:00:57 isp postfix/qmgr[6419]: 41A8098366: removed
Apr 2 18:00:57 isp postfix/bounce[22174]: 41A8098366: sender non-delivery notification: 1C91898372
Apr 2 18:00:57 isp postfix/qmgr[6419]: 1C91898372: from=<>, size=2838, nrcpt=1 (queue active)
Apr 2 18:00:57 isp postfix/cleanup[22170]: 1C91898372: message-id=<20090403010057.1C91898372@isp.kernbits.net>
Apr 2 18:00:57 isp postfix/smtp[22171]: 41A8098366: to=<reason8@att.net>, relay=aln-mailrelay.att.net[12.102.252.75]:25, delay=0.65, delays=0.19/0.11/0.29/0.06, dsn=5.0.
0, status=bounced (host aln-mailrelay.att.net[12.102.252.75] said: 521-76.228.202.193 blocked by sbc:blacklist.mailrelay.att.net. 521 DNSRBL: Blocked for abuse. See http:
//att.net/blocks (in reply to MAIL FROM command))

I checked http://www.spamhaus.org for SBL, XBL, and PBL but it does not show a black list of any sort.
Reply With Quote
  #14  
Old 4th April 2009, 09:18
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Do you run your server on a dsl or calbe line at home or is your server in a datacenter?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 4th April 2009, 09:26
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 136
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I run it at home on dsl with dynamic IP using a ddns client. There is something happening now when I send email from the ispconfig server. I get an error of:

"it was not possible to send this e-mail

SMTP Error: Recipient not accepted. Verify your relay rules

« Back"

This happens when trying to send to an email address out on the internet. It started doing this one or two days ago.

I used a tool to telnet to the ispconfig smtp port 25 and it was successful so I know it is open and not blocked.
Reply With Quote
  #16  
Old 4th April 2009, 09:48
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

All larger email provider are blocking emails that are sent from a dsl line with dynamic IP. So your server is working properly but the providers were you want to send mail to will not accept any mails from your server.

Either you will have to put your server in a datacenter with a fixed IP address or you use a external mail server to relay your email trogh that server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 4th April 2009, 10:34
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 136
Thanks: 2
Thanked 0 Times in 0 Posts
Default

But it was working last week with no problem. Then this week it just stopped. What could explain this?

Also, if I have to set up relaying, how would I go about implementing this? I have a mail relay account but I dont know how to incoporate it into postfix. My relay provider has this information on their website:

This document describes 5 easy steps to setup your Postfix email server as smarthost to relay on DNS Exit mail relay server for all email sending.

The mail relay service from dnsExit.com can be found at here

1. Create password maps file (it assigns username/passwords to specified mail servers). You can choose any name, let's say it is /etc/postfix/relay_passwd. It's content should be as follows:

relay.dnsexit.com USERNAME:PASSWORD

Note: Replace USERNAME and PASSWORD with your DNS EXIT mail relay username and PASSWORD.


2. Set proper permissions for that file:
# chown root:root /etc/postfix/relay_passwd
# chmod 600 /etc/postfix/relay_passwd


3. Create hash from maps file (remember to do it each time you change your maps file):
# postmap /etc/postfix/relay_passwd



4. Configure your /etc/postfix/main.cf:
relayhost = [relay.dnsexit.com]
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
smtp_sasl_security_options =

Note: If your ISP blocks outgoing port 25. You can choose to use alternative SMTP ports by appending the port at the end:
relayhost = [relay.dnsexit.com]:26


5. Reload or restart your postfix:
# /etc/init.d/postfix restart


I set it up this way but I still got the same error. Also, if what you are saying is true, would that stop me from sending emails to other addressed on the same server? For example, I have user@domain1.com and send an email to user@domain2.com (both are hosted on ISPConfig Server. I do not get the mail relay error in isconfig but user@domain2.com does not get the email.

Thanks.

Last edited by reason8; 4th April 2009 at 10:38.
Reply With Quote
  #18  
Old 4th April 2009, 12:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by reason8 View Post
But it was working last week with no problem. Then this week it just stopped. What could explain this?
Please check if your IP is blacklisted: http://mxtoolbox.com/blacklists.aspx

Quote:
Originally Posted by reason8 View Post
Also, if I have to set up relaying, how would I go about implementing this?
http://www.howtoforge.com/postfix_re...her_mailserver

Quote:
Originally Posted by reason8 View Post
Also, if what you are saying is true, would that stop me from sending emails to other addressed on the same server?
No.
Quote:
Originally Posted by reason8 View Post
For example, I have user@domain1.com and send an email to user@domain2.com (both are hosted on ISPConfig Server. I do not get the mail relay error in isconfig but user@domain2.com does not get the email.
Are there any errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 4th April 2009, 19:26
reason8 reason8 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 136
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Please check if your IP is blacklisted:
http://mxtoolbox.com/blacklists.aspx

Does it matter if I am using a dynamic ip and it has changed since this problem occured? I checked and it is not showing blacklist status.

http://www.howtoforge.com/postfix_re...her_mailserver

I'll look into setting up mail relay.

No.
Are there any errors in your mail log?
This is what I have in my mail log file:

Apr 4 10:18:39 isp pop3d: LOGOUT, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53491], top=0, retr=0, rcvd=12, sent=39, time=0
Apr 4 10:18:39 isp pop3d: LOGIN, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53491]
Apr 4 10:18:39 isp pop3d: Connection, ip=[::ffff:192.168.1.5]
Apr 4 10:16:39 isp postfix/qmgr[5333]: 0618C98369: removed
Apr 4 10:16:39 isp postfix/local[15031]: 0618C98369: to=<web2_admin@isp.kernbits.net>, orig_to=<admin@kernbits.com>, relay=local, delay=25, delays=0.2/0.03/0/24, dsn=2
.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Apr 4 10:16:15 isp postfix/qmgr[5333]: 6442F98376: removed
Apr 4 10:16:15 isp postfix/local[15048]: 6442F98376: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.32, delays=0.18/0.04/0/0.1, dsn=2.0.0, status=sent (
delivered to command: /usr/bin/procmail -f-)
Apr 4 10:16:15 isp postfix/qmgr[5333]: 6442F98376: from=<web2_admin@isp.kernbits.net>, size=378, nrcpt=1 (queue active)
Apr 4 10:16:15 isp postfix/cleanup[15030]: 6442F98376: message-id=<20090404171615.6442F98376@isp.kernbits.net>
Apr 4 10:16:15 isp postfix/pickup[13476]: 6442F98376: uid=10002 from=<web2_admin>
Apr 4 10:16:15 isp postfix/smtpd[15026]: disconnect from bay0-omc3-s40.bay0.hotmail.com[65.54.246.240]
Apr 4 10:16:15 isp postfix/qmgr[5333]: 0618C98369: from=<rayv.e@hotmail.com>, size=2183, nrcpt=1 (queue active)
Apr 4 10:16:15 isp postfix/cleanup[15030]: 0618C98369: message-id=<BAY112-W55F90943D6717695034F7E98860@phx.gbl>
Apr 4 10:16:15 isp postfix/smtpd[15026]: 0618C98369: client=bay0-omc3-s40.bay0.hotmail.com[65.54.246.240]
Apr 4 10:16:14 isp postfix/smtpd[15026]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead
Apr 4 10:16:14 isp postfix/smtpd[15026]: connect from bay0-omc3-s40.bay0.hotmail.com[65.54.246.240]
Apr 4 10:13:28 isp postfix/anvil[14823]: statistics: max cache size 1 at Apr 4 10:10:08
Apr 4 10:13:28 isp postfix/anvil[14823]: statistics: max connection count 1 for (smtp:69.147.92.115) at Apr 4 10:10:08
Apr 4 10:13:28 isp postfix/anvil[14823]: statistics: max connection rate 1/60s for (smtp:69.147.92.115) at Apr 4 10:10:08
Apr 4 10:12:39 isp pop3d: LOGOUT, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53415], top=0, retr=0, rcvd=12, sent=39, time=0
Apr 4 10:12:39 isp pop3d: LOGIN, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53415]
Apr 4 10:12:39 isp pop3d: Connection, ip=[::ffff:192.168.1.5]
Apr 4 10:10:31 isp postfix/qmgr[5333]: 3595398369: removed
Apr 4 10:10:31 isp postfix/local[14826]: 3595398369: to=<web2_admin@isp.kernbits.net>, orig_to=<admin@kernbits.com>, relay=local, delay=24, delays=0.27/0.03/0/23, dsn=
2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Apr 4 10:10:30 isp pop3d: LOGOUT, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53410], top=0, retr=0, rcvd=12, sent=39, time=0
Apr 4 10:10:30 isp pop3d: LOGIN, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53410]
Apr 4 10:10:30 isp pop3d: Connection, ip=[::ffff:192.168.1.5]
Apr 4 10:10:26 isp pop3d: LOGOUT, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53406], top=0, retr=0, rcvd=12, sent=39, time=1
Apr 4 10:10:25 isp pop3d: LOGIN, user=web17_fbfg, ip=[::ffff:192.168.1.5], port=[53406]
Apr 4 10:10:25 isp pop3d: Connection, ip=[::ffff:192.168.1.5]
Apr 4 10:10:16 isp pop3d: LOGOUT, user=web25_kernbits, ip=[::1], port=[58720], top=0, retr=0, rcvd=12, sent=88, time=0
Apr 4 10:10:16 isp pop3d: LOGIN, user=web25_kernbits, ip=[::1], port=[58720]
Apr 4 10:10:16 isp pop3d: Connection, ip=[::1]
Apr 4 10:10:08 isp postfix/qmgr[5333]: 9FC7098376: removed
Apr 4 10:10:08 isp postfix/local[14843]: 9FC7098376: to=<admispconfig@localhost.localdomain>, relay=local, delay=0.32, delays=0.16/0.06/0/0.1, dsn=2.0.0, status=sent (
delivered to command: /usr/bin/procmail -f-)
Apr 4 10:10:08 isp postfix/qmgr[5333]: 9FC7098376: from=<web2_admin@isp.kernbits.net>, size=378, nrcpt=1 (queue active)
Apr 4 10:10:08 isp postfix/cleanup[14825]: 9FC7098376: message-id=<20090404171008.9FC7098376@isp.kernbits.net>
Apr 4 10:10:08 isp postfix/pickup[13476]: 9FC7098376: uid=10002 from=<web2_admin>
Apr 4 10:10:08 isp postfix/smtpd[14819]: disconnect from web83910.mail.sp1.yahoo.com[69.147.92.115]
Apr 4 10:10:08 isp postfix/qmgr[5333]: 3595398369: from=<reason8@att.net>, size=1337, nrcpt=1 (queue active)
Apr 4 10:10:08 isp postfix/cleanup[14825]: 3595398369: message-id=<640422.13383.qm@web83910.mail.sp1.yahoo.com>
Apr 4 10:10:08 isp postfix/smtpd[14819]: 3595398369: client=web83910.mail.sp1.yahoo.com[69.147.92.115]
Apr 4 10:10:08 isp postfix/smtpd[14819]: warning: support for restriction "check_relay_domains" will be removed from Postfix; use "reject_unauth_destination" instead

I did find that I can use thunderbird to send mail to my personal account (that I have a registered domain with) using a smtp email account I created on ISPConfig and then retrieve it via thunderbird pop.

I *cannot* receive email to an att email account which is part of my isp service.

I did send email to my hotmail account, and received it, but the mail was sent to my junk mail. So I think ATT is blocking it or something.

But that does not explain why I am not able to send mail from one ISPConfig user account to another ISPConfig user account nor does it explain why I can not receive email at my ISPConfig user account from my email account which I have a personal domain for *or receive email at my ISPConfig account from my att account.

I am completely stumped. Like I said, this was working at the end of march. THe only thing I changed was on my ddns end. I deleted all dns records and recreated them because my dynamic ip was not being updated on there system and I thought it was because I had a wrong configuration.

I appreciate any help you may have to offer.
Reply With Quote
  #20  
Old 5th April 2009, 11:30
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,576
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
 
Default

Please make sure that you enabled the maildir checkbox under management > server > settings in ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 09:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.