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=27)
-   -   ISPC3 Inbound Email Issue (http://www.howtoforge.com/forums/showthread.php?t=34269)

sonicscott 28th April 2009 22:33

ISPC3 Inbound Email Issue
 
I am receiving the following bounce message when someone tries to send email to my ISPC3 server (Ubuntu 8.10):

<user@somedomain.org>: user unknown. Command output: ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified.

The strange thing is that it did appear to be working yesterday during initial testing!

The user DOES exist (checked spelling, etc). Tried doing a Google search (as well as this forum) and can't seem to find anything relevant.

Thanks,
Scott

tebokkel 29th April 2009 10:40

On first sight, it looks to me like you messed up the mySQL username (or perhaps password) for the Courier-mysql authdaemon..

Paul

sonicscott 29th April 2009 18:13

HowTo question
 
What would be the best way to fix this issue?

I have looked at several of the conf files, and it shows the sasl user to be ispconfig and the password is encrypted.

This is from the mail.info log file:

Apr 29 11:25:20 webhost1 postfix/pipe[10207]: 4C4FC13004CB: to=<postmaster@renshawauto.org>, relay=maildrop, delay=0.05, delays=0.01/0.01/0/0.03, dsn=5.1.1, status=bounced (user unknown. Command output: ERR: authdaemon: s_connect() failed: Permission denied Invalid user specified. )

Inside the control panel, under the 'Monitor' area, I've noticed the following:

ISPC Cron-Log: /bin/sh: /usr/local/ispconfig/server/scripts/run-getmail.sh: Permission denied
(This is repeated over and over again.)

Not sure if this has anything to do with the authdaemon error above, but thought I would mention it.

Also, I deleted the above email account, then re-added it. Same result. All accounts send email just fine. Seems to be a receiving issue only.

Thanks!

till 30th April 2009 15:01

Which exact ISPConfig version do you have installed?

sonicscott 30th April 2009 17:37

Version
 
The login screen shows: ISPConfig 3.0.1

falko 1st May 2009 17:52

What's in /etc/postfix/master.cf?

sonicscott 1st May 2009 22:11

Quote:

Originally Posted by falko (Post 185425)
What's in /etc/postfix/master.cf?

Per your request, and thank you:

#
# 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 - - - - smtpd
#submission inet 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 - - - - 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 - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 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}
#
# 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/lib/bsmtp/bsmtp -t$nexthop -f$sender $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

till 2nd May 2009 09:49

Please update to the latest ispconfig 3 version 3.0.1.1 and select that you want to reconfigure the services during update to fix this.

sonicscott 2nd May 2009 17:23

Quote:

Originally Posted by till (Post 185549)
Please update to the latest ispconfig 3 version 3.0.1.1 and select that you want to reconfigure the services during update to fix this.

That seems to have done the trick regarding email. Thank you!

I did find one strange error. In the ISPC cron log, I am now getting this line:

Error: configuration file /etc/getmail/*.conf does not exist

I checked that directory and it is completely empty. Is this normal?

Thanks again for the help!

falko 2nd May 2009 20:39

Yes, if you didn't configure any fetchmail accounts in ISPConfig - you can then ignore the error message.


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

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