#1  
Old 17th August 2006, 14:57
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default User & Email

Hi, i got a little problem here, when i create a site and then try to add a new ftp/email user it all works fine.
I coonfigure it with outlook and still all good, but as soon as i send an email to that acount, the server begins to send several emails to that acount, "like spam" ....
The process that i see always running is this one:
/bin/sh -c wc -c | formail -A"X-Loop: ${LOGNAME}@localhost.localdomain" \?

And the mails i revice are always the same:

From: MAILER-DAEMON@server1.pigeonsmanager.com
Subject: Undelivered Mail Returned to Sender
Text:

This is the Postfix program at host server1.pigeonsmanager.com.

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

<admispconfig@localhost.localdomain.pigeonsmanager .com>: mail for
localhost.localdomain.pigeonsmanager.com loops back to myself


Any idea?

Best regards,
Ivan Silva
Reply With Quote
Sponsored Links
  #2  
Old 17th August 2006, 15:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

Please add the line:

localhost.localdomain.pigeonsmanager.com

at the end of the file:

/etc/postfix/local-host-names

and restart postfix:

/etc/init.d/postfix restart
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th August 2006, 19:26
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just did it, the problem is that as soon as i add a new ftp/email user the ispconfig rewrites the /etc/postfix/local-host-names file and erase the line u told me to add.
Reply With Quote
  #4  
Old 17th August 2006, 20:21
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I changed the /etc/postfix/local-host-names after adding the user and everything just goes fine, no more email loop send.
But 1 problem persists, as i add a new user, the /etc/postfix/local-host-names is rewrite and erase the good solution line.
Reply With Quote
  #5  
Old 18th August 2006, 14:31
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

You must add the line at the end of /etc/postfix/local-host-names, where it says that you are allowed to make your changes.
__________________
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
  #6  
Old 18th August 2006, 15:11
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks a lot, i should ad figured it out!
By the way, another question:

since i instaled ISPConfig, every time that i reboot my system, apache is running, ipconfig tell me that apache is running but i cant connect to port 80, if i use the ispconfig tool to restart the service, it begins to work just fine.
Any ideia?
Reply With Quote
  #7  
Old 19th August 2006, 14:00
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 Kayov
since i instaled ISPConfig, every time that i reboot my system, apache is running, ipconfig tell me that apache is running but i cant connect to port 80, if i use the ispconfig tool to restart the service, it begins to work just fine.
Any ideia?
Any errors in Apache's error log? What's the output of
Code:
netstat -tap
when this happens?
__________________
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
  #8  
Old 19th August 2006, 14:22
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, i'll show you step by step what happends:

** Just after a reboot **

[root@server1 ~]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

Works fine!

[root@server1 ~]# telnet 217.129.217.126 80
Trying 217.129.217.126...

This is my public IP, doest work!

Apache error_log:

[Sat Aug 19 13:11:07 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 19 13:11:10 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Aug 19 13:11:11 2006] [notice] Digest: generating secret for digest authentication ...
[Sat Aug 19 13:11:11 2006] [notice] Digest: done
[Sat Aug 19 13:11:11 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Aug 19 13:11:12 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations

netstat -tap:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1720/mysqld
tcp 0 0 *:55791 *:* LISTEN 1347/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1328/portmap
tcp 0 0 server1.pigeonsmanage:50000 *:* LISTEN 1563/hpiod
tcp 0 0 *:hosts2-ns *:* LISTEN 2180/ispconfig_http
tcp 0 0 server1.pigeonsmanage:50002 *:* LISTEN 1568/python
tcp 0 0 192.168.0.2:domain *:* LISTEN 2305/named
tcp 0 0 server1.pigeonsmanag:domain *:* LISTEN 2305/named
tcp 0 0 server1.pigeonsmanager.:ipp *:* LISTEN 1580/cupsd
tcp 0 0 server1.pigeonsmanager:rndc *:* LISTEN 2305/named
tcp 0 0 *:smtp *:* LISTEN 2277/master
tcp 0 0 server1.pigeonsmanage:50000 server1.pigeonsmanage:43766 ESTABLISHED 1563/hpiod
tcp 0 0 server1.pigeonsmanage:43766 server1.pigeonsmanage:50000 ESTABLISHED 1568/python
tcp 0 0 *:imaps *:* LISTEN 1766/dovecot
tcp 0 0 *op3s *:* LISTEN 1766/dovecot
tcp 0 0 *op3 *:* LISTEN 1766/dovecot
tcp 0 0 *:imap *:* LISTEN 1766/dovecot
tcp 0 0 *:http *:* LISTEN 2206/httpd
tcp 0 0 *:ftp *:* LISTEN 2322/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 1609/sshd
tcp 0 0 ::1:rndc *:* LISTEN 2305/named
tcp 0 0 *:https *:* LISTEN 2206/httpd
tcp 0 1332 ::ffff:192.168.0.2:ssh sm-217-129-217-154.ne:xaapi ESTABLISHED 1621/1

** Now i just entered ispconfig at port 81 and restart Web Server with the services tool **

[root@server1 ~]# telnet 217.129.217.126 80
Trying 217.129.217.126...
Connected to sm-217-129-217-126.netvisao.pt (217.129.217.126).
Escape character is '^]'.

Works fine now....

Apache error_log:

[Sat Aug 19 13:19:18 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 19 13:19:19 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Aug 19 13:19:19 2006] [notice] Digest: generating secret for digest authentication ...
[Sat Aug 19 13:19:19 2006] [notice] Digest: done
[Sat Aug 19 13:19:19 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Sat Aug 19 13:19:20 2006] [notice] Apache/2.2.0 (Fedora) configured -- resuming normal operations

netstat -tap:

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 1720/mysqld
tcp 0 0 *:55791 *:* LISTEN 1347/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 1328/portmap
tcp 0 0 server1.pigeonsmanage:50000 *:* LISTEN 1563/hpiod
tcp 0 0 *:hosts2-ns *:* LISTEN 2180/ispconfig_http
tcp 0 0 server1.pigeonsmanage:50002 *:* LISTEN 1568/python
tcp 0 0 192.168.0.2:domain *:* LISTEN 2305/named
tcp 0 0 server1.pigeonsmanag:domain *:* LISTEN 2305/named
tcp 0 0 server1.pigeonsmanager.:ipp *:* LISTEN 1580/cupsd
tcp 0 0 server1.pigeonsmanager:rndc *:* LISTEN 2305/named
tcp 0 0 *:smtp *:* LISTEN 2277/master
tcp 0 0 server1.pigeonsmanage:50000 server1.pigeonsmanage:43766 ESTABLISHED 1563/hpiod
tcp 0 0 server1.pigeonsmanage:43766 server1.pigeonsmanage:50000 ESTABLISHED 1568/python
tcp 0 0 *:imaps *:* LISTEN 1766/dovecot
tcp 0 0 *op3s *:* LISTEN 1766/dovecot
tcp 0 0 *op3 *:* LISTEN 1766/dovecot
tcp 0 0 *:imap *:* LISTEN 1766/dovecot
tcp 0 0 *:http *:* LISTEN 2784/httpd
tcp 0 0 *:ftp *:* LISTEN 2322/proftpd: (acce
tcp 0 0 *:ssh *:* LISTEN 1609/sshd
tcp 0 0 ::1:rndc *:* LISTEN 2305/named
tcp 0 0 *:https *:* LISTEN 2784/httpd
tcp 0 1776 ::ffff:192.168.0.2:ssh sm-217-129-217-154.ne:xaapi ESTABLISHED 1621/1
Reply With Quote
  #9  
Old 20th August 2006, 17:58
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 Kayov
Ok, i'll show you step by step what happends:

** Just after a reboot **

[root@server1 ~]# telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.

Works fine!

[root@server1 ~]# telnet 217.129.217.126 80
Trying 217.129.217.126...

This is my public IP, doest work!
I guess this is a problem with your router... Maybe it needs some time until it works. Your Apache seems to be fine.
__________________
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
  #10  
Old 20th August 2006, 19:46
Kayov Kayov is offline
Junior Member
 
Join Date: Aug 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks for all the help, i dont know why but now it works, i guess maybe the problem was the same as the user/email creation and now its working....

Thanks again.
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
ftp user without email brownie Installation/Configuration 8 6th September 2008 11:21
Can't send email with attachments to a user rafaelenrike General 9 15th June 2006 19:01
User email as user@www.domain.xy mikie Installation/Configuration 2 21st March 2006 10:13
A user without an email account Zippy79 Installation/Configuration 1 14th January 2006 23:00


All times are GMT +2. The time now is 07:01.


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