Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th February 2007, 15:30
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default Postifx Mailsize sent to root instead of admispconfig

Hi

I use ISPConfig 2.2.10 and have the problem that the mailsize emails sent by postfix is been saved in the root@localhost mail instead of admispconfig@localhost

Where can I check and change the postifx settings?

Thanks for your help!
Reply With Quote
Sponsored Links
  #2  
Old 28th February 2007, 18:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in /etc/aliases?
__________________
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
  #3  
Old 28th February 2007, 20:30
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Quote:
Originally Posted by falko
What's in /etc/aliases?
Code:
#
#  Aliases in this file will NOT be expanded in the header from
#  Mail, but WILL be visible over networks or from /bin/mail.
#
#       >>>>>>>>>>      The program "newaliases" must be run after
#       >> NOTE >>      this file is updated for any changes to
#       >>>>>>>>>>      show through to sendmail.
#

# Basic system aliases -- these MUST be present.
mailer-daemon:  postmaster
postmaster:     root

# General redirections for pseudo accounts.
bin:            root
daemon:         root
adm:            root
lp:             root
sync:           root
shutdown:       root
halt:           root
mail:           root
news:           root
uucp:           root
operator:       root
games:          root
gopher:         root
ftp:            root
nobody:         root
radiusd:        root
nut:            root
dbus:           root
vcsa:           root
canna:          root
wnn:            root
rpm:            root
nscd:           root
pcap:           root
apache:         root
webalizer:      root
dovecot:        root
fax:            root
quagga:         root
radvd:          root
pvm:            root
amanda:         root
privoxy:        root
ident:          root
named:          root
xfs:            root
gdm:            root
mailnull:       root
postgres:       root
sshd:           root
smmsp:          root
postfix:        root
netdump:        root
ldap:           root
squid:          root
ntp:            root
mysql:          root
desktop:        root
rpcuser:        root
rpc:            root
nfsnobody:      root

ingres:         root
system:         root
toor:           root
manager:        root
dumper:         root
abuse:          root

newsadm:        news
newsadmin:      news
usenet:         news
ftpadm:         ftp
ftpadmin:       ftp
ftp-adm:        ftp
ftp-admin:      ftp
www:            webmaster
webmaster:      root
noc:            root
security:       root
hostmaster:     root
info:           postmaster
marketing:      postmaster
sales:          postmaster
support:        postmaster


# trap decode to catch security attacks
decode:         root

# Person who should get root's mail
#root:          marc
Do I have to change the postfix value to admispconfig?

Last edited by torusturtle; 28th February 2007 at 20:32.
Reply With Quote
  #4  
Old 1st March 2007, 20:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Looks ok. What's the output of
Code:
ls -la /home/admispconfig
?
__________________
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
  #5  
Old 2nd March 2007, 07:42
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

output:

Code:
insgesamt 6
drwxr-xr-x  4 admispconfig admispconfig 1024 24. Nov 11:20 .
drwxr-xr-x  4 root         root         1024 24. Nov 11:17 ..
-rwxr-xr-x  1 admispconfig admispconfig   24 27. Feb 13:27 .forward
drwxr-xr-x  8 admispconfig admispconfig 1024  1. Mär 00:40 ispconfig
drwxr-xr-x  2 admispconfig admispconfig 1024 20. Feb 23:59 mailstats
-rwxr-xr-x  1 admispconfig admispconfig  176 27. Feb 13:27 .procmailrc
Reply With Quote
  #6  
Old 2nd March 2007, 08:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,814
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

Thats fine so far. Please post the content of the files .forward and .procmailrc.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 2nd March 2007, 09:58
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

.forward:
Code:
"|/usr/bin/procmail -f-"
.procmailrc
Code:
SHELL=/bin/sh

USERNAME=`formail -xSubject:  | awk '{print $2}'`

:0
* ^Subject:.*Mailsize:*
{
:0
| formail -I "" | sed -e '/^$/d' >> /home/admispconfig/mailstats/${USERNAME}
}
Reply With Quote
  #8  
Old 3rd March 2007, 15:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Looks ok, too.
What's in the mail log when Postfix sends a mailsize mail to admispconfig?
What's in /etc/postfix/main.cf?
__________________
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
  #9  
Old 3rd March 2007, 16:17
torusturtle torusturtle is offline
Senior Member
 
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 24 Times in 16 Posts
Send a message via ICQ to torusturtle Send a message via AIM to torusturtle
Default

Quote:
Originally Posted by falko
Looks ok, too.
What's in the mail log when Postfix sends a mailsize mail to admispconfig?
What's in /etc/postfix/main.cf?
maillog:
Code:
Mar  3 00:01:17 server1 postfix/smtpd[1601]: connect from server1.mydomain.tld[127.0.0.1]
Mar  3 00:01:17 server1 postfix/smtpd[1601]: setting up TLS connection from server1.mydomain.tld[127.0.0.1]
Mar  3 00:01:18 server1 postfix/smtpd[1601]: TLS connection established from server1.mydomain.tld[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Mar  3 00:01:18 server1 sendmail[1706]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Mar  3 00:01:18 server1 postfix/smtpd[1601]: 08DE64618003: client=server1.mydomain.tld[127.0.0.1], sasl_sender=web4_kontakt@server1.mydomain.tld
Mar  3 00:01:18 server1 postfix/cleanup[1691]: 08DE64618003: message-id=<200703022301.l22N1GT3001706@server1.mydomain.tld>
Mar  3 00:01:18 server1 postfix/qmgr[29951]: 08DE64618003: from=<web4_kontakt@server1.mydomain.tld>, size=725, nrcpt=1 (queue active)
Mar  3 00:01:18 server1 sendmail[1706]: l22N1GT3001706: to=admispconfig@localhost.localdomain, ctladdr=web4_kontakt (10025/10004), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=301
21, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as 08DE64618003)
Mar  3 00:01:18 server1 postfix/local[1721]: 08DE64618003: to=<root@server1.mydomain.tld>, orig_to=<admispconfig@mydomain.tld>, relay=local, delay=0, status=sent (delivered to mailbox)
Mar  3 00:01:18 server1 postfix/qmgr[29951]: 08DE64618003: removed
Mar  3 00:01:18 server1 postfix/smtpd[1601]: disconnect from server1.mydomain.tld[127.0.0.1]
/etc/postfix/main.cf is huge. Do you need a special line?

Thanks for your time!

Last edited by torusturtle; 14th October 2007 at 11:51.
Reply With Quote
  #10  
Old 4th March 2007, 14:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by torusturtle
/etc/postfix/main.cf is huge. Do you need a special line?

Thanks for your time!
Just strip out the comments, or post the output of
Code:
postconf -n
Also, what's the output of
Code:
ls -l /etc/postfix
? Is there anything in
Code:
/etc/postfix/transport
?
__________________
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
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
monit howto Jamesk5 HOWTO-Related Questions 11 5th August 2008 15:10
mod_proxy / rewrite rules KenKnight Server Operation 25 30th January 2007 22:21
VMWare install on Ubuntu problem with the IP velonis HOWTO-Related Questions 10 21st September 2006 14:19
Apache - Virtual hosts - ISPConfig Hans Server Operation 8 23rd April 2006 16:29
cannot connect to ispconfig guidovanh Installation/Configuration 22 3rd March 2006 19:52


All times are GMT +2. The time now is 00:26.


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