
6th May 2009, 17:15
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
Using Squirrelmail with ISPConfig 3 and Courier IMAP
I think I am working out the final kinks in using squirrelmail with a new ISPConfig 3 installation. I followed all the instructions for a Fedora 10 install at:
http://www.howtoforge.com/perfect-se...10-ispconfig-3
At first, I had a problem with courier-imap, but all services are running now and
.../squirrelmail/src/configtest.php
Passes all tests.
For some reason, I can log in to new email accounts and send mail. However, mail messages are not being received.
Not sure where to start troubleshooting. I suppose I can go to the logs in
/var/log such as # cat maillog | grep email@address.com
... Now what? Thanks for any help!!
|

6th May 2009, 19:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,888
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Please post an excerpt of your mail log when you send an email to the server.
|

6th May 2009, 22:26
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
Quote:
Originally Posted by till
Please post an excerpt of your mail log when you send an email to the server.
|
Here is the ouput after sending inbound from gmail ...
Quote:
|
Originally Posted by dpicella
May 6 13:19:09 ss0609 postfix/pipe[5535]: 30E20240034: to=<my@email.com>, relay=maildrop, delay=0.06, delays=0.02/0.02/0/0.02, dsn=5.1.1, status=bounced (user unknown. Command output: Invalid user specified. )
May 6 13:19:09 ss0609 postfix/smtp[5530]: E3BEF240033: to=<my@email.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.5, delays=0.57/0.01/0.01/4.9, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 30E20240034)
|
Last edited by dpicella; 6th May 2009 at 22:28.
|

6th May 2009, 22:31
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
This is the output that was returned to gmail ...
Quote:
This is the mail system at host localhost.localdomain.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<my@email.com>: user unknown. Command output: Invalid user specified.
Final-Recipient: rfc822; my@email.com
Original-Recipient: rfc822;my@email.com
Action: failed
Status: 5.1.1
Diagnostic-Code: x-unix; Invalid user specified.
|
|

7th May 2009, 16:04
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
Problem may be with maildrop
I am starting to think that the problem is with maildrop. I am not sure how maildrop is configured or if it is set up to use mysql for authentication.
authtest my@email.com produces:
Quote:
Authentication succeeded.
Authenticated: my@email.com (uid 5000, gid 5000)
Home Directory: /var/vmail
Maildir: /var/vmail/email.com/my
Quota: 104857600
Encrypted Password: [something]
Cleartext Password: (none)
Options: disableimap=0,disablepop3=0
|
|

7th May 2009, 17:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
What's in /etc/postfix/master.cf?
|

7th May 2009, 17:39
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
Contents of /etc/postfix/master.cf
Quote:
#
# 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_authenticate d,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_authenticate d,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/bin/maildrop -d ${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,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
|
|

7th May 2009, 17:41
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,592 Times in 2,443 Posts
|
|
Change
Code:
maildrop unix - n n - - pipe
flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}
to
Code:
maildrop unix - n n - - pipe
flags=R user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
and restart Postfix.
|
|
The Following User Says Thank You to falko For This Useful Post:
|
|

7th May 2009, 17:48
|
|
Senior Member
|
|
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
|
|
Update of the postfix master.cf
It worked! --Thank you!
Cheers!
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:08.
|
|
Recent comments
1 day 2 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
2 days 8 hours ago
2 days 9 hours ago