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
  #11  
Old 4th November 2008, 15:14
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default

No i didnt
Now, web1 already it does not exist, I put the exit of web37 for example...
Code:
#ls -la /var/www/web37
total 76
drwxr-xr-x   8 xxxxxxxx.com_ftp web37  4096 nov  3 10:02 .
drwxrwxrwx 403 root                  root  36864 nov  4 13:43 ..
drwxr-xr-x   2 xxxxxxxxx.com_ftp web37  4096 ene 15  2008 cgi-bin
-rw-------   1 xxxxxxxx.com_ftp web37     0 nov  3 10:02 .forward
-rw-rw-r--   1 root                  web37   149 nov  4 04:31 .htpasswd
drwxr-xr-x   3 xxxxxxxx.com_ftp web37  4096 nov  2 00:30 log
lrwxrwxrwx   1 root                  root     49 nov  3 10:02 Maildir -> /var/www/web37/user/xxxxxxx.com_ftp/Maildir
drwxrwxrwx   2 apache                web37  4096 ene 15  2008 phptmp
-rw-r--r--   1 root                  root    535 nov  3 10:02 .procmailrc
lrwxrwxrwx   1 root                  root     56 nov  3 10:02 .spamassassin -> /var/www/web37/user/xxxxxxxx.com_ftp/.spamassassin/
drwxr-xr-x   2 xxxxxxxx.com_ftp web37  4096 ene 15  2008 ssl
drwxr-xr-x   6 xxxxxxxx.com_ftp web37  4096 abr 24  2008 user
lrwxrwxrwx   1 root                  root     57 nov  3 10:02 .vacation.cache -> /var/www/web37/user/xxxxxxxxx.com_ftp/.vacation.cache
drwxrwxr-x  14 xxxxxxxx.com_ftp web37  4096 abr 24  2008 web
And
Code:
# ls -la /var/www/web37/user/
total 24
drwxr-xr-x 6 xxxxxxxx.com_ftp    web37 4096 abr 24  2008 .
drwxr-xr-x 8 xxxxxxx.com_ftp    web37 4096 nov  3 10:02 ..
drwxr-xr-x 5 xxxxxxx.com_carlos web37 4096 ene 24  2008 xxxxxxxx.com_carlos
drwxr-xr-x 5 xxxxxxxx.com_ftp    web37 4096 nov  3 10:02 xxxxxxxx.com_ftp
drwxr-xr-x 5 xxxxxxxxx.com_info   web37 4096 feb  5  2008 xxxxxxxxx.com_info
drwxr-xr-x 5 xxxxxxx.com_pres   web37 4096 ene 20  2008 xxxxxxxxx.com_pres
-r-------- 1 root                     root     0 ene 15  2008 .no_delete
Thanks for your help
Reply With Quote
Sponsored Links
  #12  
Old 5th November 2008, 17:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

The permissions of the /var/www directory are too permissive for procmail. Please run
Code:
chmod 755 /var/www
__________________
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
  #13  
Old 5th November 2008, 23:30
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default

I changed permission in /var/www
and I wrote "|/usr/bin/procmail -f-" in /root/ispconfig/isp/cont/forward.master
Now i can recive ok mails with this line in /root/ispconfig/isp/cont/forward.master, but my antispam continues without working
It doesnt mark any mail as spam and in my tab of anti-vir and filter anti-spam that option its checked.
Reply With Quote
  #14  
Old 6th November 2008, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Please make sure that "|/usr/bin/procmail -f-" is also in the .forward file in the home directory of the affected users.
__________________
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
  #15  
Old 6th November 2008, 15:15
chua_jose chua_jose is offline
Member
 
Join Date: Nov 2007
Posts: 70
Thanks: 6
Thanked 2 Times in 2 Posts
Default

hi Falko.....
if i write "|/usr/bin/procmail -f-" in .forward file of any user, then this user dont recive mails.
Only it works if the file .forward of user affected is empty....

i add this lines in my main.cf of postfix to avoid the spam..
Code:
smtpd_helo_required = yes
disable_vrfy_command = yes
strict_rfc821_envelopes = yes
invalid_hostname_reject_code = 554
multi_recipient_bounce_reject_code = 554
non_fqdn_reject_code = 554
relay_domains_reject_code = 554
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_sender_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554

smtpd_recipient_restrictions =
            reject_invalid_hostname,
            reject_unknown_recipient_domain,
            reject_unauth_pipelining,
            permit_mynetworks,
            permit_sasl_authenticated,
            reject_unauth_destination,
            reject_rbl_client multi.uribl.com,
            reject_rbl_client zen.spamhaus.org,
            reject_rbl_client dnsbl.njabl.org,
            reject_rbl_client whois.rfc-ignorant.org,
            reject_rbl_client combined.rbl.msrbl.net,
            permit
but i wanted to use the anti-spam filter

thanks
Reply With Quote
  #16  
Old 6th November 2008, 23:20
z33k3r z33k3r is offline
Member
 
Join Date: Jan 2007
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I too seem to be having this issue. Running Perfect Ubuntu setup and just upgraded from .24 to .27 hoping to fix the issue... No luck.

I started off being able to send but not receive email, then through a number of trial and errors figured out DNS was an issue (now resolved). Now I send emails to the server and they are no longer getting bounced back as an undeliverable mailbox.... but I also never actually get the emails..

Any help would be greatly appreciated!
Reply With Quote
  #17  
Old 7th November 2008, 13:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

I have no idea what's causing this. If you're using Ubuntu, make sure that AppArmor is disabled and that /bin/sh is a symlink to /bin/bash, not /bin/dash.
__________________
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
  #18  
Old 9th November 2008, 21:20
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

check the permissions in /var/spool/postfix

mine look like this

Code:
drwx------  2 postfix root     4096 Nov  9 19:42 active
drwx------  2 postfix root     4096 Nov  8 21:01 bounce
drwx------  2 postfix root     4096 Jan  7  2008 corrupt
drwx------  7 postfix root     4096 Nov  8 10:18 defer
drwx------  7 postfix root     4096 Nov  8 10:18 deferred
drwxr-xr-x  2 root    root     4096 Nov  9 07:48 etc
drwx------  2 postfix root     4096 Jan  7  2008 flush
drwx------  2 postfix root     4096 Jan  7  2008 hold
drwx------  2 postfix root     4096 Nov  9 19:42 incoming
drwxr-xr-x  2 root    root     4096 Nov  9 07:48 lib
drwx-wx--T  2 postfix postdrop 4096 Nov  8 21:03 maildrop
drwxr-xr-x  2 postfix root     4096 Oct 15 22:46 pid
drwx------  2 postfix root     4096 Nov  9 07:48 private
-rw-------  1 root    root     1024 Nov  9 21:13 prng_exch
drwx--s---  2 postfix postdrop 4096 Nov  9 07:48 public
drwx------  2 postfix root     4096 Jan  7  2008 saved
-rw-------  1 root    root     8192 Nov  9 09:21 smtp_scache.db
-rw-------  1 root    root     8192 Nov  9 19:21 smtpd_scache.db
drwx------  2 postfix root     4096 Jan  7  2008 trace
drwxr-xr-x  3 root    root     4096 Jan  7  2008 usr
drwxr-xr-x  3 root    root     4096 Jan  7  2008 var
but I have seen that in an other configuration it was like this

Code:
drwx------ 2 postfix postfix 1 Jul 28 13:47 active
drwx------ 2 postfix postfix 1 Jul 28 13:46 bounce
drwx------ 2 postfix postfix 1 Mar 21 03:09 corrupt
drwxr-xr-x 18 postfix postfix 4096 Mar 21 03:07 defer
drwxr-xr-x 18 postfix postfix 4096 Mar 21 03:07 deferred
drwx------ 2 postfix postfix 1 Mar 21 03:09 flush
drwx------ 2 postfix postfix 1 Mar 21 03:09 hold
drwx------ 2 postfix postfix 1 Jul 28 13:47 incoming
drwx-wx--- 2 postfix postdrop 1 Jun 18 00:09 maildrop
drwxr-xr-x 2 postfix postfix 4096 Mar 21 13:30 pid
drwx------ 2 postfix postfix 4096 Jul 27 01:23 private
drwx--x--- 2 postfix postdrop 4096 Jul 27 01:23 public
drwx------ 2 postfix postfix 1 Mar 21 03:09 saved
drwx------ 2 postfix postfix 1 Jul 28 12:54 trace
Reply With Quote
  #19  
Old 10th November 2008, 18:55
z33k3r z33k3r is offline
Member
 
Join Date: Jan 2007
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Here's mine:
Code:
$ ls -l
total 72
drwx------ 2 postfix root     4096 2008-11-10 09:52 active
drwx------ 2 postfix root     4096 2008-08-19 13:57 bounce
drwx------ 2 postfix root     4096 2008-08-19 13:57 corrupt
drwx------ 4 postfix root     4096 2008-11-01 19:01 defer
drwx------ 4 postfix root     4096 2008-11-01 19:01 deferred
drwxr-xr-x 2 root    root     4096 2008-11-09 23:59 etc
drwx------ 2 postfix root     4096 2008-08-19 13:57 flush
drwx------ 2 postfix root     4096 2008-08-19 13:57 hold
drwx------ 2 postfix root     4096 2008-11-10 09:52 incoming
drwxr-xr-x 2 root    root     4096 2008-11-09 23:59 lib
drwx-wx--T 2 postfix postdrop 4096 2008-11-10 09:52 maildrop
drwxr-xr-x 2 postfix root     4096 2008-11-01 18:39 pid
drwx------ 2 postfix root     4096 2008-11-09 23:59 private
drwx--s--- 2 postfix postdrop 4096 2008-11-09 23:59 public
drwx------ 2 postfix root     4096 2008-08-19 13:57 saved
drwx------ 2 postfix root     4096 2008-08-19 13:57 trace
drwxr-xr-x 3 root    root     4096 2008-08-19 13:57 usr
drwxr-xr-x 3 root    root     4096 2008-08-19 14:01 var
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
Can't login SquirrelMail satimis Server Operation 23 10th June 2008 13:51
Virtual Users And Domains With Postfix, Courier And MySQL - TLS not working c4rdinal HOWTO-Related Questions 22 29th April 2008 01:44
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 06:17.


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