[courier-users] File system permissions-shared folders of courier-imap

2008-03-21 Thread tovis
Hi ALL!
Box is Debian Etch, courier imap with exim4 mta.
Several times I have build shareable folders, but it still working strange.
I will try again - last time I'm using the real maildir of a user, and I
was not sutisfied with the result. One of the problems that others, using
this sahred folder coud not delete messages - links tpo the real messages.
A copy of the deleted message is landed in the trash dir but inthe
shared folder it is still remain - or better say created again
immediatelly!?
One of my problem is this centence from the documentation:

  The sharable maildir owner can arrange for mail to be delivered
   directly to this folder, and the first one to open it will put
   the message into cur.

OK! - how?

In my last try I have used a fake maildir who's new subfolder is a link
tho the shared folder's cur subfolder. This arrangement allow me using
save command of exim4 through .forward file.

Could some one help to cleanup this messy?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [RE:]File system permissions-shared folders of courier-imap

2008-03-21 Thread tovis
tovis writes:

 One of my problem is this centence from the documentation:

 The sharable maildir owner can arrange for mail to be delivered
 directly to this folder, and the first one to open it will put
 the message into cur.

 OK! - how?

Do whatever you need to do with exim to arrange mail to be delivered to that
folder. Of course, everyone with access to that folder should have write
permission on the folder's new and cur directories. To rename a file, you
need to have write permissions on both the source and the destination
folders. You do know that, don't you? The documentation does not explain how
filesystem permissions work, you should know that already, yourself. If you
use system accounts, you need to understand how filesystem permissions work.
If you don't, you won't be able to figure out anything, and you should be
using virtual accounts.

My system is Debian Etch, using courier imap (ver.4.1.1.20060828-5) with
exim4 as mta.

I have created several user0..n
Created regular Maildir for each.

Created shared mail directory for user0:
maildirmake -S /home/user0/Mailshare
maildirmake -s write,group -f daily /home/user0/Mailshare
maildirmake --add msg=/home/user0/Mailshare /home/user0/Maildir
  the rights for .daily/new drwxrwx--T
create .forward user0-msg - save $home/Mailshare/.msg 006

swap to user1
maildirmake --add msg=/home/user0/Mailshare /home/user1/Maildir

/usr/sbin/sendmail -v [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test message #0001
test message #0001
.

As a result, the message is landed in the right place of the shared folder
of user0, but when MUA tries to open shared folder, courier imap said in
the  syslog failed: Operation not permitted - when try to rename the
file in folder new to cur!
I have some kind of work around, create a mailfake with new is a soft
link right to the cur of the shared folder, but I'm not sure that it
would be good.
Any ideas?





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] filesystem based shared maildir folder behavior

2008-03-20 Thread tovis
Hi!
I managed to establish shared maildir folders several time. Experimented
on Debian Etch, using courier-mta, exim4.
When email is delivered to the shared folder's new subfolder of the shared
maildir, it has owner the recipient of the mail. No other users of the
shared folder can not see it before it is moved to the cur subdirectory
of shared folder. Thay could try but imap server gives error permicssion
denied.
That mean new saved emails could be seen anly after the user who is the
original owner, move to cur.
This behavior is correct?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Filesystem permission-based shared folders

2008-03-17 Thread tovis
I'm succesfully(?) managed to setup filesystem-based shared folder. Using
courier IMAP from Debian Etch distribution. But I have meet some problems
to do this. Given a very small - good for example server, with two users
tovis and orsi. They are also members of a group called tovisek, which
group have a common space in the home directory:
  drwxr-xr-x orsi  orsi... orsi
  drwxr-xr-x tovis tovis   ... tovis
  drwxrwsr-x root  tovisek ... tovisek
In each personal folder I have created an absolute soft link to the
shared/common folder to reach common files. (This configuration is working
good with SAMBA - every person can read/write permission on hole common
area, does not meter who was create the file).

As user tovis, I have create shared mail folder using maildirmake:
  home/tovisek$maildirmmake -S MailShare
  home/tovisek$maildirmmake -f write,group -s share1 MailShare
  home/tovis$maildirmmake --add share1=/home/tovisek/MailShare \
  /home/tovis/Maildir

- here was up my first problem, that in last command I must give absolute
  path names - in other case I have strange error messages and nothing
  was done!

As user orsi:
  home/orsi$maildirmmake --add share1=/home/orsi/MailShare \
  /home/orsi/Maildir

After thease steps, as user tovis I can subscribe, using squirrelmail, to
share.share1.share1, but as user orsi I can not do it! OK - it is the file
permission problem - and as user tovis I changed whole MailShare group to
tovisek and give r,w,x parsmissions. Voila, user orsi can subscribe to the
share.share1.share1 folder. Each user can drop/move and of course read/see
emails in this folder.
I do not really understand what I need to be do to avoid by hand change
owner and permissions, when I'm have a special switch to create shared
folders, on filesystem permission shared folder? Is it was a good way? -
or may be its a kind of vulnerability what I have used.
Some what confusing that there is 3 level of nesting in the shared foler:
- share
   share1
 share1  ... which is the real folder
Is it a problem of squirrelmail? As a user, which is not responsible about
how shares are build up why I should have do so many clicks to get
contents of a common folder? Is there any method to reduce this?






-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier local delivery domain

2008-03-15 Thread tovis
Again stuck on what is my domain if I have no real domain but I need local
delivery?

For now I have only one relay, defined in /etc/courier/smtpaccess/default
127.0.0.1TABallow,RELAYCLIENT,FAXRELAYCLIENT

In Default acces policies for couriersmtpd also where two others
10TABallow,RELAYCLIENT
192.168TABallow,RELAYCLIENT
but I have been mark them out (may be is it the problem?).

/etc/courier/defaultdomain
  pipi.tovis-lab.myip.hu

It's not a real domain, I'm sitting on dynamic IP address, and using
smarthost, defined in /etc/courier/esmtproute
  :mail.chello.hu
no authentication required - I think it using hw address authentication.

My username tovis - as usually :)
When I tried send email to other local user (for exmaple fax) I have SMTP
error 517 for [EMAIL PROTECTED]

What should be the right domain name for local delivery, in case of no
real domain?

Could some one figure out what is wrong or missed from my config?

Debain Etch.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier local delivery domain

2008-03-15 Thread tovis
 tovis wrote:
 What should be the right domain name for local delivery, in case of no
 real domain?

 You may try and configure localhost as a real TLD and machine name in
 a local view of your local DNS server. I'm not sure it's the easiest
 way, though.

 I have no DNS server, I would rather do not use it.

 It would give the added benefit of caching local queries...

 I restart the installation/configuration session.
 When I'm leaving configuration files untouched, I can send emails to
 local
 a recipient, if I have use for From: a real email address!? But, when
 the From: and To: addresses are identical (@pipi.tovis-lab.myip.hu)
 I
 have got error 517. May be I need using aliases, for local adresses?
 What
 syntax it should follow?

 Courier has to be able to know that a mail address is local. This is
 normally done by setting up MX records properly. If no MX records
 exist for a given domain, but an A record can be found, then that is
 the host for the given domain. If it is local, mail stays there.

 Check locals and me in the courier man page
 http://www.courier-mta.org/courier.html

 Use testmxlookup to verify you get a [ LOCAL ] flag for your local
 domain. http://www.courier-mta.org/testmxlookup.html

Nice. I try all of these things, also some virtualization, but nothing.
Without DNS's MX or A record courier-mta is useless.
I checked my old config using exim4 (with courier imap) and it can send
emails on smarthost principle from one local user to another, no complain.
I have loose about two weeks to have this simple answer :(




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courier local delivery domain

2008-03-15 Thread tovis
After my last email I have install courier imap with exim4 as mta - SMTP
server. It's working just fine with addresses using @localhost as domain.
At last I can focus on creating and using shared libraries.
What is the difference between dirs under Maildir with dot and without dot?
How should look like a shared folder is based on filesystem permision?
Can I address directly a shared folder, under shared Maildir?
Can I share Maildir/new, cur - make it visible?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] makemime from [EMAIL PROTECTED] to [EMAIL PROTECTED]

2008-03-12 Thread tovis
I'm trying to modify some behavior of courier faxmail.
One is my problems, send new fax to apropriate user INBOX.
At first time I simply want to make a mime mail message but I always have
message that the mail is wrong formatted and lookup RFC822. Of course I
can doit, but I need to save some time. Could some one to help me giving
the right form of running the makemime command, for a simple test mail
which is sent from [EMAIL PROTECTED] to [EMAIL PROTECTED], content is a simple
text, for example:
  This is a test message #0002
How should be incoked makemime for this simple message?
Thanks in advance.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] redirect email to Maildir/fax very lame question

2008-03-09 Thread tovis
I need a shared/common folder for incoming faxes.
I think, that when a new email massge is incoming, it's always landing in
Maildir/new folder by imap server(?). When I'm creating a shared Maildir I
can not add to others (who need this) the whole shared Maildir, but I've
should create a folder (inside shared Maildir) which is would be shared
among fax users (for my example). But when I configure new_fax I've
should/could give only a username as the recipient. To share the fax -es I
need to login, and move messages to shared folder of the shared Maildir.
Only if I right, how to get many users to get access (at least read) all
faxis (emails)?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] redirect email to Maildir/fax very lame question

2008-03-09 Thread tovis
 tovis writes:

 I need a shared/common folder for incoming faxes.
 I think, that when a new email massge is incoming, it's always landing
 in
 Maildir/new folder by imap server(?). When I'm creating a shared Maildir
 I
 can not add to others (who need this) the whole shared Maildir, but I've
 should create a folder (inside shared Maildir) which is would be shared
 among fax users (for my example). But when I configure new_fax I've
 should/could give only a username as the recipient. To share the fax -es
 I
 need to login, and move messages to shared folder of the shared Maildir.
 Only if I right, how to get many users to get access (at least read) all
 faxis (emails)?

 Switch from system accounts to virtual accounts, and use virtual shared
 folders.

Thanks for quick answer!
I realized this possibility, but I'm sure that all my users, would have
shares. I'm not sure that is it a good choice to make a real and a
virtual account in parallel.
On first try of fax receiving I realized that to set new_fax provide by
courier package I need install also courier-maildrop (it wasn't obligatory
before). I quickly lookitup (not deep enough - I'm really confused) but
seem to me it can do the job, is not it?

PS: I need to reformat my mind. If I only understand well, courier-mta
includes an ESMTP server, which could connect with other servers on the
net through ESMTP protocol - in my situation it uses smarthost to send my
mails, put into the apropriate IMAP folder, using waht ever frontend.
Receiving emails, goes using fetchmail, which collect emails from
different servers and using ESMTP protocoll relay it to the local users,
right to their INBOX controlled by IMAP server. maildrop, sticking between
ESMTO server and IMAP server controles this movement, and could do
filtering and some kind of redirecting. faxmail subsystem always connect
to ESMTP server, as fax -es coming from the net. This roadmap is right?


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-08 Thread tovis
 On 08 Mar 2008 19:30, tovis wrote:
  Do you have FAXRELAYCLIENT?

 Aha! May be this is the missing chain? I'm using Debian (latest
 stable),
 which provide me prebuilded packages, what are easy to install and
 configure. But some times (recommended mta for Debian is exim4) there
 are
 some informations skipped. I have no /etc/courier/smtpacces directory at
 all, I have an /etc/courier/smtpacces.dat - I have been checked it, but
 I
 do not now how to convert it back to human readable format. Do you
 know
 how to do it? - I'm afraid that whitout the source of smtpacces.dat file
 I
 can not recreate it expanded with FAXRELAYCLIENT which I need.

 Perhaps try a...

  apt-get install --reinstall courier-mta

 # dpkg -L courier-mta | grep smtpaccess
 /etc/courier/smtpaccess
 /etc/courier/smtpaccess/default
 /usr/share/man/man8/makesmtpaccess.8.gz
 /usr/lib/courier/makesmtpaccess
 /usr/share/man/man8/makesmtpaccess-msa.8.gz
 /usr/sbin/makesmtpaccess-msa
 /usr/sbin/makesmtpaccess

 --markc

OK! You win! Same on me, I have directory /etc/courier/smtpaccess with a
file called default supplied by author. It contain a raw

127.0.0.1 allow,RELAYCLIENT

I create a new file in this directory called default-fax and include
only one raw for faxing:

127.0.0.1 allow.FAXRELAYCLIENT

run makesmtpaccess but it gives me error

Cannot store record for 127.0.0.1 - duplicate or out of disk space.

How should look like FAXRELAYCLIENT?

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-08 Thread tovis
Finally I succeed to send using email gateway :D
Thank you Mark! - you turn me to the right way.
There are some miscellanouse configurations to do, but finally it do what
I'm awaiting for.
I should say, that if I was read the hole documentation I should be gues
this, but from other point I simply does not falmiliar with email service
and logic of moving emails through it especially the way as courier do it.
Again thanks a lot!

 On 08 Mar 2008 19:30, tovis wrote:
  Do you have FAXRELAYCLIENT?

 Aha! May be this is the missing chain? I'm using Debian (latest
 stable),
 which provide me prebuilded packages, what are easy to install and
 configure. But some times (recommended mta for Debian is exim4) there
 are
 some informations skipped. I have no /etc/courier/smtpacces directory at
 all, I have an /etc/courier/smtpacces.dat - I have been checked it, but
 I
 do not now how to convert it back to human readable format. Do you
 know
 how to do it? - I'm afraid that whitout the source of smtpacces.dat file
 I
 can not recreate it expanded with FAXRELAYCLIENT which I need.

 Perhaps try a...

  apt-get install --reinstall courier-mta

 # dpkg -L courier-mta | grep smtpaccess
 /etc/courier/smtpaccess
 /etc/courier/smtpaccess/default
 /usr/share/man/man8/makesmtpaccess.8.gz
 /usr/lib/courier/makesmtpaccess
 /usr/share/man/man8/makesmtpaccess-msa.8.gz
 /usr/sbin/makesmtpaccess-msa
 /usr/sbin/makesmtpaccess

 --markc

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-08 Thread tovis
 On 08 Mar 2008 21:23, tovis wrote:
 I create a new file in this directory called default-fax and
 include only one raw for faxing:
 127.0.0.1 allow.FAXRELAYCLIENT
 run makesmtpaccess but it gives me error
 Cannot store record for 127.0.0.1 - duplicate or out of disk space.
 How should look like FAXRELAYCLIENT?

 I've never used couriers fax utilities but I would asssume it
 would be something like this in /etc/courier/smtpaccess/default

  #127.0.0.1TABallow,RELAYCLIENT
  127.0.0.1TABallow,FAXRELAYCLIENT

Yes! Sorry I was so happy that I forgot the right entry:

127.0.0.1TABallow,RELAYCLIENT,FAXRELAYCLIENT

That solved my problem. The README.Debian is talking about that fax
facility should be enabled by root, and go to talk about faxrc which is
quite unusual configuration script, and do not talk about relaying - I
think for package manager it was obviouse. But as I wrote before the
courier is not counted in the list of recommended mta's and configuration
and setup is not so fined as for them :(

 where TAB means a real tab character. Test it and look at the
 logs to see how much further you may, or not, get.

 --markc

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] courierfax troubles

2008-03-08 Thread tovis
FIRST:
courierfax works good, but the coverpage is quite unusable. English
language, english dates, fulish From: iso8859-2SENDER NAME, and a good
peace of white, empty paper. No problem, as I think, and remark all lines
in /etc/courier/faxcoverpage.tr, but not ther is a white page with a small
footprint http://www.courier-mta.org;. I really dos not have anything
again this small fottprint, as advertising but with hole page? Is there
any possibilities to supress this nice peace at all?

SECOND:
I can not get FAX transmittion receipt, I'm using couriers sendmail
through imap and squirrelmail as frontend. Possible that squirrelmail
handles these request wrong way? I do not do anything to configure
transmittion receipt, because I do not found any thing about how sendmail
command should looklike for courier sendmail, but how to do it with imap?
I have tried all two options from squirrelmail, eích of them gives me the
result, a small popup window, that the sender ask to confirm reading, on
receipt side of used mailbox on other box.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] configuring courierfax + mgetty

2008-03-07 Thread tovis
 2008/3/6 tovis [EMAIL PROTECTED]:
  couriersmtpd: error, relay=::.127.0.0.1,
   from=[EMAIL PROTECTED],to=[EMAIL PROTECTED]: 513 Syntax error

  This error mean missing valid domain name - but which domain name is
  invalid,

 Well, fax obviously is not a domain name.

and whre I can set a good one?

 The place where you set names to translate into IP addresses.

This means, I need a DNS server, or it can be the /etc/hosts file?
Do not be suprised, I'm use Debian prebuilded binaries, which are also
configuring the system.

 jerry





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-07 Thread tovis
 Am 2008-03-03 10:56:19, schrieb tovis:
 Lookup Debian refernce (9.6.1):
  ... use exim in Woody and use exim4 in Sarge.
  ...
  The only reasonable alternative MTA is postfix if you care about
 security
   sendmail and gmail are available as Debain packages but are not
   recommended:
 How to understand it? - no Courier counted at all, as it does not exist,
 but is it also reside in prebuild package. I'm a user, I have not got
 enough information about security of that or other packages.

 Please note, that there is currently a rewrite of the debian-reference.

OK. I decided to use against this discouriged reference.


 Sorry, my english is terrible, I do not understand.
 Courier's faxmail is dependent on courier-mta in Debian package.
 It's clean that courier-faxmail is relay on courier-mta. My problem that
 courier-mta + courier-imap + courier-faxmail has much more setup/config
 to
 do as apache2 (for exmple), a lots of configuration files, no clean step

 Not realy...  It has only 10 files to configure 10 options...

 No need to search a 40 kByte config file for the right option...

 Please read  'man courier'  where all files are described on-by-one.
From those time, with some help I managed to configure smarthost, simply
creating /etc/courier/esmtproutes contain only one raw
:mail.chello.hu
After this I've set I can send emails. Installed fetchmail, to collect
mails from different providers. Here was only one problem, which were
solved using smtphost - which was identical to
/etc/courier/defaultdomain is contain.
I can send/receive receive faxes - front end is apache2 and squirrelmail.
For now I have stucked on faxmail. I was deleted the first line from
default configuration file /etc/courier/faxrc (rw^  .  1), and check for
faxmail, as [EMAIL PROTECTED], but result was an SMTP 513 error. to field is
the same as I used for sending email, from field is [EMAIL PROTECTED] - lookup
from syslog.
What I've should set for faxmail? Is it not a real domain, it's some kind
of route which is on localhost. I'm strugling on documentation but I found
nothing about fax domain. Usually Debian packages are coming well
preinstalled, may be the problem is /etc/courier/esmtproutes what I've set
to everiything to my smarthost? Any ideas would be apretiated.

 Thanks, Greetings and nice Day
 Michelle Konzack
 Systemadministrator
 24V Electronic Engineer
 Tamay Dogan Network
 Debian GNU/Linux Consultant


 --
 Linux-User #280138 with the Linux Counter, http://counter.li.org/
 # Debian GNU/Linux Consultant #
 Michelle Konzack   Apt. 917  ICQ #328449886
 +49/177/935194750, rue de Soultz MSN LinuxMichi
 +33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] local delivery fetchmail to courier-imap?

2008-03-06 Thread tovis
 tovis writes:


 couriersmtpd:
 started,ip=[:::127.0.0.1],from=,to=[EMAIL PROTECTED]:
 513 syntax error.
 ...
 fetchmail: SMTP error: 513 Syntax error.
 ...
 couriersmtpd:
 error,relay=[:::127.0.0.1],from=,to[EMAIL PROTECTED]: 513
 Syntax
 error.
 fetchmail: can't even send to fetchmail!
 fetchmail: flished

 Whats wrong?

 [EMAIL PROTECTED] is an invalid E-mail address, because the domain part,
 localhost is not a valid Internet domain.

 You have to do whatever you need to do to stop fetchmail from using such a
 recipient address.


You right! courier smtp do not like his form - exim4 eat it. I looked up
fetchmail's documentation and found a workaround using smtphost option in
configuration of fetchmail (/etc/fetchmailrc) where I used the same as in
/etc/courier/defaultdomain - that solved the problem :)


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] configuring courierfax + mgetty

2008-03-06 Thread tovis
After some strugling around courier setup, I have managed to send E-mails,
using courier-mta through smarthost. Also solved the problem with
fetchmail. In result I have mailing system with squirrelmail backend
working :)
  For now I need to setup/configure fax send/receive as E-mail, using
courierfax with mgetty-sendfax backend. I have been removed the starting
rw^, in /etc/courier/faxrc and supress retries in
/etc/mgetty/sendfax.config. For first time I have been try to send fax,
as usually in Hungary 7 digit coded number:
  TO: [EMAIL PROTECTED]
  SUBJECT: teszt fax #0003
  MESSAGE: teszt fax #0003 üzenet

I have error 513 from SMTP, what I do not understand for this situation:
couriersmtpd: error, relay=::.127.0.0.1,
  from=[EMAIL PROTECTED],to=[EMAIL PROTECTED]: 513 Syntax error

This error mean missing valid domain name - but which domain name is
invalid, and whre I can set a good one?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] local delivery fetchmail to courier-imap?

2008-03-05 Thread tovis
Debian Etch. Installed courier-mta, courier-imap, apache2 and squirrelmail.
Send emails using smarthost, seem to be solved by using
/etc/courier/esmtproutes
   :mail.chello.hu
which mean everything should be relayed to my ISP.
Install fetchmail, to get mails from different sources, configured using
/etc/fetchmailrc, but every times when it found and fetch a mail I have
errors:

couriersmtpd: started,ip=[:::127.0.0.1],from=,to=[EMAIL PROTECTED]:
513 syntax error.
...
fetchmail: SMTP error: 513 Syntax error.
...
couriersmtpd:
error,relay=[:::127.0.0.1],from=,to[EMAIL PROTECTED]: 513 Syntax
error.
fetchmail: can't even send to fetchmail!
fetchmail: flished

Whats wrong?




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-04 Thread tovis
 On 3.3.2008 21:10, tovis wrote:
 I can not find even where I should put smarthost!

 Google smarthost courier. Reveals for example this jewel:

 http://archiver.mailfighter.net/courier-users/2007/Sep-Oct/0053.html


Really nice! But I have no any files in /etc/courier called esmtproutes!

Can stop courier-uucp? - I1m not sure but it seem to me unneeded.

 esa

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [Fwd: courier is good for me?]

2008-03-04 Thread tovis
After setting of smarthost, I have used one of my e-mail address, send a
test. Thus is the result:

   UNDELIVERABLE MAIL

Your message to the following recipients cannot be delivered:

[EMAIL PROTECTED]:
fmx.freemail.hu [195.228.245.2]:
 554-ironport2.freemail.hu
 554 Your access to this mail system has been rejected due to the
sending MTA's
poor reputation. If you believe that this failure is in error, please
contact the
intended recipient via alternate means.

For me it's sounds that it is not sended through smarthost :(, is not it?



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis


 I'm running a small SOHO (about 20 users for now), based on a server,
 running Debian stable with usuall services - samba, apache2 and
 PostgreSQL.
 I'm using exim4 (as mta), courier-imap and squirrelmail, for reliable,

 Why do you use exim as MTA?

 I run on all of my servers Debian GNU/Linux Etch 4.0 and with
 courier-mta and courier-imap and it is configured in a very
 short time.

 For now I need FAX service, and I found that courier has faxmail
 module,
 but it need courier mta. I have been start struggling on courier

 Please fill a bugreport and telle the Maintainer he should use

 Depends: mail-transport-agent | courier-mta

 which mean, courier-fax will a preinstalled MTA or if it does
 not exist suck courier-mta as dependencie.

 I doubt that Courier's faxmail module works with any other MTA besides
 Courier.

 Regards
 Racke

I'm sure that Courier's faxmail won't work with exim4 MTA. My problem that
I'm not so mauch familiar with mail servers, and documentation on
http://www.courier-mta.org/install.html is about manuall installation of
the Coutier server - a complex full featured mailserver, what I'm do not
need. This documentation quite frighten me, and I'm try to get some
information that do it will good for me to go through this long
installation procedure, to have a simple, smarthost based mta. I know that
Debian prebuilded Courier's IMAP server is very simple to setup/configure,
as the exim4 for this purposes also do not need high efforts.
By the way I have some answers, which help me to decide that is it should
be good for me, need some more efforts for setup than usually. For now I'm
modelling the server and realized that Courier mta, imap and faxmail has
a lot of configuration files (for first look it's more then apache2),
which I need to understand.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis

 I'm running a small SOHO (about 20 users for now), based on a server,
 running Debian stable with usuall services - samba, apache2 and
 PostgreSQL.
 I'm using exim4 (as mta), courier-imap and squirrelmail, for reliable,

 Why do you use exim as MTA?

Lookup Debian refernce (9.6.1):
 ... use exim in Woody and use exim4 in Sarge.
 ...
 The only reasonable alternative MTA is postfix if you care about security
  sendmail and gmail are available as Debain packages but are not
  recommended:
How to understand it? - no Courier counted at all, as it does not exist,
but is it also reside in prebuild package. I'm a user, I have not got
enough information about security of that or other packages.


 I run on all of my servers Debian GNU/Linux Etch 4.0 and with
 courier-mta and courier-imap and it is configured in a very
 short time.

 For now I need FAX service, and I found that courier has faxmail module,
 but it need courier mta. I have been start struggling on courier

 Please fill a bugreport and telle the Maintainer he should use

 Depends: mail-transport-agent | courier-mta

 which mean, courier-fax will a preinstalled MTA or if it does
 not exist suck courier-mta as dependencie.

Sorry, my english is terrible, I do not understand.
Courier's faxmail is dependent on courier-mta in Debian package.
It's clean that courier-faxmail is relay on courier-mta. My problem that
courier-mta + courier-imap + courier-faxmail has much more setup/config to
do as apache2 (for exmple), a lots of configuration files, no clean step
by step instruction how I need to be setup/config a smarthost based mta,
which is (I hope) knows courier IMAP.

PS: Generally, in many situations I should trust to this descriptions,
because no reliable description of how to check setup/configuration.
Tipical example mail delivery subsystems. I'm sure that these checks are
much more complex than setup/config itself, and guys from Debian do it,
know it, much better and deeper then me.

 Thanks, Greetings and nice Day
 Michelle Konzack
 Systemadministrator
 Tamay Dogan Network
 Debian GNU/Linux Consultant





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis
 In your situation I would write small script called from .forward (or
 whatever your MTA uses) which would get attachments and process them
 with hylafax (or whatever you intend to use as fax server).

 I went this way even I use courier-mta for mail handling -- courier's
 faxmail was not powerfull enough for my purposes.

Can I ask why? What are you missed?

I'm using Debian Etch - mgetty, mgetty-fax. I found some suspiciouse
informations that courier is use netpbm pack - g3topbm and pbmtog3 from
that packagedoes not work for mgetty - I checked out. I think it could be
worked around.



 --
 Aidas Kasparas
 IT administrator
 GM Consult Group, UAB





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis


 tovis wrote:

 tovis wrote:
 In your situation I would write small script called from .forward (or
 whatever your MTA uses) which would get attachments and process them
 with hylafax (or whatever you intend to use as fax server).

 I went this way even I use courier-mta for mail handling -- courier's
 faxmail was not powerfull enough for my purposes.
 Can I ask why? What are you missed?
 I needed to send faxes with modems located in different cities. And had
 only very old computers to handle these modems. And for some reason (do
 not remember why) I preffered hylafax over mgetty-fax. So, it was more
 simple to use one central mail/fax server with number of modem-handlers
 in remote places than to setup network of mail servers what each take
 care to handle incoming mail, format conversion and modem.

 Really special situation - if I only understand it well - you have
 several
 modems, in several cities, each of them connect to very old boxes, and
 you
 built up a server on another place, sending emails to those old boxes
 which are sends the real faxes - amazing! but possible.

 All true except I do not send mails to these boxes. Instead hylafax has
 protocol for submitting faxes to remote boxes. I use it.

Your choice is better! - mail delivery protocol is quite an information
blackhole. I have choose mgetty, because it is a much more old realization
then Hylafax, and seem to me is quite simple. Small amount of
configuration files, and practically two apps mgetty and sendfax.
Additionally, courier does not use mgetty's spool mechanizm but his own
mail pool is used - faxrunqd start/stop daemon script includes some kind
of timeout about 60 sec(!) - is it quite painfull for UPS.


 Fortunatelly my situation is quite simple against this :)
 I need a FAX server to send faxes from an office, where working about 20
 person with different boxes and OS's on them (Windows, Linux). Also need
 to get faxes (in 99% of situation) from a so small country such as
 Hungary.

 This is implemented in Lithuania. And according to wikipedia, Hungary is
 bigger :)

 Population: hu 10M, lt 3.4M
 Area (sq.km): hu 93k, lt 65k


Yes, that's it! Some years ago one of my clients bought a a multifunction
laser printer/copy/fax from a well known american manufacturer, but from
many far places in Hungary they can not receive FAX's, because of the
quality of connection - huge/large/small depend on many factors.


 --
 Aidas Kasparas
 IT administrator
 GM Consult Group, UAB






-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis
As I suspected :(
I can not find even where I should put smarthost!



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-03-03 Thread tovis
 On 3.3.2008 21:10, tovis wrote:
 I can not find even where I should put smarthost!

 Google smarthost courier. Reveals for example this jewel:

 http://archiver.mailfighter.net/courier-users/2007/Sep-Oct/0053.html


Thanx! I will try this.

 esa

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] [Fwd: courier is good for me?]

2008-02-28 Thread tovis
- Eredeti üzenet -
Tárgy:   courier is good for me?
Feladó:  tovis [EMAIL PROTECTED]
Dátum:   Csü, Február 28, 2008 11:19
Címzett: [EMAIL PROTECTED]
--

I'm running a small SOHO (about 20 users for now), based on a server,
running Debian stable with usuall services - samba, apache2 and
PostgreSQL.
I'm using exim4 (as mta), courier-imap and squirrelmail, for reliable,
platform independent mailing system, with some help for group work. I do
not want to build a fully featured mail server, I'm using exim4 through
smarthost, fetchmail is getting incoming mailes. This configuration works
fine for several years, and it was simply to install/configure.
For now I need FAX service, and I found that courier has faxmail module,
but it need courier mta. I have been start struggling on courier
documentation and realized that is it a large and complex mail server
package, with a lots of configuration issues and possibilities. Try google
to find a more simple setup howto - I do not find any for my situation.
May be courier is not good for me?





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-02-28 Thread tovis
Setup exim4 as a smarthost using mta on Debian called as zero setup.
There is small shell/perl questionary ned to answer about ten questions.
- using smarthost, incoming emails are coming through SMTP or fetchmail
- host name for mail susbsystem
- listening interfaces for incoming SMTP connection - no one
- other recipients to accept to - no one
- other senders from relay - no one
- name of the smarthost
- strip local names from mails - yes
- local users domain name - myserver
- minimalize DNS requests - no
- Also need to firgure out what directory to use for (maildir_home)
- Setup smarthost password
- some email addresses
- courier imap does not need any setup!?
Thats all :)
Recent about squirrelmail, apache2 and fetchmail.
I lookup the http://www.courier-mta.org/install.html - I have seen it but
it was quite terrify - work for days and continouse maintenance.

 Hi.

 First: I never used the fax module, so I have no clue if this might be
 what
 you want.


 On Thursday 28 February 2008, tovis wrote:
  I have been start struggling on courier
 documentation and realized that is it a large and complex mail server
 package, with a lots of configuration issues and possibilities. Try
 google
 to find a more simple setup howto - I do not find any for my situation.
 May be courier is not good for me?

 I don't really have much experience with other MTAs, but most parts of the
 default configuration can be used as-is. Just because many things are
 possible, this does not mean that you need or want them.

 The default config will do just fine for many people. Especially if you
 don't
 use incoming SMTP (and so don't have to worry about IDENT lookups,
 blacklist
 configuration, greylisting or thinks like that).

 Have a look at http://www.courier-mta.org/install.html. More than half of
 the
 chapters are marked OPTIONAL and that is meant like that. :)
 The sections about configure/make/install (Everything from Preparing for
 installation up to Post-installation checks) should be obsolete if you
 have packages from your distro.

 Can you specify which part of the installation docs is complex if you
 leave
 out things you don't need?

 regards, Bernd

 --
 Only one book has been printed in more copies than The Bible...
 ...the IKEA catalogue  -  Song Facts of Life by Lazyboy
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] [Fwd: courier is good for me?]

2008-02-28 Thread tovis
Right.
The answer for me, it is good for me but of course not some much obviouse
to setup then exim4 on Debian. I should do some jb, but the result would
be apropriate :)
About the maintenance I do not mean only updates/upgrades - Debian do it
very well, mostly automatic security updates are does. I mean about
blacklists, filters and other stuff top be safe - that no one will use my
small server as a spam spreading/colleting box.

Thanx Bernd

I hove my next questions will so quckly answered as this :)

 Hi.

 On Thursday 28 February 2008, tovis wrote:
 Setup exim4 as a smarthost using mta on Debian called as zero setup.
 There is small shell/perl questionary ned to answer about ten questions.

 Well, 10 Things to configure is not zero, isn't it?

 Maybe the Debian developers did a good job to write a script and set up
 your
 answers as config file options. They've chosen exim4 to write this for.
 Technically, I think the work should be kind of equal to do this setup
 with
 exim4 or with courier. If you relay on debian's script, okay, courier is
 out
 beacuse they've not written this script for courier.

 I lookup the http://www.courier-mta.org/install.html - I have seen it
 but
 it was quite terrify - work for days and continouse maintenance.

 Setting up a courier smarthost like you did it with exim took me about an
 hour
 or so (made a stupid mistake, that costs time) a few weeks ago. If you, as
 a
 beginner, have to read the docs twice, let it be 5 hours of work. But it's
 not work for days.

 Contionus maintainance (say: security upgrades) should be the basic work
 for
 all applications if you run anything connected to the internet. If you
 don't
 want that, you'd better leave it.

 regards, Bernd

 --
 In theory, theory and practice are the same.
 In practice, they are different.  -  Larry McVoy
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
 courier-users mailing list
 courier-users@lists.sourceforge.net
 Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users