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 19th April 2006, 18:26
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default Procmail with ISP users and system users

Hi,

Hmmm... I have some problem... maybe some could help me.

Procmail works fine for users added from ISP but users added by hand (system users) can't use procmail.

Postfix directly deliver mail do maildiir. In case of ISP user postfix looks for .procmailrc and run it.

Where can I tune my postfix to use procmail for both users type.

Any idea what is wrong?

Best regards,
MvincM
Reply With Quote
Sponsored Links
  #2  
Old 19th April 2006, 19:17
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,983
Thanks: 825
Thanked 5,372 Times in 4,219 Posts
Default

Have a look in one of the home directories that ISPConfig created for the mail users. There is a .forward file, that invoces procmail.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th April 2006, 19:36
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Yeee... That's it.

Thanks a lot.

I have in homedir .procmailrc .spamassassin.rc .user_prefs .antivirus.rc but not a .forward

Thanks,
MvincM
Reply With Quote
  #4  
Old 19th April 2006, 21:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Instead of using .forward files, you can also do this:
Code:
postconf -e 'mailbox_command = /usr/bin/procmail'
/etc/init.d/postfix restart
__________________
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 19th April 2006, 21:50
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

more nicely and faster (one step less)

but is it secure for ISP at normal work. Maybe there are some dependencies for useing .forward with ISP?

Thanks,
MM
Reply With Quote
  #6  
Old 19th April 2006, 21:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

It should work without problems.
__________________
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
  #7  
Old 19th April 2006, 21:59
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Thanks.

Maybe it isn't good thread to ask but...

Is it normal for Apache2 configured by ISP to throws so many warnings about "precedence" and "NameVirtualHost". I know thats warnings very good from "normal" Apache 1.3 (and it is better to avoid them ).

I'm talking about:

...
[warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
...

Hmm?? Looks no so good - but WORKS fine!

Best regards,
MvincM
Reply With Quote
  #8  
Old 19th April 2006, 22:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by MvincM
Thanks.

Maybe it isn't good thread to ask but...

Is it normal for Apache2 configured by ISP to throws so many warnings about "precedence" and "NameVirtualHost". I know thats warnings very good from "normal" Apache 1.3 (and it is better to avoid them ).

I'm talking about:

...
[warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Wed Apr 19 21:55:10 2006] [warn] VirtualHost xxx.xxx.xxx.xxx:443 overlaps with VirtualHost xxx.xxx.xxx.xxx:443, the first has precedence, perhaps you need a NameVirtualHost directive
...

Hmm?? Looks no so good - but WORKS fine!

Best regards,
MvincM
It's just a warning, it doesn't stop Apache from working. You should check if you have VirtualHost xxx.xxx.xxx.xxx:443 twice in your Apache configuration, or if you include the configuration file where this is in twice in your main Apache configuration.
__________________
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 19th April 2006, 22:48
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
 
Default

No warnings now.

I have repeted ISP setup some times and every round setup add "Include" to apache2.conf. In this case warnings were ok.

Thanks a lot !
MvincM
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
This is the Postfix program <postmaster> edge Installation/Configuration 14 13th March 2006 15:50
System users, or virtual users gfts Installation/Configuration 1 20th December 2005 10:28
Ability to add components for users webstergd Feature Requests 1 20th December 2005 10:25
Real System users exy123 General 2 12th December 2005 10:01
List of users on my system heat Technical 1 21st April 2005 12:00


All times are GMT +2. The time now is 03:41.


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