PDA

View Full Version : Postfix problems


nenad
22nd November 2005, 18:45
Hi,

I set up fedora Core3 according to the tutorial:
http://www.howtoforge.com/perfect_setup_fedora_core_3
(note: It would be nice that in your really great manual you mention that it is necessery to install zlib 1.2.3 , it would save some timefor first time users)

After that I set up ISP Config according to the:
http://www.ispconfig.org/manual_installation.htm
everything works fine, except:

- I can't read email with email client.

Username is accepted, but it fails on password.

- actually, if my domain name is fast-server.homelinux.com then what's the name of mail server?
Is it mail.fast-server.homelinux.com or pop3.fast-server.homelinux.com or I have to setup that somewhere.

According to the ISPConfig, all servers are running, and scanning of the ports also shows that. Firewall is disabled.

Many thanx in advance,

Nenad

nenad
22nd November 2005, 19:57
If I start UebiMiau from ISPConfig Tools --> Webmail ,
I can sent e-mail , but there's no emails in inbox ?

My login is:
nenad@fast-server.homelinux.com and I can sent email with that account

althought UebiMail proposed it to be:
web2_nenad@fast-server.homelinux.com and I can sent email with that account and login too.

For both accounts, actuall folders are same

web2_nenad is my FTP login

nenad
22nd November 2005, 20:09
When I try to login https://www.fast-server.homelinux.com/mailuser/

First popup window informs certificate contains the same serial number as another certificate, then it informs : "The requested URL was not found on this server."

falko
22nd November 2005, 23:51
- actually, if my domain name is fast-server.homelinux.com then what's the name of mail server?
Is it mail.fast-server.homelinux.com or pop3.fast-server.homelinux.com or I have to setup that somewhere.


You can use any FQDN that points to your server (e.g. fast-server.homelinux.com). You can even use the IP address.

althought UebiMail proposed it to be:
web2_nenad@fast-server.homelinux.com and I can sent email with that account and login too.
You can change web2_nenad@fast-server.homelinux.com to nenad@fast-server.homelinux.com in Uebimiau's settings page.

If I start UebiMiau from ISPConfig Tools --> Webmail ,
I can sent e-mail , but there's no emails in inbox ?
Did you try to send an email to that account? If so, is there anything in the mail log under /var/log?

When I try to login https://www.fast-server.homelinux.com/mailuser/
It has to be https://www.fast-server.homelinux.com:81/mailuser/

nenad
23rd November 2005, 08:32
Thanx for reply,

yes, there's log:
--------------------------

Nov 23 07:00:02 fast-server postfix/smtpd[11862]: disconnect from fast-server.homelinux.com[127.0.0.1]

Nov 23 07:01:42 fast-server ipop3d[12031]: pop3 service init from 64.106.158.130

Nov 23 07:01:43 fast-server ipop3d[12031]: Command stream end of file while reading line user=??? host=cinderella.webceo.com [64.106.158.130]

Nov 23 07:01:45 fast-server postfix/smtpd[11862]: connect from cinderella.webceo.com[64.106.158.130]

Nov 23 07:01:45 fast-server postfix/smtpd[11862]: lost connection after CONNECT from cinderella.webceo.com[64.106.158.130]

Nov 23 07:01:45 fast-server postfix/smtpd[11862]: disconnect from cinderella.webceo.com[64.106.158.130]

Nov 23 07:16:53 fast-server ipop3d[12733]: pop3 service init from 127.0.0.1
Nov 23 07:16:53 fast-server ipop3d[12733]: Command stream end of file while reading line user=??? host=fast-server.homelinux.com [127.0.0.1]

Nov 23 07:17:33 fast-server ipop3d[12744]: pop3 service init from 127.0.0.1

Nov 23 07:17:33 fast-server ipop3d[12744]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0

Nov 23 07:17:33 fast-server ipop3d[12744]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0

Nov 23 07:17:58 fast-server postfix/smtpd[12752]: connect from fast-server.homelinux.com[127.0.0.1]

Nov 23 07:17:58 fast-server postfix/smtpd[12752]: 5386642F3: client=fast-server.homelinux.com[127.0.0.1]

Nov 23 07:17:58 fast-server postfix/cleanup[12755]: 5386642F3: message-id=<20051123061758.5386642F3@fast-server.homelinux.com>

Nov 23 07:17:58 fast-server postfix/qmgr[805]: 5386642F3: from=<nenad@fast-server.homelinux.com>, size=803, nrcpt=1 (queue active)

Nov 23 07:17:58 fast-server postfix/smtpd[12752]: disconnect from fast-server.homelinux.com[127.0.0.1]

Nov 23 07:17:58 fast-server ipop3d[12756]: pop3 service init from 127.0.0.1

Nov 23 07:17:58 fast-server ipop3d[12756]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0

Nov 23 07:17:58 fast-server ipop3d[12756]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0

Nov 23 07:18:13 fast-server postfix/smtp[12757]: 5386642F3: to=<nenad@neobee.net>, relay=mx1.neobee.net[80.74.160.47], delay=15, status=sent (250 OK id=1EenxK-0001eC-8W)

Nov 23 07:18:13 fast-server postfix/qmgr[805]: 5386642F3: removed

nenad
23rd November 2005, 08:35
Nov 23 07:18:13 fast-server postfix/qmgr[805]: 5386642F3: removed
Nov 23 07:30:03 fast-server ipop3d[12983]: pop3 service init from 127.0.0.1
Nov 23 07:30:03 fast-server ipop3d[12983]: Command stream end of file while reading line user=??? host=UNKNOWN
Nov 23 07:30:03 fast-server postfix/smtpd[12980]: connect from fast-server.homelinux.com[127.0.0.1]
Nov 23 07:30:03 fast-server postfix/smtpd[12980]: lost connection after CONNECT from fast-server.homelinux.com[127.0.0.1]
Nov 23 07:30:03 fast-server postfix/smtpd[12980]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 23 07:32:58 fast-server ipop3d[13068]: pop3 service init from 127.0.0.1
Nov 23 07:32:58 fast-server ipop3d[13068]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0
Nov 23 07:32:58 fast-server ipop3d[13068]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0
Nov 23 07:33:02 fast-server ipop3d[13073]: pop3 service init from 127.0.0.1
Nov 23 07:33:02 fast-server ipop3d[13073]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0
Nov 23 07:33:02 fast-server ipop3d[13073]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0

falko
23rd November 2005, 11:09
So you're using ipop3d. ipop3d uses mbox format which measn you have to leave Maildir disabled under Management -> Server -> Settings -> Email in ISPConfig.

nenad
23rd November 2005, 12:14
I followed you recommendatations, but

unoftunatelly, there's still no messages in Inbox of UebiMiau

falko
23rd November 2005, 12:25
Please try to change something (a setting, e.g. the password) in the ISPConfig web interface for the user in question so that the configuration will be rewritten.

nenad
23rd November 2005, 12:42
Yes, I did

Unfortunatelly, I still can't receive emails

falko
23rd November 2005, 13:42
Please post the content of /etc/postfix/main.cf.

nenad
23rd November 2005, 21:06
I hope I didn't miss something:
content of /etc/postfix/main.cf

only uncommented lines are published:
----------------------------------------------

queue_directory = /var/spool/postfix

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix

inet_interfaces = all

unknown_local_recipient_reject_code = 550

debug_peer_level = 2

debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

newaliases_path = /usr/bin/newaliases.postfix

mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

html_directory = no

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.1.5/samples

readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =

permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names

-----------------------------------------------------------------
I also uncommented line:

mydestination = $myhostname, localhost.$mydomain, localhost

nenad
24th November 2005, 05:20
I CAN even sent emails using email client like Outlook expres,

but I can't receive any emails

nenad
24th November 2005, 06:23
This is what's happening when I try to acess mailobox with email client like Outlook express:

Nov 24 05:20:37 fast-server ipop3d[22863]: pop3 service init from 10.40.250.236
Nov 24 05:20:40 fast-server ipop3d[22863]: Command stream end of file while reading line user=nena
d@fast-server.homelinux.com host=[10.40.250.236]
Nov 24 05:20:43 fast-server ipop3d[22864]: pop3 service init from 10.40.250.236
Nov 24 05:20:46 fast-server ipop3d[22864]: Command stream end of file while reading line user=nena
d@fast-server.homelinux.com host=[10.40.250.236]
Nov 24 05:20:53 fast-server ipop3d[22867]: pop3 service init from 10.40.250.236
Nov 24 05:20:57 fast-server ipop3d[22867]: Command stream end of file while reading line user=nena
d@fast-server.homelinux.com host=[10.40.250.236]

nenad
24th November 2005, 06:43
cat /etc/postfix/virtusertable looks like:
-------------------------------------------
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
nenad@www.web-hosting.homelinux.com web3_nenad
web3_nenad@www.web-hosting.homelinux.com web3_nenad
nenad@web-hosting.homelinux.com web3_nenad
web3_nenad@web-hosting.homelinux.com web3_nenad
nenad@www.fast-server.homelinux.com web2_nenad
web2_nenad@www.fast-server.homelinux.com web2_nenad
nenad@fast-server.homelinux.com web2_nenad
web2_nenad@fast-server.homelinux.com web2_nenad
nenad@www.web-hosting-solutions.biz web4_nenad
web4_nenad@www.web-hosting-solutions.biz web4_nenad
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
------------------------------------------------------------------------

cat /etc/postfix/local-host-names looks like:

-------------------------------------------------------------------------
###################################
#
# ISPConfig local-host-names Configuration File
# Version 1.0
#
###################################
localhost
fast-server.homelinux.com
localhost.fast-server.homelinux.com
localhost.homelinux.com
www.web-hosting.homelinux.com
www.fast-server.homelinux.com
www.web-hosting-solutions.biz
web-hosting.homelinux.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE!

nenad
24th November 2005, 06:53
When I set up username to:
web2_nenad

and email to:
web2_nenad@fast-server.homelinux.com


Outlook express doesn't complain any more about bad login, and it looks like that it is checking mailbox.
Unfortunately, there's still no evidence that emails reach inbox.

content of maillog:
---------------------
Nov 24 05:47:32 fast-server ipop3d[23215]: Login user=web2_nenad host=[10.40.250.236] nmsgs=0/0
Nov 24 05:47:32 fast-server ipop3d[23215]: Logout user=web2_nenad host=[10.40.250.236] nmsgs=0 ndele=0
Nov 24 05:47:44 fast-server ipop3d[23218]: pop3 service init from 10.40.250.236
Nov 24 05:47:44 fast-server ipop3d[23218]: Login user=web2_nenad host=[10.40.250.236] nmsgs=0/0
Nov 24 05:47:44 fast-server ipop3d[23218]: Logout user=web2_nenad host=[10.40.250.236] nmsgs=0 ndele=0
Nov 24 05:47:56 fast-server postfix/smtpd[23223]: connect from unknown[10.40.250.236]
Nov 24 05:47:56 fast-server postfix/smtpd[23223]: C53D14185: client=unknown[10.40.250.236]
Nov 24 05:47:56 fast-server postfix/cleanup[23226]: C53D14185: message-id=<001501c5f0b2$3e114010$ecfa280a@p4>
Nov 24 05:47:56 fast-server postfix/qmgr[22346]: C53D14185: from=<web2_nenad@fast-server.homelinux.com>, size=2708, nrcpt=1 (queue active)
Nov 24 05:47:56 fast-server postfix/smtpd[23223]: disconnect from unknown[10.40.250.236]
Nov 24 05:47:59 fast-server ipop3d[23228]: pop3 service init from 10.40.250.236
Nov 24 05:47:59 fast-server ipop3d[23228]: Login user=web2_nenad host=[10.40.250.236] nmsgs=0/0
Nov 24 05:47:59 fast-server ipop3d[23228]: Logout user=web2_nenad host=[10.40.250.236] nmsgs=0 ndele=0
Nov 24 05:47:59 fast-server postfix/smtp[23227]: C53D14185: to=<nenad@neobee.net>, relay=mx1.neobee.net[80.74.160.47], delay=3, status=sent (250 OK id=1Ef91Z-0001WS-TT)
Nov 24 05:47:59 fast-server postfix/qmgr[22346]: C53D14185: removed
Nov 24 05:48:04 fast-server ipop3d[23229]: pop3 service init from 10.40.250.236
Nov 24 05:48:04 fast-server ipop3d[23229]: Login user=web2_nenad host=[10.40.250.236] nmsgs=0/0
Nov 24 05:48:04 fast-server ipop3d[23229]: Logout user=web2_nenad host=[10.40.250.236] nmsgs=0 ndele=0
Nov 24 05:48:16 fast-server ipop3d[23232]: pop3 service init from 10.40.250.236
Nov 24 05:48:16 fast-server ipop3d[23232]: Login user=web2_nenad host=[10.40.250.236] nmsgs=0/0
Nov 24 05:48:16 fast-server ipop3d[23232]: Logout user=web2_nenad host=[10.40.250.236] nmsgs=0 ndele=0
[root@fast-server log]#

nenad
24th November 2005, 07:49
[root@fast-server postfix]# cat main.cf | grep -v \# | sort -u



alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
debugger_command =
debug_peer_level = 2
home_mailbox = Mailbox
html_directory = no
inet_interfaces = all
inet_interfaces = $myhostname, localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = /etc/postfix/local-host-names
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
myhostname = fast-server.homelinux.com
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = no
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_maps = hash:/etc/postfix/virtusertable
xxgdb $daemon_directory/$process_name $process_id & sleep 5

nenad
24th November 2005, 07:59
When I do:

tail -f /var/log/maillog

And then try to send email to postfix , I don't see any changes?
Does emails reach Postfix at all?

falko
24th November 2005, 10:41
When I do:

tail -f /var/log/maillog

And then try to send email to postfix , I don't see any changes?
Does emails reach Postfix at all?
If you don't see any incoming mails in /var/log/maillog, then the mails don't arrive on your system.

Did you forward port 25 from your router to your mail server?

Does fast-server.homelinux.com point to your router's public IP address?

nenad
24th November 2005, 19:43
Well, my public IP is 87.116.140.158 and my local IP is 10.40.239.218

My

/etc/sysconfig/network-scripts/ifcfg-eth0

is

-------------------------------------------
MTU=1500
NETMASK=255.255.0.0
BROADCAST=10.40.255.255
BOOTPROTO=dhcp
IPADDR=""
NETWORK=""
ONBOOT=yes
DEVICE=eth0
--------------------------------------------

I didn't created /etc/sysconfig/network-scripts/ifcfg-eth0:0

Is it necessery to do so?

When I type intp browser https://87.116.140.158:81/ I am directed exctly to my ISPConfig control panel.
(It's shared IP).
When I scan it from outside using that IP I see all of the ports on my server opened (which is one of PC's on my LAN). Or if I scan using domain name fast-server.homelinux.com

I can also FTP using both IP or domain name, or I can SSH using both of them.

It's NAT 1:1 ruter so I guess that 87.116.140.158 is on one side and 10.40.239.218 on the other side.

Are there any settings within ISPConfig that I had to set up?

Mnagement --> Server --> Settings --> DNS ..?
I set up as name server : fast-server.homelinux.com
and I checked "DefaultMX" option.

In DNS settings, for site fast-server.homelinux.com , SOA is fast-server.homelinux.com and IP is 10.40.239.218

In DNS settings A record is:
IP is 10.40.239.218
hostname is www

MX settings is:
mailserver fast-server.homelinux.com
hostname www

and homelinux.com
withouth hostname

-------------------------------------------------------

Last week I installed ISP Config, but before that I had webmin.
I think that there was no problems with retreiving of emails

note: I done clean Fedora + ISP Config install

nenad
24th November 2005, 19:44
This is what I got when I try to send email to new accounts on fast-server.homelinux.com

**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************

The original message was received at Thu, 24 Nov 2005 05:58:57 +0100 (CET)
from [10.40.250.236]

----- Transcript of session follows -----
<web2_nenad@fast-server.homelinux.com>,<web3_nenad@fast-server.homelinux.com>,<web4_nenad@fast-server.homelinux.com>... Deferred: Interrupted system call
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

falko
24th November 2005, 23:16
Well, my public IP is 87.116.140.158 and my local IP is 10.40.239.218
I checked your DNS records, they seem to be ok, they point to 87.116.140.158.


I didn't created /etc/sysconfig/network-scripts/ifcfg-eth0:0

Is it necessery to do so?
No.

Are there any settings within ISPConfig that I had to set up?
No.


Mnagement --> Server --> Settings --> DNS ..?
I set up as name server : fast-server.homelinux.com
and I checked "DefaultMX" option.

In DNS settings, for site fast-server.homelinux.com , SOA is fast-server.homelinux.com and IP is 10.40.239.218

In DNS settings A record is:
IP is 10.40.239.218
hostname is www

MX settings is:
mailserver fast-server.homelinux.com
hostname www

and homelinux.com
withouth hostname


You need not use the DNS Manager of ISPConfig at all because the dyndns.org name servers handle fast-server.homelinux.com.

I've just done a telnet fast-server.homelinux.com 25, and it looks ok.

Try to send a mail to your ISPConfig server and have a look at the mail log if you can find anything related to that email.

nenad
25th November 2005, 06:33
OK,

when I login into ISPConfig, and send email through UebiMiau to root@localhost,
here's what I got:


Nov 25 05:16:26 fast-server postfix/smtpd[13594]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 25 05:16:26 fast-server ipop3d[13599]: pop3 service init from 127.0.0.1
Nov 25 05:16:26 fast-server ipop3d[13599]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1]
nmsgs=0/0
Nov 25 05:16:26 fast-server ipop3d[13599]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1
] nmsgs=0 ndele=0
Nov 25 05:16:27 fast-server postfix/local[13598]: A69D24276: to=<root@localhost.homelinux.com>, orig_to=<ro
ot@localhost>, relay=local, delay=1, status=sent (delivered to mailbox)
Nov 25 05:16:27 fast-server postfix/qmgr[8713]: A69D24276: removed

--------------------------------------------------------------
And email reached inbox for root@localhost

and header is :

From "Nenad - Fast Server" <nenad@fast-server.homelinux.com>
To root@localhost.homelinux.com
Date Fri, 25 Nov 2005 5:09:16 +0100
Subject test

----------------------------------------------------------------------
Strange enough, when I do email chechk with DNS Stuff, evrything seems to be ok?
http://www.dnsstuff.com/tools/mail.ch?domain=nenad%40fast-server.homelinux.com
************************************************** ******
Getting MX record for fast-server.homelinux.com (from local DNS server, may be cached)... Got it!

Host Preference IP(s) [Country]
fast-server.homelinux.com. 5 87.116.140.158 [CS]
fast-server.homelinux.com. 10 87.116.140.158 [CS]

Trying to connect to all mailservers:

fast-server.homelinux.com. - 87.116.140.158 [Successful connect: Got a good response [250 Ok]]
fast-server.homelinux.com. - 87.116.140.158 [Successful connect: Got a good response [250 Ok]]
************************************************** ********
Nov 25 05:25:57 fast-server postfix/smtpd[13737]: connect from test.DNSstuff.com[66.36.241.109]
Nov 25 05:25:58 fast-server postfix/smtpd[13737]: 2CDF34276: client=test.DNSstuff.com[66.36.241.109]
Nov 25 05:25:58 fast-server postfix/smtpd[13737]: disconnect from test.DNSstuff.com[66.36.241.109]
Nov 25 05:25:58 fast-server postfix/smtpd[13737]: connect from test.DNSstuff.com[66.36.241.109]
Nov 25 05:25:59 fast-server postfix/smtpd[13737]: 2CF7F4276: client=test.DNSstuff.com[66.36.241.109]
Nov 25 05:25:59 fast-server postfix/smtpd[13737]: disconnect from test.DNSstuff.com[66.36.241.109]
************************************************** *******
So, it seems it's not a DNS problem.

It looks to me that Postfix accepts connections, but somethings goes wrong when it has to accept email ---> create it on localhost in mailbox

************************************************** *******

Here is what happened when I sent email from UebiMiau:

Nov 25 05:32:27 fast-server postfix/smtpd[13849]: connect from fast-server.homelinux.com[127.0.0.1]
Nov 25 05:32:27 fast-server postfix/smtpd[13849]: 2D24F4276: client=fast-server.homelinux.com[127.0.0.1]
Nov 25 05:32:27 fast-server postfix/cleanup[13851]: 2D24F4276: message-id=<20051125043227.2D24F4276@fast-server.homelinux.com>
Nov 25 05:32:27 fast-server postfix/qmgr[8713]: 2D24F4276: from=<nenad@fast-server.homelinux.com>, size=822, nrcpt=1 (queue active)
Nov 25 05:32:27 fast-server postfix/smtpd[13849]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 25 05:32:27 fast-server ipop3d[13853]: pop3 service init from 127.0.0.1
Nov 25 05:32:27 fast-server ipop3d[13853]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0
Nov 25 05:32:27 fast-server ipop3d[13853]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0
Nov 25 05:32:28 fast-server postfix/smtp[13852]: 2D24F4276: to=<web2_nenad@homelinux.com>, orig_to=<nenad@fast-server.homelinux.com>, relay=mail.dyndns.com[63.208.196.3], delay=1, status=bounced (host mail.dyndns.com[63.208.196.3] said: 550 5.1.1 <web2_nenad@homelinux.com>... User unknown (in reply to RCPT TO command))
Nov 25 05:32:28 fast-server postfix/cleanup[13851]: 5C214427B: message-id=<20051125043228.5C214427B@fast-server.homelinux.com>
Nov 25 05:32:28 fast-server postfix/qmgr[8713]: 2D24F4276: removed
Nov 25 05:32:28 fast-server postfix/qmgr[8713]: 5C214427B: from=<>, size=2956, nrcpt=1 (queue active)
Nov 25 05:32:29 fast-server postfix/smtp[13852]: 5C214427B: to=<web2_nenad@homelinux.com>, orig_to=<nenad@fast-server.homelinux.com>, relay=mail.dyndns.com[63.208.196.3], delay=1, status=bounced (host mail.dyndns.com[63.208.196.3] said: 550 5.1.1 <web2_nenad@homelinux.com>... User unknown (in reply to RCPT TO command))
Nov 25 05:32:29 fast-server postfix/qmgr[8713]: 5C214427B: removed

nenad
25th November 2005, 06:46
Nov 25 05:45:42 fast-server postfix/smtpd[14052]: connect from fast-server.homelinux.com[127.0.0.1]
Nov 25 05:45:42 fast-server postfix/smtpd[14052]: C79AE42DB: client=fast-server.homelinux.com[127.0.0.1]
Nov 25 05:45:42 fast-server postfix/cleanup[14055]: C79AE42DB: message-id=<20051125044542.C79AE42DB@fast-server.homelinux.com>
Nov 25 05:45:42 fast-server postfix/smtpd[14052]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 25 05:45:42 fast-server ipop3d[14056]: pop3 service init from 127.0.0.1
Nov 25 05:45:42 fast-server ipop3d[14056]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0/0
Nov 25 05:45:42 fast-server ipop3d[14056]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=0 ndele=0
Nov 25 05:45:42 fast-server postfix/qmgr[8713]: C79AE42DB: from=<nenad@fast-server.homelinux.com>, size=827, nrcpt=1 (queue active)
Nov 25 05:45:44 fast-server postfix/smtp[14057]: C79AE42DB: to=<web2_nenad@homelinux.com>, orig_to=<web2_nenad@fast-server.homelinux.com>, relay=mail.dyndns.com[63.208.196.3], delay=2, status=bounced (host mail.dyndns.com[63.208.196.3] said: 550 5.1.1 <web2_nenad@homelinux.com>... User unknown (in reply to RCPT TO command))
Nov 25 05:45:44 fast-server postfix/cleanup[14055]: 2A92F42E0: message-id=<20051125044544.2A92F42E0@fast-server.homelinux.com>
Nov 25 05:45:44 fast-server postfix/qmgr[8713]: C79AE42DB: removed
Nov 25 05:45:44 fast-server postfix/qmgr[8713]: 2A92F42E0: from=<>, size=2976, nrcpt=1 (queue active)
Nov 25 05:45:44 fast-server postfix/smtp[14057]: 2A92F42E0: to=<web2_nenad@homelinux.com>, orig_to=<nenad@fast-server.homelinux.com>, relay=mail.dyndns.com[63.208.196.3], delay=0, status=bounced (host mail.dyndns.com[63.208.196.3] said: 550 5.1.1 <web2_nenad@homelinux.com>... User unknown (in reply to RCPT TO command))
Nov 25 05:45:45 fast-server postfix/qmgr[8713]: 2A92F42E0: removed

nenad
25th November 2005, 06:49
Do you see this (when I sent email to my self from UebiMiau):

Nov 25 05:45:44 fast-server postfix/smtp[14057]: C79AE42DB: to=<web2_nenad@homelinux.com>,

There's no user web2_nenad@homelinux.com
It's wrong, it has to be: web2_nenad@fast-server.homelinux.com

So, it's true that that user don't exist:
Nov 25 05:45:44 fast-server postfix/smtp[14057]: 2A92F42E0: to=<web2_nenad@homelinux.com>, orig_to=<nenad@fast-server.homelinux.com>, relay=mail.dyndns.com[63.208.196.3], delay=0, status=bounced (host mail.dyndns.com[63.208.196.3] said: 550 5.1.1 <web2_nenad@homelinux.com>... User unknown (in reply to RCPT TO command))
Nov 25 05:45:45 fast-server postfix/qmgr[8713]: 2A92F42E0: removed

nenad
25th November 2005, 07:02
Try to send a mail to your ISPConfig server and have a look at the mail log if you can find anything related to that email.


Exactly what did you mean by that? Which email is an email of my ISPConfig server? root@localhost?

nenad
25th November 2005, 07:45
This is happenin now:

When I send from UiebiMiau:
to web2_nenad@fast-server.homelinux.com from nenad@fast-server.homelinux.com
-------------------------------------------------------------
Nov 25 06:43:11 fast-server postfix/smtpd[17105]: connect from fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:11 fast-server postfix/smtpd[17105]: 48A0542DF: client=fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:11 fast-server postfix/cleanup[17108]: 48A0542DF: message-id=<20051125054311.48A0542DF@fast-server.homelinux.com>
Nov 25 06:43:11 fast-server postfix/qmgr[16740]: 48A0542DF: from=<nenad@fast-server.homelinux.com>, size=827, nrcpt=1 (queue active)
Nov 25 06:43:11 fast-server postfix/smtpd[17105]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:11 fast-server ipop3d[17249]: pop3 service init from 127.0.0.1
Nov 25 06:43:11 fast-server ipop3d[17249]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Nov 25 06:43:11 fast-server ipop3d[17249]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=2/2
Nov 25 06:43:11 fast-server ipop3d[17249]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Nov 25 06:43:11 fast-server ipop3d[17249]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=2 ndele=0
Nov 25 06:43:11 fast-server sendmail[17255]: jAP5hBoW017255: from=web2_nenad, size=105, class=0, nrcpts=1, msgid=<200511250543.jAP5hBoW017255@fast-server.homelinux.com>, relay=web2_nenad@localhost
Nov 25 06:43:11 fast-server postfix/smtpd[17105]: connect from fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:11 fast-server postfix/smtpd[17105]: setting up TLS connection from fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:12 fast-server postfix/smtpd[17105]: TLS connection established from fast-server.homelinux.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Nov 25 06:43:12 fast-server sendmail[17255]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Nov 25 06:43:12 fast-server postfix/smtpd[17105]: 3150F42E0: client=fast-server.homelinux.com[127.0.0.1], sasl_sender=web2_nenad@fast-server.homelinux.com
Nov 25 06:43:12 fast-server postfix/cleanup[17108]: 3150F42E0: message-id=<200511250543.jAP5hBoW017255@fast-server.homelinux.com>
Nov 25 06:43:12 fast-server postfix/qmgr[16740]: 3150F42E0: from=<web2_nenad@fast-server.homelinux.com>, size=775, nrcpt=1 (queue active)
Nov 25 06:43:12 fast-server sendmail[17255]: jAP5hBoW017255: to=admispconfig@localhost, ctladdr=web2_nenad (10002/10002), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30105, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 3150F42E0)
Nov 25 06:43:12 fast-server postfix/smtpd[17105]: disconnect from fast-server.homelinux.com[127.0.0.1]
Nov 25 06:43:12 fast-server postfix/local[17164]: 48A0542DF: to=<web2_nenad@fast-server.homelinux.com>, relay=local, delay=1, status=sent (delivered to command: /usr/bin/procmail -f-)
Nov 25 06:43:12 fast-server postfix/qmgr[16740]: 48A0542DF: removed
Nov 25 06:43:12 fast-server postfix/local[17118]: 3150F42E0: to=<admispconfig@fast-server.homelinux.com>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Nov 25 06:43:12 fast-server postfix/qmgr[16740]: 3150F42E0: removed

nenad
25th November 2005, 07:46
Nov 25 06:44:38 fast-server ipop3d[17299]: pop3 service init from 127.0.0.1
Nov 25 06:44:38 fast-server ipop3d[17299]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Nov 25 06:44:38 fast-server ipop3d[17299]: Login user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=3/3
Nov 25 06:44:38 fast-server ipop3d[17299]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Nov 25 06:44:38 fast-server ipop3d[17299]: Logout user=web2_nenad host=fast-server.homelinux.com [127.0.0.1] nmsgs=3 ndele=0

nenad
25th November 2005, 08:26
OK, it seems that I can sent localy from

web2_nenad@fast-server.homelinux.com

to

root@fast-server.homelinux.com

when I use UebiMiau or Webmin

I also added in Postfix
Domain mapping lookup tables hash:/etc/postfix/virtual
and
Domains to perform virtual mapping for
virtual

till
25th November 2005, 10:54
OK, it seems that I can sent localy from

web2_nenad@fast-server.homelinux.com

to

root@fast-server.homelinux.com

when I use UebiMiau or Webmin

I also added in Postfix
Domain mapping lookup tables hash:/etc/postfix/virtual
and
Domains to perform virtual mapping for
virtual


If you have ISPConfig installed, the Domain table is /etc/postfix/local-host-names

ISPCOnfig wont work if you specify hash:/etc/postfix/virtual in your main.cf

falko
25th November 2005, 12:52
Exactly what did you mean by that? Which email is an email of my ISPConfig server? root@localhost?
Try to send an email from an external address (e.g. Gmail, Hotmail, ...) to an email address you created in ISPConfig!

From reading your posts I guess you have made a lot of manual changes to your system, especially /etc/postfix/main.cf. It might be a good idea to re-install the system exactly as described in the Perfect Setup and only make manual changes if you know exactly what you're doing.

nenad
25th November 2005, 13:41
OK.
I made changes only after determining that email is not functioning properly.

But I will folow your advice and reinstall everything.

It's anyway testing platform / server, so it's no big deal to re-install erverything OS and ISPConfig.

Thanx for your support.

nenad
25th November 2005, 13:43
Try to send an email from an external address (e.g. Gmail, Hotmail, ...) to an email address you created in ISPConfig!

yes, that's what I am doing all the time.

Here's what I get:

-------------------------------------
Return-Path: <MAILER-DAEMON@ns.sbb.co.yu>
Received: from localhost (localhost)
by ns.sbb.co.yu (8.12.10/8.12.10) id jAP8oIWj000812;
Fri, 25 Nov 2005 09:58:56 +0100 (CET)
Date: Fri, 25 Nov 2005 09:58:56 +0100 (CET)
From: Mail Delivery Subsystem <MAILER-DAEMON@ns.sbb.co.yu>
Message-Id: <200511250858.jAP8oIWj000812@ns.sbb.co.yu>
To: <limitline@ns.sbb.co.yu>
Subject: Warning: could not send message for past 4 hours
Auto-Submitted: auto-generated (warning-timeout)
X-Antivirus: AVG for E-mail 7.1.362 [267.13.7/182]
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=======AVGMAIL-4386F25A49F6======="

--=======AVGMAIL-4386F25A49F6=======
Content-Type: multipart/report; report-type=delivery-status; boundary="jAP8oIWj000812.1132909136/ns.sbb.co.yu"

--jAP8oIWj000812.1132909136/ns.sbb.co.yu
Content-Type: text/plain

**********************************************
** THIS IS A WARNING MESSAGE ONLY **
** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
**********************************************

The original message was received at Fri, 25 Nov 2005 05:54:42 +0100 (CET)
from [10.40.250.236]

----- Transcript of session follows -----
<nenad@fast-server.homelinux.com>... Deferred: Interrupted system call
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

--jAP8oIWj000812.1132909136/ns.sbb.co.yu
Content-Type: message/delivery-status

Reporting-MTA: dns; ns.sbb.co.yu
Arrival-Date: Fri, 25 Nov 2005 05:54:42 +0100 (CET)
Content-Type: text/plain

Final-Recipient: RFC822; nenad@fast-server.homelinux.com
Action: delayed
Status: 4.4.1
Remote-MTA: DNS; fast-server.homelinux.com
Last-Attempt-Date: Fri, 25 Nov 2005 09:58:56 +0100 (CET)
Will-Retry-Until: Wed, 30 Nov 2005 05:54:42 +0100 (CET)

--jAP8oIWj000812.1132909136/ns.sbb.co.yu
Content-Type: message/rfc822

Return-Path: <limitline@ns.sbb.co.yu>
Received: from p4 ([10.40.250.236])
by ns.sbb.co.yu (8.12.10/8.12.10) with SMTP id jAP4sgiS015324
for <nenad@fast-server.homelinux.com>; Fri, 25 Nov 2005 05:54:42 +0100 (CET)
Message-ID: <007601c5f17c$5a1a5100$ecfa280a@p4>
From: "Nenad Bulatovic \(Limit Line DOO\)" <limitline@ns.sbb.co.yu>
To: "Nenad Bulatovic - Fast Server" <nenad@fast-server.homelinux.com>
Subject:
Date: Fri, 25 Nov 2005 05:54:38 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Disposition-Notification-To: "Nenad Bulatovic \(Limit Line DOO\)" <limitline@ns.sbb.co.yu>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-Sbb.co.yu-MailScanner-Information: Please contact the ISP for more information
X-Sbb.co.yu-MailScanner: Found to be clean
X-Sbb.co.yu-MailScanner-From: limitline@ns.sbb.co.yu
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0071_01C5F184.B8C013E0"

------=_NextPart_000_0071_01C5F184.B8C013E0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable


Best regards,
=20
Nenad Bulatovic
=20
"Limit Line" DOO
Bul. Slobodana Jovanovica 48
21000 Novi Sad
Yugoslavia (Serbia & Montenegro)
=20
Tel: +381 21 402 404 (8 - 16h)
Fax: +381 21 402 404 (00 - 24h)
GSM: +381 63 533 629 (08 - 22h) * All times are CEST
e-mail: nenad@neobee.net or limitline@ns.sbb.co.yu
-------------------------------------------------------------------------=
-------------------------------------------
Limit Line - Marketing Agency - Connecting People & Business since 1993
------=_NextPart_000_0071_01C5F184.B8C013E0
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Best regards,<BR>&nbsp;<BR>Nenad=20
Bulatovic<BR>&nbsp;<BR>"Limit Line" DOO<BR>Bul. Slobodana Jovanovica =
48<BR>21000=20
Novi Sad<BR>Yugoslavia (Serbia &amp; Montenegro)<BR>&nbsp;<BR>Tel: +381 =
21 402=20
404 (8 - 16h)<BR>Fax: +381 21 402 404 (00 - 24h)<BR>GSM: +381 63 533 629 =
(08 -=20
22h)&nbsp;&nbsp;&nbsp; * All times are CEST<BR>e-mail: <A=20
href=3D"mailto:nenad@neobee.net">nenad@neobee.net</A> or <A=20
href=3D"mailto:limitline@ns.sbb.co.yu">limitline@ns.sbb.co.yu</A><BR>----=
-------------------------------------------------------------------------=
---------------------------------------<BR>Limit=20
Line - Marketing Agency - Connecting People &amp; Business since=20
1993</FONT></DIV></BODY></HTML>

------=_NextPart_000_0071_01C5F184.B8C013E0--
--jAP8oIWj000812.1132909136/ns.sbb.co.yu--
--=======AVGMAIL-4386F25A49F6=======
Content-Type: text/plain; x-avg=cert; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Content-Description: "AVG certification"

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24-11-2005

--=======AVGMAIL-4386F25A49F6=======--

nenad
25th November 2005, 13:45
If you have ISPConfig installed, the Domain table is /etc/postfix/local-host-names

ISPCOnfig wont work if you specify hash:/etc/postfix/virtual in your main.cf

OK,

I set it up to hash:/etc/postfix/virtual in your main.cf after I noticed that email system is not functioning properly.

Anyway, I will re-install complete system

nenad
27th November 2005, 20:49
OK,

I reinstalled complete OS and ISP Config.

Same problem.
I can sent email.

But I can't receive any emails...?

till
27th November 2005, 20:58
Can you receive emails when you set the smtp server of you mailclient to your server? If not, what message appears in your mail log in the moment you send the email?

nenad
27th November 2005, 21:16
Can you receive emails when you set the smtp server of you mailclient to your server? If not, what message appears in your mail log in the moment you send the email?

I am not quite sure that I understand this.

OK, when I send email (using email client (Outlook express), from another PC - not from ISP server) from my nonISP account (nenad@neobee.net) to ISP account Web1_nenad@fast-server.homelinux.com nothing happens.

There's no trace of anything in /var/log/maillog.

Later, in few hours I receive something like this:
-----------------------------------------------------------------------
The original message was received at Tue, 22 Nov 2005 18:46:28 +0100 (CET)
from [10.40.250.236]

----- The following addresses had permanent fatal errors -----
<nenad@fast-server.homelinux.com>

----- Transcript of session follows -----
<nenad@fast-server.homelinux.com>... Deferred: Interrupted system call
Message could not be delivered for 5 days
Message will be deleted from queue
-------------------------------------------------------------------

I CAN sent email using email client from another PC using any of ISPConfig email accounts, eg: Web1_nenad@fast-server.homelinux.com

nenad
27th November 2005, 21:19
BTW

Why Apache won't 'execute' PHP ?

I just installed Joomla, and it's shown PHP code instead of webpage?

http://www.fast-server.homelinux.com/installation/index.php

falko
27th November 2005, 23:00
BTW

Why Apache won't 'execute' PHP ?

I just installed Joomla, and it's shown PHP code instead of webpage?
Did you enable PHP for that web site in ISPConfig?

nenad
28th November 2005, 04:09
No, I forgot to do that :)

But, when I enabled it in ISPConfig , apache still don't execute PHP.
Then I deleted it.

Then I wanted to add it again, but following error occured:
The name www.fast-server.homelinux.com is already in use by another site or domain.

And the website is deleted?
And user is deleted, and other sites are deleted.....

In management ---> server --> Settings:
Hostname: fast-server
Domain: homelinux.com

Is that a problem?

nenad
28th November 2005, 04:17
Is it allowed that I use "yum update" to update complete system?

nenad
28th November 2005, 05:24
Why ISPConfig won't accept new data for Server settings?

Management --> Server --> Settings ISP Server

Servername, Hostname, Domain, IP ...?

falko
28th November 2005, 10:48
Then I wanted to add it again, but following error occured:
The name www.fast-server.homelinux.com is already in use by another site or domain.


http://www.howtoforge.com/forums/showthread.php?t=572

till
28th November 2005, 12:02
Why ISPConfig won't accept new data for Server settings?

Management --> Server --> Settings ISP Server

Servername, Hostname, Domain, IP ...?

Have you installed the mySQL database dump for ISPConfig manually?

nenad
29th November 2005, 07:31
During the re-installation, if ISPConfig installation fails, sometimes is happening that new reinstall fails because ISP can't connect to database using:

user=root pass=none

?

(And during perfect setup, pass was set)

nenad
29th November 2005, 07:32
Is it necessery to delete users & groups (unix) created by ISPConfig, if someone want's to re-install ISPConfig?

falko
29th November 2005, 10:45
Is it necessery to delete users & groups (unix) created by ISPConfig, if someone want's to re-install ISPConfig?
Would be good, though it's not necessary.:)

nenad
29th November 2005, 20:30
Is it allowed to install Webmin too?

Does it interfere with ISPConfig?

Is it allowed to use Yum?

Does it interfere with apt-get?

till
29th November 2005, 22:44
Is it allowed to install Webmin too?

yes. But be careful.

Does it interfere with ISPConfig?

yes. But do not use it to configure services that are already configured by ISPConfig like apache, bind, postfix, system users, ftp.

Is it allowed to use Yum?

Yes.

Does it interfere with apt-get?

No, you can use yum and apt together.

nenad
30th November 2005, 16:40
OK,

I re-installed OS once again, step by step
I reinstalled ISPConfig once again, step by step.

I can send email, but I can't receive any emails.
It seems just like emails are not reaching postfix, or they are saved nowhere?

(I didn't installed webmin this time, neither updated system using yum)

falko
30th November 2005, 18:09
Ok, then tell me the email address you tried to send to, and also tell me your public IP address.

nenad
30th November 2005, 18:30
web1_nenad@fast-server.homelinux.com

87.116.140.158

HELP! :eek:

falko
30th November 2005, 19:03
Ok, dig shows the correct information.
Do you forward port 25 from your router to your server?
Do you see anything in the mail log in /var/log?

nenad
30th November 2005, 19:35
I dont know anything about forwarding because I am not network administrator.
My ISP told me that all ports are opened and mapped through NAT1:1

Yes there is log info in /var/log

Yhere is log about sending emails, but no about receiving of emails

[root@noc ~]# tail -f /var/log/maillog
Nov 30 18:02:21 noc postfix/qmgr[14434]: 396CEE0177: removed
Nov 30 18:23:04 noc postfix/postfix-script: stopping the Postfix mail system
Nov 30 18:23:04 noc postfix/master[14432]: terminating on signal 15
Nov 30 18:23:08 noc postfix/postfix-script: starting the Postfix mail system
Nov 30 18:23:08 noc postfix/master[19081]: daemon started -- version 2.1.5
Nov 30 18:30:01 noc ipop3d[19648]: pop3 service init from 127.0.0.1
Nov 30 18:30:01 noc postfix/smtpd[19646]: connect from noc.homelinux.com[127.0.0
.1]
Nov 30 18:30:01 noc postfix/smtpd[19646]: lost connection after CONNECT from noc
.homelinux.com[127.0.0.1]
Nov 30 18:30:01 noc postfix/smtpd[19646]: disconnect from noc.homelinux.com[127.
0.0.1]
Nov 30 18:30:01 noc ipop3d[19648]: Connection reset by peer while reading line u
ser=??? host=UNKNOWN

nenad
30th November 2005, 19:47
Getting MX record for noc.homelinux.com (from local DNS server, may be cached)... Got it!

Host Preference IP(s) [Country]
noc.homelinux.com. 10 87.116.140.158 [CS]

Step 1: Try connecting to the following mailserver:
noc.homelinux.com. - 87.116.140.158

Step 2: If still unsuccessful, queue the E-mail for later delivery.

Trying to connect to all mailservers:

noc.homelinux.com. - 87.116.140.158 [Successful connect: Got a good response [250 Ok]]

--------------------------------------------------------------------------
http://www.dnsstuff.com/tools/mail.ch?domain=web1_nenad%40noc.homelinux.com

falko
30th November 2005, 19:49
I dont know anything about forwarding because I am not network administrator.

Your router (I assume you're in a home network) should have a web interface where you can configure port forwarding. Please forward port 25 from your router to your server.

nenad
30th November 2005, 19:55
No, I am on cable network.
Network administrator told me 1o minutes ago that all ports from private network (10.40..) are forwarded to public IP.

BTW why we are talking about port 25?

Isn't a problem in port 110?

I can send emails, but I can't receive them

nenad
30th November 2005, 19:58
Any meaning in this:

Nov 30 18:54:25 noc ipop3d[20041]: pop3 service init from 10.40.250.236
Nov 30 18:54:25 noc ipop3d[20041]: Command stream end of file while reading line user=??? host=[10.40.250.236]

10.40.250.236 is another PC in my private home network (there are 3 of them, server is on 10.40.239.218

falko
30th November 2005, 20:00
BTW why we are talking about port 25?

Isn't a problem in port 110?

I can send emails, but I can't receive them
Because if someone sends you an email, it will be sent on port 25.

nenad
30th November 2005, 20:01
Nov 30 19:00:02 noc ipop3d[20119]: pop3 service init from 127.0.0.1
Nov 30 19:00:02 noc ipop3d[20119]: Command stream end of file while reading line user=??? host=UNKNOWN
Nov 30 19:00:03 noc postfix/smtpd[20118]: connect from noc.homelinux.com[127.0.0.1]
Nov 30 19:00:03 noc postfix/smtpd[20118]: lost connection after CONNECT from noc.homelinux.com[127.0.0.1]
Nov 30 19:00:03 noc postfix/smtpd[20118]: disconnect from noc.homelinux.com[127.0.0.1]

Is there any meaning is this?

nenad
30th November 2005, 20:04
when I scan with SuperScan,

it is shown that port 25 is opened and info is:

"noc.homelinux.com ESMTP Postfix"

nenad
30th November 2005, 20:11
YaY!! :eek:

It works, it works!! :) :p :D

I just received your email

nenad
30th November 2005, 20:25
fhuuuuuuuuuuu....
what a relief....

thanx to falko and thanx till

btw what does this mean:

Nov 30 19:19:01 noc ipop3d[20712]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Nov 30 19:19:01 noc ipop3d[20712]: Logout user=web1_nenad host=noc.homelinux.com [127.0.0.1] nmsgs=6 ndele=0

nenad
30th November 2005, 20:34
My ISP is sbb.co.yu,

But I am using DNS of neobee.net

It seems that those 2 emails are not accepted , forwarded to postfix on my server?

nenad @ neobee.net
and limitline @ neobee.net

never reach inbox

------------------------

but my server uses only ISP ns.sbb.co.yu and their DNS (not the DNS from neobee - this PC where is Windows uses combined neobee DNS and sbb acess)


I don't know how but this seems to be the root of the problems.

Anyone else in the world can recieve emails from those two emails, except my fast-server.homelinux.com mail server?

wierd ;)
-------------------------------------------------

edit:

I just received my own email from limitline @ ns.sbb.co.yu

so it seems that something about nenad @ neobee.net and their DNS and my ISPConfig server isn't compatible

falko
30th November 2005, 23:11
Nov 30 19:19:01 noc ipop3d[20712]: Mailbox vulnerable - directory /var/spool/mail must have 1777 protection
Run chmod 1777 /var/spool/mail

My ISP is sbb.co.yu,

But I am using DNS of neobee.net

It seems that those 2 emails are not accepted , forwarded to postfix on my server?

nenad @ neobee.net
and limitline @ neobee.net

never reach inbox

------------------------

but my server uses only ISP ns.sbb.co.yu and their DNS (not the DNS from neobee - this PC where is Windows uses combined neobee DNS and sbb acess)


I don't know how but this seems to be the root of the problems.

Anyone else in the world can recieve emails from those two emails, except my fast-server.homelinux.com mail server?

wierd
-------------------------------------------------

edit:

I just received my own email from limitline @ ns.sbb.co.yu

so it seems that something about nenad @ neobee.net and their DNS and my ISPConfig server isn't compatible

What do you try to do here? Are you trying to send emails from nenad @ neobee.net to web1_nenad @ fast-server.homelinux.com? Or are you trying to receive emails with nenad @ neobee.net?

nenad
1st December 2005, 08:32
What do you try to do here? Are you trying to send emails from nenad @ neobee.net to web1_nenad @ fast-server.homelinux.com? Or are you trying to receive emails with nenad @ neobee.net?
30th November 2005 19:34

trying to send emails from nenad @ neobee.net to web1_nenad @ fast-server.homelinux.com

But it is not so important anymore 'cos I can receive emails (as web1_nenad @ fast-server.homelinux.com user) from anyone except from nenad @ neobee.net

falko
1st December 2005, 11:00
What's in your mail log when you try to send an email from nenad @ neobee.net to web1_nenad @ fast-server.homelinux.com?

nenad
3rd December 2005, 00:50
Nothing changes in maillog

falko
3rd December 2005, 02:18
You mean you don't see anything related to this in your maillog? This means that the mail doesn't arrive on your server at all.

nenad
3rd December 2005, 08:39
Yes, exactly like that.

That's happening for @ns.sbb.co.yu and @neobee.net account
However, I'll ask some other users of both networks to send me emails.

nenad
21st March 2006, 04:42
(FedoraCore4 & ISPConfig)

This is the Postfix program at host dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<web1_nenad@dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu> (expanded from
<nenad@web-hosting-solutions.biz>): mail for
dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu loops back to myself

<web1_nenad@dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu> (expanded from
<web1_nenad@web-hosting-solutions.biz>): mail for
dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu loops back to myself

nenad
21st March 2006, 07:40
Why this works only until reboot?

echo server1.example.com > /etc/hostname
/bin/hostname -F /etc/hostname

Every time after the reboot hostname was set to back localhost.localdomain ?

But once when I set it up using webmin it was not "renamed" after reboot

falko
21st March 2006, 18:50
The Postfix program

<web1_nenad@dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu> (expanded from
<nenad@web-hosting-solutions.biz>): mail for
dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu loops back to myself

<web1_nenad@dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu> (expanded from
<web1_nenad@web-hosting-solutions.biz>): mail for
dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu loops back to myselfPlease add dhcp-87-116-137-18.cmtsns-ns.customer.sbb.co.yu at the end of /etc/postfix/local-host-names and restart Postfix.

nenad
21st March 2006, 19:08
Actually the problem with postfix was because
hostname was set to:

localhost.localdomain

But once when I set it up to
web-hosting-solutions.biz

using webmin it was not "renamed" after reboot

and postfix is now working flawless.

The question is why when I used:

echo server1.example.com > /etc/hostname
/bin/hostname -F /etc/hostname

every time after the reboot hostname was set to back to:
localhost.localdomain back ?

----------------------------------
My /etc/postfix/local-host-names looks now:

localhost
web-hosting-solutions.biz
localhost.web-hosting-solutions.biz
localhost.biz
www.web-hosting-solutions.biz
www.neoplanta.com
neoplanta.com

falko
22nd March 2006, 18:45
----------------------------------
My /etc/postfix/local-host-names looks now:

localhost
web-hosting-solutions.biz
localhost.web-hosting-solutions.biz
localhost.biz
www.web-hosting-solutions.biz
www.neoplanta.com
neoplanta.com

I'd append localhost.localdomain to /etc/postfix/local-host-names (in case your hostname switches back to localhost.localdomain again).

nenad
23rd April 2006, 17:39
New installation of Fedora Core4 & ISPConfig 2.2.1

The question is why when I use:

echo web-hosting-solutions.biz > /etc/hostname
/bin/hostname -F /etc/hostname

every time after the reboot hostname was set to back to:
server1.web-hosting-solutions.biz (as chosen during installation of ISP) ?

What causes hostname to be set to "server1"?

falko
23rd April 2006, 19:10
Have a look at man hostname to see where it reads the hostname from.

nenad
23rd April 2006, 20:48
:)
This was really educational... :)

Oh, well... man says:

FILES
/etc/hosts /etc/sysconfig/network
NOTE
Note that hostname doesnât change anything permanently. After reboot original names from /etc/hosts are used again.

So, I found it in /etc/hosts

And I changed it (deleted Server1).

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 web-hosting-solutions.biz localhost.localdomain localhost

And after reboot it is here again!!

server1.web-hosting-solutions.biz ???

nenad
23rd April 2006, 21:42
Webmin can fix this. I done that many times. But this time I DIDN'T installed webmin. I wanted to do in manually.

Here is solution (For Fedora):

haostname is saved in the file /etc/sysconfig/network,

NETWORKING=yes
HOSTNAME=server1.web-hosting-solutions.biz
GATEWAY=192.168.123.254

edit the:
HOSTNAME=web-hosting-solutions.biz

this will be available even after a reboot.

nenad
3rd May 2006, 06:20
Now, I set up Debian system.
The question is:

1. how to get rid of server2.web-hosting-solutions.biz ?
2. how to get rid of:

----------------------------------------
Return-Path: <nenad.bulatovic@gmail.com>
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
web-hosting-solutions.biz
X-Spam-Level: *
X-Spam-Status: No, score=1.3 required=5.0 tests=HTML_MESSAGE,MISSING_SUBJECT
autolearn=no version=3.1.0
X-Original-To: nenad@web-hosting-solutions.biz
Delivered-To: web3_nenad@server2.web-hosting-solutions.biz
Received: from nf-out-0910.google.com (nproxy.gmail.com [64.233.182.189])
by web-hosting-solutions.biz (Postfix) with ESMTP id E46F6116FB7
for <nenad@web-hosting-solutions.biz>; Wed, 3 May 2006 03:40:45 +0200 (CEST)
Received: by nf-out-0910.google.com with SMTP id m18so516nfc
for <nenad@web-hosting-solutions.biz>; Tue, 02 May 2006 18:40:45 -0700 (PDT)
--------------------------------------------------

I need just:
nenad@web-hosting-solutions.biz

I don't waht that "Server2" and "web3_" to appear anywhere.

I tried to setup in uebimiau. I tried to setup in every possible location for setting hostname: network, postfix, Vhosts...

I checked with:
uname -n
hostname -a
hostname -s
hostname -d
hostname -f
hostname

and server2 appears nowhere. But I need it in /etc/postfix/local-host-names

Without it it won't receive emails..?

falko
3rd May 2006, 16:22
Do you maybe have server2 in /etc/postfix/local-host-names?

nenad
6th May 2006, 11:05
No. There isn't.

falko
6th May 2006, 12:42
What's in /etc/hostname? What's the output of
dig -x <your IP address>?

nenad
6th May 2006, 12:59
web-hosting-solutions:~# dig -x 87.116.136.92

; <<>> DiG 9.2.4 <<>> -x 87.116.136.92
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15914
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;92.136.116.87.in-addr.arpa. IN PTR

;; ANSWER SECTION:
92.136.116.87.in-addr.arpa. 42296 IN PTR web-hosting-solutions.biz.

;; AUTHORITY SECTION:
136.116.87.in-addr.arpa. 80330 IN NS dns1.sbb.co.yu.
136.116.87.in-addr.arpa. 80330 IN NS dns2.sbb.co.yu.

;; ADDITIONAL SECTION:
dns1.sbb.co.yu. 86400 IN A 82.117.194.2
dns2.sbb.co.yu. 86400 IN A 82.117.194.3

;; Query time: 10 msec
;; SERVER: 192.168.123.254#53(192.168.123.254)
;; WHEN: Sat May 6 11:57:40 2006
;; MSG SIZE rcvd: 162
---------------------------------------------------------------------
/etc/hostname

web-hosting-solutions.biz

falko
6th May 2006, 13:43
Looks ok. Please check all your configuration files for server2 again.

nenad
6th May 2006, 13:55
Is there somewhere list of all configuration files used by ISPConfig?
and Debian?
(On FedoraCore there's one more file which took me 1 day to find out reding forums)

nenad
6th May 2006, 14:02
I have two servers.
On server1 I just reinstalled OS (Debian Sarge) and ISPConfig (2.2.2)
I installed MySQL 4.1. I am using UTF-8.

I created website 1 minute ago. I created webuser too.

I can't login into webmiau. It complains that passw/user is not valid?


Now I even installed courier. Some problem. Can't login
-----------------------------------------------------
NOTE:I CAN send e-mails? Through email client. It CAN login into SMTP account, but CAN NOT login into pop3 account?
-----------------------------------------------------
There was a problem logging onto your mail server. Your Password was rejected. Account: 'Nenad Bulatovic (WebHosting)', Server: 'mail.web-hosting-solutions.biz', Protocol: POP3, Server Response: '-ERR Maildir invalid (no 'cur' directory)', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC92

nenad
6th May 2006, 14:56
I reinstalled postfix withouth maildir support once again and now there's this error:

There was a problem logging onto your mail server. Your User Name was rejected. Account: 'Nenad Bulatovic (WebHosting)', Server: 'mail.web-hosting-solutions.biz', Protocol: POP3, Server Response: '-ERR Unknown AUTHORIZATION state command', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC91
-----------------------------------------------------------------------------
When I setup Outlook Express to use port 995 SSL conection I was able to get emails. UebiMiau still don't work, as well as 110 ?

falko
6th May 2006, 19:22
There was a problem logging onto your mail server. Your User Name was rejected. Account: 'Nenad Bulatovic (WebHosting)', Server: 'mail.web-hosting-solutions.biz', Protocol: POP3, Server Response: '-ERR Unknown AUTHORIZATION state command', Port: 110, Secure(SSL): No, Server Error: 0x800CCC90, Error Number: 0x800CCC91
-----------------------------------------------------------------------------

Did you create /etc/c-client.cf, as described on http://www.howtoforge.com/perfect_setup_debian_sarge_p4 ?

nenad
6th May 2006, 19:46
Yes, I did.

What is better or what do you prefer:

1.Traditional Unix mailbox format or
2. Maildir support (Courier-IMAP/Courier-POP3) ?

falko
7th May 2006, 12:18
Use Courier. :)

nenad
7th May 2006, 13:01
hmmmm...
I allready installed withouth it.
If I try to install courier now, will I mess postfix system?

falko
7th May 2006, 17:59
If I try to install courier now, will I mess postfix system?
No, just do exactly what is written in the tutorial about the Courier installation, that's all. :)

nenad
13th July 2006, 20:17
Update:

If anyone has problems with receiving emails from users originating from same network, they should check that with their ISP.

In past few months I had such problems and since monday I insisted that hostmaster of my ISP check their DNS services. It turned out that their "routes" were invalid, so their DNS servers were not resolving correctly to my mail servers (for other users of same ISP).

I think that this is good to know before spending countless hours in reading these forums, complaining to authors of ISPConfig ( :) ) etc.

Just check with your ISP too ;)
and use:

dig @xxx.xxx.xxx.xxx your-domain.name

where xxx.xxx.xxx.xxx is IP of DNS of your InternetServiceProvider