I have ispconfig 3 install on fedora 12 and for some reason courier is not working fully, when i do maildrop -d [email protected] i get invaild user, when ispconfig has made the account, so it should be vaild, for what i get out of the maillog it seems that courier mta is workin but not finding the right place/folder to put the email. i have been googling for a while now with no luck so anyone that has an idea about what is goin on, i am willing to post up conf files/ outputs if need. also i can send email to gmail but not recive on my server. thank Doginal
You can not test maildrop like you did above, your test is only for linux system users and will not work for virtual users. Please post the content of the postfix master.cf file.
There is no master.cf file available in the link above. Please attache the amster.cf file as text file to your post.
here is the master.cf sorry about before Code: # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # Do not forget to execute "postfix reload" after editing this file. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd #submission inet n - n - - smtpd # -o smtpd_tls_security_level=encrypt # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #628 inet n - n - - qmqpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/local/bin/maildrop -d vmail ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender} # # ==================================================================== # # The Cyrus deliver program has changed incompatibly, multiple times. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user} # # ==================================================================== # # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 # #cyrus unix - n n - - pipe # user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user} # # ==================================================================== # # See the Postfix UUCP_README file for configuration details. # #uucp unix - n n - - pipe # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # ==================================================================== # # Other external delivery methods. # #ifmail unix - n n - - pipe # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) # #bsmtp unix - n n - - pipe # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient # #scalemail-backend unix - n n - 2 pipe # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store # ${nexthop} ${user} ${extension} # #mailman unix - n n - - pipe # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py # ${nexthop} ${user} amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks -o smtpd_bind_address=127.0.0.1
Looks correct so far. Please create a email account in ispconfig, login with webmail into this account and send a email to this account from within webmail. Then post the eaxct lines that appear in the mail log file.
The mail seems to be delivered correctly to maildrop. Please post the output of the command: ls -la /var/vmail also check in the ispconfig monitor if there are any pending jobs in the jobqueue or any errors in the system log.
sorry for the delay, output for ls -la /var/vmail Code: drwx------ 13 vmail vmail 4096 2010-01-10 12:35 . drwxr-xr-x 25 root root 4096 2009-12-14 02:00 .. drwx------ 3 vmail vmail 4096 2010-01-06 20:14 alex -rw-r--r-- 1 vmail vmail 18 2009-09-16 03:15 .bash_logout -rw-r--r-- 1 vmail vmail 176 2009-09-16 03:15 .bash_profile -rw-r--r-- 1 vmail vmail 124 2009-09-16 03:15 .bashrc drwx------ 3 vmail vmail 4096 2010-01-07 12:22 cathy drwxr-xr-x 2 vmail vmail 4096 2009-09-23 17:21 .gnome2 drwxr-xr-x 3 vmail vmail 4096 2010-01-10 19:18 grgs.ca drwxr-xr-x 4 vmail vmail 4096 2010-01-10 19:26 grgstechnicalsolutions.com drwx------ 3 vmail vmail 4096 2010-01-06 20:14 james drwx------ 5 vmail vmail 4096 2009-12-14 01:06 Maildir -rw------- 1 vmail vmail 1382 2010-01-07 12:27 .mailfilter -rw-r--r-- 1 root root 1382 2010-01-07 12:27 .mailfilter~ drwxr-xr-x 5 root root 4096 2010-01-06 16:26 mailfilters drwxr-xr-x 2 vmail vmail 4096 2010-01-06 16:06 mail.griggstechnicalsolutions.com drwxr-xr-x 4 vmail vmail 4096 2009-12-13 18:41 .mozilla drwx------ 4 vmail vmail 4096 2010-01-10 19:25 test -rw-r--r-- 1 vmail vmail 658 2009-08-07 08:50 .zshrc There is no pending jobs in jobqueue or any errors in system log but i see Code: WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/. alot in /var/log/boot.log and also, Code: Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using xxxx.gggstechnicaolutions.com for ServerName [Sun Jan 10 19:19:11 2010] [warn] NameVirtualHost 192.168.0.5:443 has no VirtualHosts [Sun Jan 10 19:19:11 2010] [warn] NameVirtualHost *:80 has no VirtualHosts ispconfig also states that fail2ban is not install but yum install states Package fail2ban-0.8.4-23.fc12.noarch already installed and latest version
just a heads up, i figured it out, i installed the full courier package and not just the courier-imap rpm, by uninstalling courier and install courier-imap and maildrop it works! o and thanks for you help till
Is this still happening? Your link to mail log seems gone. I wonder if you're getting an error about having users listed in main.cf and in virtual_users (or similar). Are you able to re-post the config?