ispCP - Board - Support
SMTP problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: SMTP problem (/thread-1449.html)

Pages: 1 2 3


SMTP problem - Y2K.bug - 10-05-2007 01:18 AM

Hello, I have a problem with sending an email. If I use webmail, everything is OK, but when I use thunderbird, It seems that SMTP refuses connection, or some authorisation fails. I have an old one VHCS omega on one of my servers and it works well there, but on this new one it doesnt workSad

Quote:www:~# postconf -n
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = http://www.bbbbb.cz, localhost.bbbbb.cz, localhost
mydomain = bluesoft.cz
myhostname = mail.bluesoft.cz
mynetworks = 127.0.0.1/32, aa.bb.246.95/24
mynetworks_style = host
myorigin = $mydomain
setgid_group = postdrop
smtpd_banner = $myhostname ISPCP 1.0 Priamos Managed ESMTP 1.0.0 RC2 OMEGA
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, per
mit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1000

I can't find anything in log files about refusing connection or something....

Thx for replys[/quote]


RE: SMTP problem - rbtux - 10-05-2007 01:24 AM

may i ask a stupid question?

have you enabled authentication for smtp server in thunderbird?

When youve done that -> http://postfix.state-of-mind.de/patrick.koetter/saslfinger/


RE: SMTP problem - joximu - 10-05-2007 05:35 AM

And use port 587 in thunderbird for sending Mails (with SMTP Auth!)

/Joxi


RE: SMTP problem - Y2K.bug - 10-10-2007 08:57 PM

hi, I have tried saslfinger and it writes:

Quote:saslfinger - postfix Cyrus sasl configuration Wed Oct 10 11:02:20 UTC 2007
version: 1.0.2
mode: client-side SMTP AUTH

-- basics --
Postfix: 2.3.8
System: Debian GNU/Linux 4.0 \n \l

-- smtp is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7d9e000)

-- active SMTP AUTH and TLS parameters for smtp --
No active SMTP AUTH and TLS parameters for smtp in main.cf!
SMTP AUTH can't work!

why?


RE: SMTP problem - Y2K.bug - 10-10-2007 09:04 PM

but i think, this will not be the probelm, because it writes on my second server too...

this is what I have found in var/log/mail.log

Oct 10 11:08:26 www postfix/smtpd[22582]: connect from ip-89-103-7-191.karneval.cz[89.103.7.191]
Oct 10 11:08:31 www postfix/smtpd[22582]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Oct 10 11:08:31 www postfix/smtpd[22582]: warning: SASL authentication failure: Password verification failed
Oct 10 11:08:31 www postfix/smtpd[22582]: warning: ip-89-103-7-191.karneval.cz[89.103.7.191]: SASL PLAIN authentication failed: generic failure
Oct 10 11:08:31 www postfix/smtpd[22582]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory
Oct 10 11:08:31 www postfix/smtpd[22582]: warning: ip-89-103-7-191.karneval.cz[89.103.7.191]: SASL LOGIN authentication failed: generic failure
Oct 10 11:08:32 www postfix/smtpd[22582]: disconnect from ip-89-103-7-191.karneval.cz[89.103.7.191]


RE: SMTP problem - joximu - 10-10-2007 10:16 PM

Do you have this part in your main.cf?
Code:
#
# SASL paramters;
#

smtpd_sasl_auth_enable       = yes
smtpd_sasl2_auth_enable      = yes
smtpd_sasl_security_options  = noanonymous
smtpd_sasl_local_domain      =
broken_sasl_auth_clients     = yes
smtpd_sender_restrictions    = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination
smtpd_recipient_restrictions = permit_mynetworks,
                               permit_sasl_authenticated,
                               reject_unauth_destination
                               check_policy_service inet:127.0.0.1:60000

and this line in the master.cf?
Code:
587       inet  n       -       -       -       -       smtpd
   -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination


/J


RE: SMTP problem - Y2K.bug - 10-12-2007 07:57 AM

thx for reply, but I have both codes thereSad It still isn't working. I can send an email from webmail, but not from the thunderbirdSad(


RE: SMTP problem - joximu - 10-12-2007 08:48 AM

Hi
I don't know where's the problem - can be everything.
We need more logs and Infos from Thunderbird.

If you want, I can test is, just give me the account details for a mail account via PM.

/Joximu


RE: SMTP problem - BeNe - 10-12-2007 03:44 PM

Maybe a Firewall on the Client or in the Network ?

Greez BeNe


RE: SMTP problem - bpratt - 11-12-2007 07:38 PM

Y2K.bug Wrote:Hello, I have a problem with sending an email. If I use webmail, everything is OK, but when I use thunderbird, It seems that SMTP refuses connection, or some authorisation fails. I have an old one VHCS omega on one of my servers and it works well there, but on this new one it doesnt workSad

I can't find anything in log files about refusing connection or something....

I'm having a similar issue here on my Debian Etch system.

In my auth.log file I find this error :-

Quote: admin saslauthd[30641]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module

admin saslauthd[30641]: do_auth : auth failure: [user=yyyyy@zzzz.com.au] [service=smtp] [realm=zzzz.com.au] [mech=pam] [reason=PAM auth error]

I'm thinking perhaps when I installed ispcp that the install script didn't install something right. Sad

Your assistance in solving this problem would be appreciated. Smile