Skip to content

Linux web server

Featured Replies

I need a bit of help from anyone with experience in settings up a linux web server running ISPconfig and phplist.

My problem may not be related to those, but im at a loss!!

Deleted

  • Author

I followed the instructions below..

The Perfect Setup - CentOS 5.0 (32-bit) | HowtoForge - Linux Howtos and Tutorials

everything is working great ISPconfig all works fine.

I then installed phplist under a no-ip.com domain, i then configured phplist to use a smtp server at the office. so phplist is hosted at domain1.no-ip.org on my home dsl connection and sends to mail.domain2.com. The problem i have is phplist (my server) will not send email to anyone outside of domain2.

So it will send to [email protected] but wont send to [email protected]. It also does the same if i configure it to use my ISP's smtp.

I have a feeling it is something to do with postfix or DNS but i dont know what im doing. I can post a bit from the postfix mail log that i think may shed some light on the situation.

Deleted

Deleted

  • Author

Jul 16 18:55:51 server sendmail[4710]: l6GHtpXe004710: from=apache, size=7446, class=-60, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost

Jul 16 18:55:51 server postfix/smtpd[4711]: connect from server[127.0.0.1]

Jul 16 18:55:51 server postfix/smtpd[4711]: setting up TLS connection from server[127.0.0.1]

Jul 16 18:55:51 server postfix/smtpd[4711]: TLS connection established from server[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Jul 16 18:55:51 server sendmail[4710]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256

Jul 16 18:55:51 server postfix/smtpd[4711]: 76EF62F8712: client=server[127.0.0.1], [email protected]

Jul 16 18:55:51 server postfix/cleanup[4714]: 76EF62F8712: message-id=<[email protected]>

Jul 16 18:55:51 server postfix/qmgr[2793]: 76EF62F8712: from=, size=8103, nrcpt=1 (queue active)

Jul 16 18:55:51 server sendmail[4710]: l6GHtpXe004710: [email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=145446, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 76EF62F8712)

Jul 16 18:55:51 server postfix/smtpd[4711]: disconnect from server[127.0.0.1]

Jul 16 18:55:51 server sendmail[4716]: l6GHtpYQ004716: from=apache, size=1019, class=-60, nrcpts=1, msgid=<[email protected]>, relay=apache@localhost

Jul 16 18:55:51 server postfix/smtpd[4711]: connect from server[127.0.0.1]

Jul 16 18:55:51 server postfix/smtpd[4711]: setting up TLS connection from server[127.0.0.1]

Jul 16 18:55:51 server postfix/smtpd[4711]: TLS connection established from server[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)

Jul 16 18:55:51 server sendmail[4716]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256

Jul 16 18:55:51 server postfix/smtpd[4711]: A39182F8713: client=server[127.0.0.1], [email protected]

Jul 16 18:55:51 server postfix/cleanup[4714]: A39182F8713: message-id=<[email protected]>

Jul 16 18:55:51 server postfix/qmgr[2793]: A39182F8713: from=, size=1565, nrcpt=1 (queue active)

Jul 16 18:55:51 server sendmail[4716]: l6GHtpYQ004716: [email protected], ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=139019, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A39182F8713)

Jul 16 18:55:51 server postfix/smtpd[4711]: disconnect from server[127.0.0.1]

Jul 16 18:55:52 server postfix/smtp[4715]: certificate verification failed for pinnz.co.uk: num=18:self signed certificate

Jul 16 18:55:52 server postfix/smtp[4717]: certificate verification failed for pinnz.co.uk: num=18:self signed certificate

Jul 16 18:55:52 server postfix/smtp[4715]: 76EF62F8712: to=, relay=pinnz.co.uk[74.52.227.18]:25, delay=1.5, delays=0.06/0.03/0.96/0.43, dsn=5.0.0, status=bounced (host pinnz.co.uk[74.52.227.18] said: 550-Verification failed for 550-unrouteable mail domain "server.localdomain" 550 Sender verify failed (in reply to RCPT TO command))

Jul 16 18:55:53 server postfix/smtp[4717]: A39182F8713: to=, relay=pinnz.co.uk[74.52.227.18]:25, delay=1.3, delays=0.05/0.02/0.92/0.36, dsn=5.0.0, status=bounced (host pinnz.co.uk[74.52.227.18] said: 550-Verification failed for 550-unrouteable mail domain "server.localdomain" 550 Sender verify failed (in reply to RCPT TO command))

Jul 16 18:55:53 server postfix/cleanup[4714]: 3164D2F8716: message-id=<[email protected]>

Jul 16 18:55:53 server postfix/qmgr[2793]: 3164D2F8716: from=<>, size=10192, nrcpt=1 (queue active)

Jul 16 18:55:53 server postfix/bounce[4721]: 76EF62F8712: sender non-delivery notification: 3164D2F8716

Jul 16 18:55:53 server postfix/qmgr[2793]: 76EF62F8712: removed

Jul 16 18:55:53 server postfix/local[4722]: 3164D2F8716: to=, orig_to=, relay=local, delay=0.02, delays=0.01/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)

Jul 16 18:55:53 server postfix/qmgr[2793]: 3164D2F8716: removed

Jul 16 18:55:53 server postfix/cleanup[4714]: 415F82F8712: message-id=<[email protected]>

Jul 16 18:55:53 server postfix/bounce[4721]: A39182F8713: sender non-delivery notification: 415F82F8712

Jul 16 18:55:53 server postfix/qmgr[2793]: 415F82F8712: from=<>, size=3654, nrcpt=1 (queue active)

Jul 16 18:55:53 server postfix/qmgr[2793]: A39182F8713: removed

Jul 16 18:55:53 server postfix/local[4722]: 415F82F8712: to=, orig_to=, relay=local, delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)

Jul 16 18:55:53 server postfix/qmgr[2793]: 415F82F8712: removed

make any sense to you??

from what i can make out the mail server is rejecting my servers connection..

Deleted

  • Author

# Do not remove the following line, or various programs

# that require network functionality will fail.

192.168.0.2 server server.example.com

127.0.0.1 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6

i thought this would be the problem, but i dont know what should be in there..

Deleted

  • Author

i have a no-ip.org domain, will that not do?

Would my hosts file have to be edited for every domain i host on the server?

ie

# Do not remove the following line, or various programs

# that require network functionality will fail.

192.168.0.2 domain1.no-ip.org

192.168.0.2 domain2.no-ip.org

127.0.0.1 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6

  • Author

Brilliant.. its working!

Thank you auroan!!!!!!!!

  • Author

Amazing, it now sends to most domains except hotmail who reject it and the domain its supposed to be sending from.. sort of reversed the problem lol

Deleted

  • Author

yep.. i changed the hosts file so that it looks like this..

# Do not remove the following line, or various programs

# that require network functionality will fail.

192.168.0.2 domain.no-ip.org

127.0.0.1 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6

and it worked, but as i said it no longer sends to the same domain lol

Deleted

  • Author

what would you have changed it to?

Deleted

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.