HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   i dont recive any mail of any domain (http://www.howtoforge.com/forums/showthread.php?t=28288)

chua_jose 30th October 2008 16:48

i dont recive any mail of any domain
 
Hi
i have a problem,I cannot receive e-mails of any user of my ispconfig.
I can send email correctly, but I cannot receive them.

my maillog:
Oct 30 15:03:29 SD1111100130 postfix/local[24055]: 443AB3101B1: to=<xxxxxx.com_sistemas@SD1111100130.xxxxxxxxx.com >, orig_to=<sistemas@xxxxxxxxxxx.com>, relay=local, delay=1.5, delays=1.5/0/0/0.01, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail -f-)
Oct 30 15:03:29 SD1111100130 postfix/qmgr[23966]: 443AB3101B1: removed
Oct 30 15:12:52 SD1111100130 postfix/qmgr[27460]: 9BA983101B1: from=<chua_josesss@yahoo.es>, size=1745, nrcpt=1 (queue active)

The user to whom I try to send the e-mail this one in the file /etc/postfix/virtusertable and the domain of this user is in /etc/postfix/local-host-names

Which can be the problem?

till 31st October 2008 12:01

Please enable the maildir checkbox under management > server > settings

chua_jose 31st October 2008 12:21

hy till
this opction itīs checked.
It was going working correctly up to yesterday..

falko 31st October 2008 16:32

Please try this:

Code:

postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart


chua_jose 2nd November 2008 01:38

this is my postfix configuration:
Code:

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
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
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
sendmail_path = /usr/sbin/sendmail.postfix
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.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
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
mynetworks = 127.0.0.0/8
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
smtpd_sasl_authenticated_header = yes
myhostname =xxxxxxxx.com
mailbox_command =
message_size_limit = 30971520

if i deleted line "| /usr/bin/procmail -f-" of the file /root/ispconfig/isp/conf/forward.master, then it works and i can recive mails, but antispam dont work
which can be the problem??

falko 2nd November 2008 15:09

Is procmail installed on your system? What's the output of
Code:

which procmail
?

chua_jose 3rd November 2008 00:17

Hi falko
yes its
output:

Code:

#which procmail
/usr/bin/procmail


falko 3rd November 2008 15:41

Is there a file /etc/procmailrc? If so, what's in it?

chua_jose 3rd November 2008 16:01

Hi Falko
there isnt file /etc/procmailrc
but if i search procmailrc, i find:

Code:

#locate procmailrc
/home/admispconfig/.procmailrc
/root/ispconfig/isp/conf/procmailrc.master
/usr/share/doc/procmail-3.22/telsas_procmailrc
/usr/share/doc/procmail-3.22/examples/1procmailrc
/usr/share/doc/procmail-3.22/examples/2procmailrc
/usr/share/doc/procmail-3.22/examples/3procmailrc
/usr/share/man/man5/procmailrc.5.gz
/var/www/web1/.procmailrc
/var/www/web1/user/xxxx.net_admin/.procmailrc
/var/www/web11/.procmailrc
/var/www/web11/user/xxxxxx.com_admision/.procmailrc
/var/www/web2/.procmailrc
...
etc

and /root/adminispconfig/.procmailrc is:
Code:

[root@isp objects]# vi /home/admispconfig/.procmailrc
SHELL=/bin/sh

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

:0
* ^Subject:.*Mailsize:*
{
:0
| formail -I "" | sed -e '/^$/d' >> /home/admispconfig/mailstats/${USERNAME}
}

And /rot/ispconfig/isp/conf/procmailrc.master is
Code:

{MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
{MAILDIR_COMMENT}DEFAULT=$MAILDIR
{MAILDIR_COMMENT}ORGMAIL=$MAILDIR
{QUOTA}
INCLUDERC={PMDIR}/.mailsize.rc
{QUOTA_COMMENT}INCLUDERC={PMDIR}/.quota.rc
{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
{AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc


falko 4th November 2008 14:03

Did you maybe change the permissions of the directories? What's the output of
Code:

ls -la /var/www/web1/
and
Code:

ls -la /var/www/web1/user/
?


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

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