Current time: 12-24-2024, 03:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
SMTP problem
Author Message
Y2K.bug Offline
Newbie
*

Posts: 7
Joined: Oct 2007
Reputation: 0
Post: #1
SMTP problem
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]
10-05-2007 01:18 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: SMTP problem
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....aslfinger/
10-05-2007 01:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: SMTP problem
And use port 587 in thunderbird for sending Mails (with SMTP Auth!)

/Joxi
10-05-2007 05:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Y2K.bug Offline
Newbie
*

Posts: 7
Joined: Oct 2007
Reputation: 0
Post: #4
RE: SMTP problem
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?
10-10-2007 08:57 PM
Find all posts by this user Quote this message in a reply
Y2K.bug Offline
Newbie
*

Posts: 7
Joined: Oct 2007
Reputation: 0
Post: #5
RE: SMTP problem
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]
10-10-2007 09:04 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: SMTP problem
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
10-10-2007 10:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Y2K.bug Offline
Newbie
*

Posts: 7
Joined: Oct 2007
Reputation: 0
Post: #7
RE: SMTP problem
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(
10-12-2007 07:57 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #8
RE: SMTP problem
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
10-12-2007 08:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: SMTP problem
Maybe a Firewall on the Client or in the Network ?

Greez BeNe
10-12-2007 03:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #10
RE: SMTP problem
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
11-12-2007 07:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)