
11th March 2010, 22:31
|
|
Member
|
|
Join Date: Feb 2010
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Perfect server Centos 4 (32bit) (my version is centos 4.8) mail problem
I am having problems with my mail server guys can someone help?
Thanks ever so much to everyone for helping me setup this service though as its working wonderfully only not for one slight problem.
After some digging around on the web and sending an email out to an anonymous hotmail address I made say j.smith19810808@hotmail.co.uk (just one I made up to test my smtp server), as I wasnt getting anything in from the same username but googlemail.com.
Its coming up with this message back from hotmails servers:
Quote:
|
Mar 11 20:29:27 centos48 postfix/smtp[28528]: 3FCE6DF4116: to=<j.smith19810808@hotmail.co.uk>, relay=mx3.hotmail.com[65.54.188.110], delay=1, status=bounced (host mx3.hotmail.com[65.54.188.110] said: 550 DY-001 Mail rejected by Windows Live Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. http://www.spamhaus.org maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support (in reply to MAIL FROM command))
|
This is what I suppose is probably the best thing albeit annoying for me, to protect their servers against spammers.
Anyways is there anyway around this problem?
I am obviously as it suggests using a dynamic ip address with virgin media at present, but what would you say is the best solution to get around this?
Could I use mine as say a relay so I send an instruction out to gmail and then get them to send out an email or, something else?
I would appreciate any response.
Kind regards and I look forward to a reply,
Jeremy.
|

12th March 2010, 10:40
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
Use your ISP's smtp server as your smarthost
|

12th March 2010, 16:45
|
|
Member
|
|
Join Date: Feb 2010
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can you help me achieve this?
Sorry I know roughly what their about, mine would basically send off an instruction for them to send it, using my email exampleusername@domain.com yea?
Then the user receives the email and might reply to it using my domain name yea? like user@mydomain.com (just as an example of course).
Getting around this problem, have I got this correct?
How would I set this up?
I am happy though to get errors for now in the development of this server work around but just want to know some steps in converting this over.
Kind regards and I look forward to a reply,
Jeremy.
|

13th March 2010, 13:15
|
|
Member
|
|
Join Date: Feb 2010
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I have tried doing this though on postfix with regards to the main.cf file:
Changed the relayhost from being commented out to:
relayhost = smtp.virginmedia.com
But it brings up the following log message explaining its timed out:
Quote:
Mar 13 12:12:12 centos48 postfix/smtp[20824]: connect to smtp.virginmedia.com[62.254.26.195]: Connection timed out (port 25)
Mar 13 12:12:12 centos48 postfix/smtp[20824]: AD99ADF4126: to=<j.smith19810808@hotmail.co.uk>, relay=none, delay=31, status=deferred (connect to smtp.virginmedia.com[62.254.26.195]: Connection timed out)
|
How do I get around this problem please?
Its a bit weird though as I thought that would work, I may just go and look at my fathers smtp settings on his mail client and copy them over to my server, will this work?
I look forward to a response,
Jeremy.
|

13th March 2010, 13:19
|
|
Senior Member
|
|
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 148 Times in 145 Posts
|
|
It means there is a firewall blocking your server from connecting out on that port.
|

13th March 2010, 13:37
|
|
Member
|
|
Join Date: Feb 2010
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by topdog
It means there is a firewall blocking your server from connecting out on that port.
|
Oh sorry it works now, was using virginmedia.com as the smtp server thats not correct for our IP address at the moment, its actually its old dns name before virgin took over, its actually:
smtp.ntlworld.com and it works, just wanted to check with you my log though:
Quote:
Mar 13 12:25:15 centos48 postfix/smtpd[21435]: connect from unknown[192.168.200.22]
Mar 13 12:25:15 centos48 postfix/smtpd[21435]: C7C0ADF4128: client=unknown[192.168.200.22], sasl_method=LOGIN, sasl_username=jeremy
Mar 13 12:25:15 centos48 postfix/cleanup[21440]: C7C0ADF4128: message-id=<467382A69C0A4EFC9024883A5F1AC006@hsjsmith01>
Mar 13 12:25:15 centos48 postfix/qmgr[21283]: C7C0ADF4128: from=<jeremy@hsmedia.co.uk>, size=2499, nrcpt=1 (queue active)
Mar 13 12:25:15 centos48 postfix/smtpd[21435]: disconnect from unknown[192.168.200.22]
Mar 13 12:25:29 centos48 postfix/smtp[21441]: C7C0ADF4128: to=<j.smith19810808@googlemail.com>, relay=smtp.ntlworld.com[81.103.221.11], delay=14, status=sent (250 Message received: 20100313122528.BQBR22934.aamtaout04-....hsmedia.co.uk)
Mar 13 12:25:29 centos48 postfix/qmgr[21283]: C7C0ADF4128: removed
Mar 13 12:28:35 centos48 postfix/anvil[21438]: statistics: max connection rate 2/60s for (smtp:192.168.200.22) at Mar 13 12:25:15
Mar 13 12:28:35 centos48 postfix/anvil[21438]: statistics: max connection count 1 for (smtp:192.168.200.22) at Mar 13 12:24:40
Mar 13 12:28:35 centos48 postfix/anvil[21438]: statistics: max cache size 1 at Mar 13 12:24:40
Mar 13 12:31:01 centos48 postfix/smtpd[21523]: connect from unknown[192.168.200.22]
Mar 13 12:31:01 centos48 postfix/smtpd[21523]: 19281DF4128: client=unknown[192.168.200.22], sasl_method=LOGIN, sasl_username=jeremy
Mar 13 12:31:01 centos48 postfix/cleanup[21527]: 19281DF4128: message-id=<1CCDABF6EDDD44D981666538C8C6BCCA@hsjsmith01>
Mar 13 12:31:01 centos48 postfix/qmgr[21283]: 19281DF4128: from=<jeremy@hsmedia.co.uk>, size=2223, nrcpt=1 (queue active)
Mar 13 12:31:01 centos48 postfix/smtpd[21523]: disconnect from unknown[192.168.200.22]
Mar 13 12:31:04 centos48 postfix/smtp[21528]: 19281DF4128: to=<j.smith19810808@hotmail.co.uk>, relay=smtp.ntlworld.com[81.103.221.11], delay=3, status=sent (250 Message received: 20100313123103.SZBM2093.aamtaout03-w....hsmedia.co.uk)
Mar 13 12:31:04 centos48 postfix/qmgr[21283]: 19281DF4128: removed
Mar 13 12:32:31 centos48 postfix/smtpd[21523]: connect from c-83-219-209-92.cust.bredband2.com[83.219.209.92]
Mar 13 12:32:32 centos48 postfix/smtpd[21523]: 0BF6CDF4128: client=c-83-219-209-92.cust.bredband2.com[83.219.209.92]
Mar 13 12:32:32 centos48 postfix/cleanup[21527]: 0BF6CDF4128: message-id=<5125378023.E0OG4PNB310983@kxvfcdjcxxnir.xvrsyh qsedxs.com>
Mar 13 12:32:32 centos48 postfix/qmgr[21283]: 0BF6CDF4128: from=<anecdotal@ms66.hinet.net>, size=1038, nrcpt=1 (queue active)
Mar 13 12:32:32 centos48 sendmail[21552]: o2DCWWhe021552: from=jeremy, size=109, class=0, nrcpts=1, msgid=<201003131232.o2DCWWhe021552@centos48.hsmedi a.co.uk>, relay=jeremy@localhost
Mar 13 12:32:32 centos48 postfix/smtpd[21563]: connect from localhost.localdomain[127.0.0.1]
Mar 13 12:32:32 centos48 postfix/smtpd[21563]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Mar 13 12:32:32 centos48 postfix/smtpd[21523]: disconnect from c-83-219-209-92.cust.bredband2.com[83.219.209.92]
Mar 13 12:32:33 centos48 postfix/smtpd[21563]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Mar 13 12:32:33 centos48 sendmail[21552]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Mar 13 12:32:33 centos48 postfix/smtpd[21563]: 15EF5DF4129: client=localhost.localdomain[127.0.0.1], sasl_sender=jeremy@centos48.hsmedia.co.uk
Mar 13 12:32:33 centos48 postfix/cleanup[21527]: 15EF5DF4129: message-id=<201003131232.o2DCWWhe021552@centos48.hsmedia.c o.uk>
Mar 13 12:32:33 centos48 postfix/qmgr[21283]: 15EF5DF4129: from=<jeremy@centos48.hsmedia.co.uk>, size=755, nrcpt=1 (queue active)
Mar 13 12:32:33 centos48 sendmail[21552]: o2DCWWhe021552: to=admispconfig@localhost.localdomain, ctladdr=jeremy (10008/10010), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30109, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 15EF5DF4129)
Mar 13 12:32:33 centos48 postfix/smtpd[21563]: disconnect from localhost.localdomain[127.0.0.1]
Mar 13 12:32:33 centos48 postfix/local[21564]: 15EF5DF4129: to=<admispconfig@localhost.localdomain>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Mar 13 12:32:33 centos48 postfix/qmgr[21283]: 15EF5DF4129: removed
Mar 13 12:32:49 centos48 postfix/local[21547]: 0BF6CDF4128: to=<jeremy@centos48.hsmedia.co.uk>, orig_to=<jeremy@hsmedia.co.uk>, relay=local, delay=17, status=sent (delivered to command: /usr/bin/procmail -f-)
Mar 13 12:32:49 centos48 postfix/qmgr[21283]: 0BF6CDF4128: removed
Mar 13 12:35:52 centos48 postfix/anvil[21525]: statistics: max connection rate 1/60s for (smtp:192.168.200.22) at Mar 13 12:31:01
Mar 13 12:35:52 centos48 postfix/anvil[21525]: statistics: max connection count 1 for (smtp:192.168.200.22) at Mar 13 12:31:01
Mar 13 12:35:52 centos48 postfix/anvil[21525]: statistics: max cache size 1 at Mar 13 12:31:01
Mar 13 12:36:00 centos48 postfix/smtpd[21622]: connect from unknown[41.209.99.123]
Mar 13 12:36:02 centos48 postfix/smtpd[21622]: B6452DF4128: client=unknown[41.209.99.123]
Mar 13 12:36:05 centos48 postfix/cleanup[21626]: B6452DF4128: message-id=<00c301cac2a9$b86133c0$7b63d129@BKBPSKU>
Mar 13 12:36:05 centos48 postfix/qmgr[21283]: B6452DF4128: from=<fsspt@delfi.lv>, size=2057, nrcpt=1 (queue active)
|
It does look like its authenticating properly as per the howto tutorial?
I left it the same as the settings as when I set it up just that I changed the relayhost part of the main.cf file havent changed anything else, as I darent do so lol.
Any advice again is wonderful, thank you so much for your patience with me!
Jeremy.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:09.
|
|
Recent comments
1 day 4 hours ago
1 day 4 hours ago
1 day 9 hours ago
1 day 16 hours ago
1 day 16 hours ago
1 day 18 hours ago
1 day 22 hours ago
2 days 5 hours ago
2 days 8 hours ago
2 days 10 hours ago