Boot problem with freebsd 5.3

2005-03-14 Thread cell
hello , i have problem when i boot with freebsd 5.3 since i have had a power 
cut .The message of the error is : 

error 16 Iba 191
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/kernel
boot: error 16 Iba 191
No /kernel

I don't know if the hard disk is endommaged but i don't think.How do for boot 
in freebsd ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


boot problems

2005-03-15 Thread cell
hello , i have already the sameproblem when i boot with freebsd 5.3 since i 
have had a power cut .The message of the error is : 

error 16 Iba 191
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/kernel
boot: error 16 Iba 191
No /kernel

I have tried boot : /kernel.old but i have No /kernel.old and i don't know how 
do with the bootonly cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


boot problems

2005-03-23 Thread cell
hello , i have already the sameproblem when i boot with freebsd 5.3 since i 
have had a power cut .The message of the error is : 

error 16 Iba 191
No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/kernel
boot: error 16 Iba 191
No /kernel

I have tried boot : /kernel.old but i have No /kernel.old and i don't know how 
do with the bootonly cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with postfix / mysql /maildrop / courier-imap

2005-07-15 Thread cell
Hello , i have a problem when i sent a mail with a virtual user.I am on freebsd 
5.4 and i use postfix-2.1.5_1,1 , maildrop-1.8.0_3  , courier-authlib-0.56 , 
courier-authlib-mysql-0.56 and courier-imap-4.0.3,1 .
When i sent a mail with a virtual user , i have that in my log :

Jul 15 17:56:27 linux-win postfix/smtpd[1067]: connect from localhost[127.0.0.1]
Jul 15 17:56:27 linux-win postfix/smtpd[1067]: NOQUEUE: reject: RCPT from 
localhost[127.0.0.1]: 550 <[EMAIL PROTECTED]>: Recipient address rejected: User 
unknown in virtual mailbox table; from=<[EMAIL PROTECTED]> to=<[EMAIL 
PROTECTED]> proto=ESMTP helo=
Jul 15 17:56:27 linux-win postfix/smtpd[1067]: lost connection after RCPT from 
localhost[127.0.0.1]
Jul 15 17:56:27 linux-win postfix/cleanup[1068]: 8EF685806: message-id=<[EMAIL 
PROTECTED]>
Jul 15 17:56:27 linux-win postfix/qmgr[667]: 8EF685806: from=<[EMAIL 
PROTECTED]>, size=862, nrcpt=1 (queue active)
Jul 15 17:56:27 linux-win postfix/smtpd[1067]: disconnect from 
localhost[127.0.0.1]
Jul 15 17:56:33 linux-win postfix/local[1069]: 8EF685806: to=<[EMAIL 
PROTECTED]>, orig_to=, relay=local, delay=6, status=sent (delivered 
to command: /usr/local/bin/procmail)
Jul 15 17:56:33 linux-win postfix/qmgr[667]: 8EF685806: removed
Jul 15 17:57:05 linux-win imapd: LOGIN, user=flob2009, ip=[:::127.0.0.1], 
protocol=IMAP
Jul 15 17:57:05 linux-win imapd: LOGOUT, user=flob2009, ip=[:::127.0.0.1], 
headers=0, body=0, time=0


In my main.cf , i have that :


command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
smtpd_banner = $myhostname ESMTP $mail_name $mail_version (FreeBSD)
setgid_group = maildrop
biff = no
masquerade_domains = mail.linux-win.org linux-win.org
masquerade_exceptions = root
# appending .domain is the MUA's job.
append_dot_mydomain = yes
myhostname = linux-win.org
mydestination = $myhostname
alias_maps = hash:/usr/local/etc/postfix/aliases
alias_database = hash:/usr/local/etc/postfix/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/mail
local_destination_concurrency_limit= 1
default_destination_concurrency_limit = 1
smtpd_recipient_limit = 50
notify_classes=bounce,resource,software,policy
relayhost =
relay_domains =
mynetworks = 192.168.1.0/32, 192.168.3.0/32, 127.0.0.0/8
mailbox_command = /usr/local/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/local/bin/mailq
message_size_limit = 1000
recipient_delimiter = +
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,

reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain
smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access,
reject_unknown_sender_domain,
reject_invalid_hostname
header_checks = regexp:/usr/local/etc/postfix/header_checks
strict_rfc821_envelopes = yes
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
manpage_directory = /usr/local/man
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450

virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = 
mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = 
mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit = 5120
virtual_minimum_uid = 125
virtual_transport = maildrop
virtual_uid_maps = static:125
content_filter = smtp-amavis:[127.0.0.1]:10024

My authmysqlrc is :

MYSQL_CRYPT_PWFIELD password
MYSQL_DATABASE  postfix
MYSQL_GID_FIELD '125'
MYSQL_HOME_FIELD'/home/vmail'
MYSQL_LOGIN_FIELD   username
MYSQL_MAILDIR_FIELD maildir
MYSQL_NAME_FIELDname
MYSQL_OPT   0
MYSQL_PASSWORD  **
MYSQL_SERVERlocalhost
MYSQL_UID_FIELD '125'
MYSQL_USERNAME  postfix
MYSQL_USER_TABLEmailbox

and i have add a virtual domain who is "mail.linux-win.org" and a virtual user 
with phpmyadmin.With phypmyadmin , in the table "mailbox" , i have that :

username flob2009
password  *
nameMailbox User
maildir  [EMAIL PROTECTED]/Maildir/
quota0


etc...


With maildrop , i have that :

maildrop -V 9 -d flob2009
maildrop: authlib: groupid=125
maildrop: authlib: userid=125
maildrop: authlib: logname=flob2009, home=/home/vmail, [EMAIL 
PROTECTED]/Maildir/
maildrop: Changing to /home/vmail


Anyone see where is the probleme , because i don't know why postfix say 
"Recipient address rejected: User unknown in virtual mailbox table".







___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To 

Problems with samba over VPN

2005-07-19 Thread cell
Hello , i have created a VPN  ( with openvpn-2.0_3  on freebsd 5.4 ) between my 
network who has a gateway on freebsd 5.4 and others computer on win xp, 
and a network who has windows xp home as gateway.Windows xp home used openvpn 2 
too and i have created a bridge in my freebsd gateway and the windows xp 
gateway have created a bridge too.Now , i have configured samba on my freebsd 
gateway and i must see normally  (in my computers on windows xp ) the windows 
xp gateway of the other network in my workgroup but i just see this computer 
for ten minutes !!! After that , i don't see it any more and i don't understand 
why !!! Anyone have an idea for this problem ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with squidGuard and squidGuard.cgi

2005-07-22 Thread cell
Hello , i'm on freebsd 5.4 and i tried to configure squidGuard but i have a 
problem with squidGuard.cgi.I have this squidGuard.cgi 
http://ftp.teledanmark.no/pub/www/proxy/squidGuard/contrib/squidGuard.cgi .In 
configurable options i have that :

# CONFIGURABLE OPTIONS:
#
@supported   = (
 # "en", "fr", "de", "nl", "no" etc.
"fr (Français),",
"en (English),",
"de (Deutsch),",
"nl (Nederlands),",
"no (norsk)."
   );
$image   = "/images/blocked.gif";  
# RELATIVE TO DOCUMENT_ROOT
$redirect= "http://192.168.1.2:88/images/blocked.gif";; # "" TO 
AVOID REDIRECTION
$proxy   = "bsd2.mydomain";   #
$proxymaster = [EMAIL PROTECTED]; #
$autoinaddr  = 2;  # 0|1|2;

I have created a directory "/usr/local/www/data/images" but i haven't got 
picture named "blocked.gif" , i don't know where she is.
And when i run this script cgi , i have that in logs apache :

[Fri Jul 22 18:55:24 2005] [error] [client 192.168.1.3] Premature end of script 
headers: squidGuard.cgi


Anyone have an idea for this problem ?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Samba over VPN

2005-07-28 Thread cell
Hello , i have created a VPN ( with openvpn-2.0_3 on freebsd 5.4 )  between my 
network who has a gateway on freebsd 5.4 and others computer on  win xp, and a 
network who has windows xp home as gateway.Windows xp home gateway used openvpn 
2 too and i have created a bridge in my freebsd gateway and the windows xp 
gateway have created a bridge too.Now , i have configured samba  on my freebsd 
gateway and i must see normally (in my computers on windows xp ) the windows xp 
gateway of the other network in my workgroup but i just see this computer for 
ten minutes !!! After that , i don't see it any more and i don't understand why 
!!! Anyone have an idea for this problem ? 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Samba over VPN

2005-07-28 Thread cell

The VPN network is look like http://www.linux-win.org/reseau.png
- Original Message - 
From: "Chris Haulmark" <[EMAIL PROTECTED]>

To: "cell" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, July 28, 2005 9:07 PM
Subject: Re: Samba over VPN



On Thu, 2005-07-28 at 20:06 +0200, cell wrote:
Hello , i have created a VPN ( with openvpn-2.0_3 on freebsd 5.4 ) 
between my network who has a gateway on freebsd 5.4 and others computer 
on  win xp, and a network who has windows xp home as gateway.Windows xp 
home gateway used openvpn 2 too and i have created a bridge in my freebsd 
gateway and the windows xp gateway have created a bridge too.Now , i have 
configured samba  on my freebsd gateway and i must see normally (in my 
computers on windows xp ) the windows xp gateway of the other network in 
my workgroup but i just see this computer for ten minutes !!! After that 
, i don't see it any more and i don't understand why !!! Anyone have an 
idea for this problem ?





Turn on word wrap please.

Draw a diagram of what your network looks like.

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with munin

2005-07-31 Thread cell
Hello , i'm on freebsd 5.4 and i use munin-main-1.2.2  and munin-node-1.2.2 but 
i have a problem when i run munin.I have in log "munin-graph.log" that :

Jul 31 18:13:18 - Unable to graph 
/usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
Garbage ':' after command:
Jul 31 18:13:18 - Unable to graph 
/usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
Garbage ':' after command:
COMMENT: Cur:
Jul 31 18:13:18 - Unable to graph 
/usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
Garbage ':' after command:
COMMENT: Cur:
Jul 31 18:13:18 - Unable to graph 
/usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
Garbage ':' after command:
COMMENT: Cur:
Jul 31 18:13:18 - Unable to graph 
/usr/local/var/munin/linux-win.org/gw-bsd.linux-win.org-vmstat-sleep-g.rrd: 
Garbage ':' after command:

I usr rrdtool-1.2.11 and i don't understand why i have this problem.Anyone have 
an idea ?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with SASL2 and postfix on freebsd

2005-08-05 Thread cell
Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 , 
cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with 
sasl2.When i do "telnet localhost 25" , i have that :

Trying 127.0.0.1...
Connected to localhost.linux-win.org.
Escape character is '^]'.
220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
ehlo example.pl
250-gw-bsd.linux-win.org
250-PIPELINING
250-SIZE 1000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME


and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my main.cf 
, i have that :

smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, 
reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain
smtpd_sender_restrictions = permit_sasl_authenticated , 
hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, 
reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = no

In /usr/local/lib/sasl2 i have that :

pwcheck_method: saslauthd
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: maildb
sql_passwd: *
sql_database: maildb
sql_select: select clear from users where id='[EMAIL PROTECTED]'


and in /etc/pam.d/smtp i have that :

authoptionalpam_mysql.so host=127.0.0.1 db=maildb 
user=maildb \
  passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y
account requiredpam_mysql.so host=127.0.0.1 db=maildb 
user=maildb \
  passwd=* sql table=users usercolumn=id passwdcolumn=clear crypt=y

I don't understand why postfix doesn't use sasl.Anyone knows this problem ?




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with SASL2 and postfix on freebsd

2005-08-05 Thread cell
I have already reinstalled postfix and i have always the same problem.I have 
that :


# ldd 'which postfix'
ldd: which postfix: No such file or directory

# which postfix
/usr/local/sbin/postfix

- Original Message - 
From: <[EMAIL PROTECTED]>

To: "cell" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, August 05, 2005 12:16 PM
Subject: Re: Problem with SASL2 and postfix on freebsd



On Fri, 5 Aug 2005 11:51:22 +0200
"cell" <[EMAIL PROTECTED]> wrote:


Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 ,
cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem
with sasl2.When i do "telnet localhost 25" , i have that :

Trying 127.0.0.1...
Connected to localhost.linux-win.org.
Escape character is '^]'.
220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
ehlo example.pl
250-gw-bsd.linux-win.org
250-PIPELINING
250-SIZE 1000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME


and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".


i've always followed this howto :
http://yocum.org/faqs/postfix-tls-sasl.html

what does ldd `which postfix` say ?

(perhaps you need to do a make rmconfig and reinstall postfix ?)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with SASL2 and postfix on freebsd

2005-08-05 Thread cell

I have that :

# saslfinger -s
saslfinger: Command not found.

- Original Message - 
From: "Patrick Ben Koetter" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 12:45 PM
Subject: Re: Problems with SASL2 and postfix on freebsd



* cell <[EMAIL PROTECTED]>:

Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 ,
cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with
sasl2.When i do "telnet localhost 25" , i have that :

Trying 127.0.0.1...
Connected to localhost.linux-win.org.
Escape character is '^]'.
220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
ehlo example.pl
250-gw-bsd.linux-win.org
250-PIPELINING
250-SIZE 1000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME


and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my
main.cf , i have that :

smtpd_recipient_restrictions = 
permit_mynetworks,permit_sasl_authenticated, 
reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain
smtpd_sender_restrictions = permit_sasl_authenticated , 
hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain, 
reject_invalid_hostname

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = no

In /usr/local/lib/sasl2 i have that :

pwcheck_method: saslauthd
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: maildb
sql_passwd: *
sql_database: maildb
sql_select: select clear from users where id='[EMAIL PROTECTED]'


That would be:

pwcheck_method: saslauthd
mech_list: plain login


if you want to use PAM.

Looks like your Postfix wasn't built to support SASL. What do you get, if 
you

run "saslfinger -s"?

<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

[EMAIL PROTECTED]


--
The Book of Postfix
<http://www.postfix-book.com>
SMTP AUTH debug utility:
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/> 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with SASL2 and postfix on freebsd

2005-08-05 Thread cell

I have changed my shell and i have that :

[EMAIL PROTECTED] ls -la /usr/local/sbin/postfix
-rwxr-xr-x  1 root  wheel  83184 Aug  5 11:29 /usr/local/sbin/postfix
[EMAIL PROTECTED] ldd /usr/local/sbin/postfix
/usr/local/sbin/postfix:
   libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x28083000)
   libpam.so.2 => /usr/lib/libpam.so.2 (0x28097000)
   libcrypt.so.2 => /lib/libcrypt.so.2 (0x2809e000)
   libssl.so.3 => /usr/lib/libssl.so.3 (0x280b6000)
   libcrypto.so.3 => /lib/libcrypto.so.3 (0x280e4000)
   libm.so.3 => /lib/libm.so.3 (0x281db000)
   libz.so.2 => /lib/libz.so.2 (0x281f6000)
   libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x28206000)
   libc.so.5 => /lib/libc.so.5 (0x28212000)

- Original Message - 
From: "albi" <[EMAIL PROTECTED]>

To: "cell" <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 1:56 PM
Subject: Re: Problem with SASL2 and postfix on freebsd




I have that :

# ldd /usr/local/sbin/postfix
ldd: /usr/local/sbin/postfix: No such file or directory

I don't understand why it said that.


you should get something like this :

#ldd /usr/local/sbin/postfix

/usr/local/sbin/postfix:
   libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x28083000)
   libpam.so.2 => /usr/lib/libpam.so.2 (0x28097000)
   libcrypt.so.2 => /lib/libcrypt.so.2 (0x2809e000)
   libssl.so.3 => /usr/lib/libssl.so.3 (0x280b6000)
   libcrypto.so.3 => /lib/libcrypto.so.3 (0x280e4000)
   libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x281db000)
   libc.so.5 => /lib/libc.so.5 (0x28202000)

#ls -la /usr/local/sbin/postfix
-rwxr-xr-x  1 root  wheel  83152 Aug  4 22:00 /usr/local/sbin/postfix



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems with SASL2 and postfix on freebsd

2005-08-05 Thread cell
ser=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmailunix  -   n   n   -   -   pipe
 flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix  -   n   n   -   -   pipe
 flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient

scan  unix  -   -   n   -   16  smtp
   -o smtp_send_xforward_command=yes

localhost:10026 inet  n -   n   -   16  smtpd
   -o content_filter=
   -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
   -o smtpd_helo_restrictions=
   -o smtpd_client_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o mynetworks_style=host
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8

spamassassin unix - n   n   -   -   pipe
   user=vmail argv=/usr/local/bin/spamc -f -e
   /usr/local/sbin/sendmail -oi -f ${sender} ${recipient}

-- mechanisms on localhost --
[EMAIL PROTECTED]

- Original Message - 
From: "Patrick Ben Koetter" <[EMAIL PROTECTED]>

To: "Postfix Users" <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 1:12 PM
Subject: Re: Problems with SASL2 and postfix on freebsd


* cell <[EMAIL PROTECTED]>:

I have that :

# saslfinger -s
saslfinger: Command not found.


could it be you missed the link I posted below?

[EMAIL PROTECTED]

P.S.
Send further replies to the Postfix mailing list.

- Original Message - 
From: "Patrick Ben Koetter" <[EMAIL PROTECTED]>

To: "Postfix Users" <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 1:12 PM
Subject: Re: Problems with SASL2 and postfix on freebsd


* cell <[EMAIL PROTECTED]>:

I have that :

# saslfinger -s
saslfinger: Command not found.


could it be you missed the link I posted below?

[EMAIL PROTECTED]

P.S.
Send further replies to the Postfix mailing list.





- Original Message - 
From: "Patrick Ben Koetter" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Sent: Friday, August 05, 2005 12:45 PM
Subject: Re: Problems with SASL2 and postfix on freebsd


>* cell <[EMAIL PROTECTED]>:
>>Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 ,
>>cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem 
>>with

>>sasl2.When i do "telnet localhost 25" , i have that :
>>
>>Trying 127.0.0.1...
>>Connected to localhost.linux-win.org.
>>Escape character is '^]'.
>>220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
>>ehlo example.pl
>>250-gw-bsd.linux-win.org
>>250-PIPELINING
>>250-SIZE 1000
>>250-VRFY
>>250-ETRN
>>250-STARTTLS
>>250 8BITMIME
>>
>>
>>and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my
>>main.cf , i have that :
>>
>>smtpd_recipient_restrictions =
>>permit_mynetworks,permit_sasl_authenticated,
>>reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain
>>smtpd_sender_restrictions = permit_sasl_authenticated ,
>>hash:/usr/local/etc/postfix/access, reject_unknown_sender_domain,
>>reject_invalid_hostname
>>smtpd_sasl_auth_enable = yes
>>smtpd_sasl_security_options = noanonymous
>>smtpd_sasl_local_domain =
>>broken_sasl_auth_clients = no
>>
>>In /usr/local/lib/sasl2 i have that :
>>
>>pwcheck_method: saslauthd
>>auxprop_plugin: sql
>>sql_engine: mysql
>>sql_hostnames: 127.0.0.1
>>sql_user: maildb
>>sql_passwd: *
>>sql_database: maildb
>>sql_select: select clear from users where id='[EMAIL PROTECTED]'
>
>That would be:
>
>pwcheck_method: saslauthd
>mech_list: plain login
>
>
>if you want to use PAM.
>
>Looks like your Postfix wasn't built to support SASL. What do you get, if
>you
>run "saslfinger -s"?
>
><http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
>
>[EMAIL PROTECTED]
>
>
>-- 
>The Book of Postfix

><http://www.postfix-book.com>
>SMTP AUTH debug utility:
><http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>



--
state of mind
Agentur für Kommunikation und Design

Patrick KoetterTel: 089 45227227
Echinger Strasse 3 Fax: 089 45227226
85386 Eching   Web: http://www.state-of-mind.de 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with SASL2 and postfix on freebsd

2005-08-05 Thread cell
   user=vmail argv=/usr/local/bin/spamc -f -e
   /usr/local/sbin/sendmail -oi -f ${sender} ${recipient}


- Original Message - 
From: "Paul Schmehl" <[EMAIL PROTECTED]>

To: "cell" <[EMAIL PROTECTED]>; 
Sent: Friday, August 05, 2005 4:52 PM
Subject: Re: Problem with SASL2 and postfix on freebsd



--On Friday, August 05, 2005 11:51:22 +0200 cell <[EMAIL PROTECTED]> wrote:


Hello , i'm on freebsd 5.4 and i use cyrus-sasl-2.1.21 ,
cyrus-sasl-saslauthd-2.1.21 and postfix-2.2.5,1 but i have a problem with
sasl2.When i do "telnet localhost 25" , i have that :

Trying 127.0.0.1...
Connected to localhost.linux-win.org.
Escape character is '^]'.
220 gw-bsd.linux-win.org ESMTP Postfix 2.2.5 (FreeBSD)
ehlo example.pl
250-gw-bsd.linux-win.org
250-PIPELINING
250-SIZE 1000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME


and i don't see "AUTH DIGEST-MD5 PLAIN CRAM-MD5" and "AUTH PLAIN".In my
main.cf , i have that :

smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,
reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostnam
e,reject_unknown_recipient_domain smtpd_sender_restrictions =
permit_sasl_authenticated , hash:/usr/local/etc/postfix/access,
reject_unknown_sender_domain, reject_invalid_hostname
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = no

In /usr/local/lib/sasl2 i have that :

pwcheck_method: saslauthd
auxprop_plugin: sql
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: maildb
sql_passwd: *
sql_database: maildb
sql_select: select clear from users where id='[EMAIL PROTECTED]'


and in /etc/pam.d/smtp i have that :

authoptionalpam_mysql.so host=127.0.0.1 db=maildb
user=maildb \   passwd=* sql table=users usercolumn=id
passwdcolumn=clear crypt=y account requiredpam_mysql.so
host=127.0.0.1 db=maildb user=maildb \   passwd=* sql table=users
usercolumn=id passwdcolumn=clear crypt=y

I don't understand why postfix doesn't use sasl.Anyone knows this problem
?


What's in master.cf?  Do you have the commands for saslauth?
smtpsinet  n   -   n   -   -   smtpd
 -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

(I'm using smtps, but smtp uses the auth command as well.)

smtpinet  n   -   n   -   -   smtpd -o 
smtpd_sasl_auth_enable=yes


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with SASL2 and postfix on freebsd

2005-08-05 Thread cell
I have always the same problem with that.I don't understand why sasl don't 
comunicate with postfix :/


- Original Message - 
From: "Paul Schmehl" <[EMAIL PROTECTED]>

To: "cell" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, August 05, 2005 5:31 PM
Subject: Re: Problem with SASL2 and postfix on freebsd



--On Friday, August 05, 2005 17:25:42 +0200 cell <[EMAIL PROTECTED]> wrote:


In master.cf i have that :

#
# Postfix master process configuration file.  For details on the format
# of the file, see the Postfix master(5) manual page.
#
# 
# == service type  private unpriv  chroot  wakeup  maxproc command + args
#   (yes)   (yes)   (yes)   (never) (100)
# 
# ==
smtp  inet  n   -   n   -   -   smtpd
-o content_filter=spamassassin
# submission inet n  -   n   -   -   smtpd
#   -o smtpd_etrn_restrictions=reject
#   -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# smtpsinet  n   -   n   -   -   smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
# submission   inetn   -   n   -   -   smtpd


It's commented out.

Try this:
smtp  inet  n   -   n   -   -   smtpd
   -o content_filter=spamassassin -o smtpd_sasl_auth_enable=yes

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]" 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems with crontab

2005-08-05 Thread cell
Hello , i have problem with crontab , i tried to configure crontab for run 
command every three days at 5h00 AM.I use this command but i believe it's not 
good :

0   5   1-31/3  *   *   rootcd /home/rootfix/Maildir/cur && 
rm -f *


Anyone have a solution ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


postfix/mysql/courier-imap configuration

2004-09-12 Thread cell
hello , i tried to configure postfix/mysql/courier-imap but i have a problem with 
virtual users.I use this main.cf :

command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix

smtpd_banner = $myhostname ESMTP $mail_name $mail_version (FreeBSD)
setgid_group = maildrop
biff = no
masquerade_domains = linux-win.com.com
masquerade_exceptions = root
# appending .domain is the MUA's job.
append_dot_mydomain = yes
myhostname = linux-win.com
mydestination = $myhostname, localhost
alias_maps = hash:/usr/local/etc/postfix/aliases, $virtual_alias_maps
alias_database = hash:/usr/local/etc/postfix/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/mail
local_destination_concurrency_limit= 1
default_destination_concurrency_limit = 1
smtpd_recipient_limit = 50
notify_classes=bounce,resource,software,policy
relayhost =
relay_domains = linux-win.com
mynetworks = 192.168.1.0/32, 192.168.3.0/32, 127.0.0.0/8
mailbox_command = /usr/local/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
message_size_limit = 1000
recipient_delimiter = +
smtpd_helo_required = yes

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,

reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain

smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access,
reject_unknown_sender_domain,
reject_invalid_hostname

header_checks = regexp:/usr/local/etc/postfix/header_checks

strict_rfc821_envelopes = yes
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/sbin/sendmail
manpage_directory = /usr/local/man
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450


virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit = 5120
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125


I can't receive mails for my virtuals users with this configuration.I have used this 
tutorial for configuration postfix/mysql/courier-imap :

http://high5.net/howto/

Anyone have a solution ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


spamassassin and virtuals users accounts

2004-09-14 Thread cell
hello , i tried to configure postfix/mysql/courier-imap but i have a problem with 
virtual users.I use this main.cf :

command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix

smtpd_banner = $myhostname ESMTP $mail_name $mail_version (FreeBSD)
setgid_group = maildrop
biff = no
masquerade_domains = linux-win.com.com
masquerade_exceptions = root
# appending .domain is the MUA's job.
append_dot_mydomain = yes
myhostname = linux-win.com
mydestination = $myhostname, localhost
alias_maps = hash:/usr/local/etc/postfix/aliases, $virtual_alias_maps
alias_database = hash:/usr/local/etc/postfix/aliases
home_mailbox = Maildir/
mail_spool_directory = /var/mail
local_destination_concurrency_limit= 1
default_destination_concurrency_limit = 1
smtpd_recipient_limit = 50
notify_classes=bounce,resource,software,policy
relayhost =
relay_domains = linux-win.com
mynetworks = 192.168.1.0/32, 192.168.3.0/32, 127.0.0.0/8
mailbox_command = /usr/local/bin/procmail
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
message_size_limit = 1000
recipient_delimiter = +
smtpd_helo_required = yes

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,

reject_unauth_pipelining,reject_unauth_destination,reject_invalid_hostname,reject_unknown_recipient_domain

smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access,
reject_unknown_sender_domain,
reject_invalid_hostname

header_checks = regexp:/usr/local/etc/postfix/header_checks

strict_rfc821_envelopes = yes
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/sbin/sendmail
manpage_directory = /usr/local/man
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450


virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:125
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_limit = 5120
virtual_minimum_uid = 125
virtual_transport = virtual
virtual_uid_maps = static:125


I can't receive mails for my virtuals users with this configuration.I have used this 
tutorial for configuration postfix/mysql/courier-imap :

http://high5.net/howto/

Anyone have a solution ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"