mail question

2009-02-19 Thread Valentin Bud
Hello community,

 I have a special question.

If a client sends an email through my server how can i stop the mail for
being delivered so
i can process the mail and change some things and afterward deliver it.

I have postfix + dovecot installed. Some suggestions ...

thanks,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mail question

2009-02-19 Thread Valentin Bud
On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud valentin@gmail.comwrote:

 Hello community,

  I have a special question.

 If a client sends an email through my server how can i stop the mail for
 being delivered so
 i can process the mail and change some things and afterward deliver it.

 I have postfix + dovecot installed. Some suggestions ...

 thanks,
 v


Hello again,

 I guess i have found what i want. Postfix MILTER
http://www.postfix.org/MILTER_README.html.

So basically i create a filter in C, perl or something, I use it via STMP or
non-STMP. That
filter makes the necessary changes and afterwards i reinject the mail into
postfix.

If anybody has the time/chance to verify if I am right please let me know.

thanks,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mail question

2009-02-19 Thread Peter Boosten
Valentin Bud wrote:
 On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud valentin@gmail.comwrote:
 
 Hello community,

  I have a special question.

 If a client sends an email through my server how can i stop the mail for
 being delivered so
 i can process the mail and change some things and afterward deliver it.

 I have postfix + dovecot installed. Some suggestions ...

 thanks,
 v
 
 
 Hello again,
 
  I guess i have found what i want. Postfix MILTER
 http://www.postfix.org/MILTER_README.html.
 
 So basically i create a filter in C, perl or something, I use it via STMP or
 non-STMP. That
 filter makes the necessary changes and afterwards i reinject the mail into
 postfix.
 
 If anybody has the time/chance to verify if I am right please let me know.
 

Depending upon your wishes can MimeDefang (http://www.mimedefang.org/)
do a lot for you (without you having to code anything).

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mail question

2008-04-02 Thread GhoSt^ faCe
Hello, how can we have a pop mail with domain FreeBSD.org ?


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


Re: mail question

2008-04-02 Thread Giorgos Keramidas
On Wed, 2 Apr 2008 10:27:07 +0100, adminakos at gmail.com wrote:
 Hello, how can we have a pop mail with domain FreeBSD.org ?

Yes, of course.  All it takes is to show some committment to the cause,
by consistently helping in one of the following areas:

  * Improving FreeBSD, by fixing existing flaws, bugs or documentation
  * Extending FreeBSD, to include new features
  * Advertizing FreeBSD to the world
  * Documenting, or explaining FreeBSD

Then the team will honor your continued help with a `commit bit', and
you get the email for free :)

More information about contributing to FreeBSD can be found in our web
site, if you are interested to pursue such a goal:

  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/

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


cron/send mail question

2007-11-15 Thread zbigniew szalbot

Dear all,

What command (when using cron) should I invoke to automatically sent 
/var/log/exim/rejectlog file to a specified email address? I just need 
to analyze it and would best prefer to have it in my inbox in the morning.


Thanks a lot in advance!

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


Re: cron/send mail question

2007-11-15 Thread Steve Bertrand
zbigniew szalbot wrote:
 Dear all,
 
 What command (when using cron) should I invoke to automatically sent
 /var/log/exim/rejectlog file to a specified email address? I just need
 to analyze it and would best prefer to have it in my inbox in the morning.

The following should be on one line in crontab :

1 * * * * mail -s File contents [EMAIL PROTECTED]  /home/steveb/file.name

It will send your file to you inline in an email ad one minute after
midnight every day.

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


Re: cron/send mail question

2007-11-15 Thread cknipe
existats comes to mind as well.  Does the whole analyze thing for you... 


Quoting Steve Bertrand [EMAIL PROTECTED]:

 zbigniew szalbot wrote:
  Dear all,
  
  What command (when using cron) should I invoke to automatically sent
  /var/log/exim/rejectlog file to a specified email address? I just need
  to analyze it and would best prefer to have it in my inbox in the morning.
 
 The following should be on one line in crontab :
 
 1 * * * * mail -s File contents [EMAIL PROTECTED]  /home/steveb/file.name
 
 It will send your file to you inline in an email ad one minute after
 midnight every day.
 
 Steve
 ___
 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: cron/send mail question

2007-11-15 Thread Giorgos Keramidas
On 2007-11-15 13:47, zbigniew szalbot [EMAIL PROTECTED] wrote:
 Dear all,
 What command (when using cron) should I invoke to automatically sent
 /var/log/exim/rejectlog file to a specified email address? I just need
 to analyze it and would best prefer to have it in my inbox in the
 morning.

There are several ways.

(1) Add a new shell script to `/usr/local/etc/periodic/daily'.

(2) Add the commands you want to run in `/etc/daily.local'.

(3) Add a cronjob in `/etc/crontab' to run a custom script.


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


Re: FreeBsd e-mail question

2007-10-05 Thread Mike Makonnen
On Fri, Oct 05, 2007 at 02:33:23AM +1000, Ian Smith wrote:
 
 Looks like that's exactly right.  Copying the maintainer and suggesting
 the no-brain patch, pardon the broken tabs from pasting, against the
 head / stable versions (checked) .. I should sendPR I guess .. time!
 
 Cheers, Ian
 
 --- /usr/sbin/rmuserSat Mar  3 16:48:29 2007
 +++ /home/smithi/rmuser Fri Oct  5 00:30:51 2007
 @@ -86,10 +86,10 @@
 echo -n  mailspool
 rm ${MAILSPOOL}/$login
 fi
 -   if [ -f ${MAILSPOOL}/${login}.pop ]; then
 -   verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
 +   if [ -f ${MAILSPOOL}/.${login}.pop ]; then
 +   verbose  echo -n  ${MAILSPOOL}/.${login}.pop ||
 echo -n  pop3
 -   rm ${MAILSPOOL}/${login}.pop
 +   rm ${MAILSPOOL}/.${login}.pop
 fi
 verbose  echo '.'
  }
 

Thanks! I'll take care of this immediately.

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


Re: FreeBsd e-mail question

2007-10-04 Thread Ian Smith
On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:

  The problem comes in when a customer cancels his account. We remove users by 
  rmuser username. That command removes the user from the password file, 
  removes his home directory and removes the mailspool. What it doesn't do is 
  to remove the .username.pop file associated with that mailbox. This isn't a 
  problem unless we add another account with the same username. The new 
  account cannot pop his mail because he gets the following  error messge:
  
  -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
  
  If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
  ownership of the file is the group number of the original jjvc.
  
  -rw-rw   1 1473 mail 0 Sep 11 19:15 
  .jjvc.pop
  
  Is there anyway to have rmuser remover the mail drop file associated with 
  that account also, or am I just going to have to remove these manually?

I've read this whole thread, and what's strange is that this used to
work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 

 # Remove some pop daemon's leftover file
 $file = $mail_dir/.${login_name}.pop;
 if (-e $file || -l $file) {
 print STDERR Removing pop daemon's temporary mail file ${file}:;
 unlink $file ||
 print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
continuing\n;
 print STDERR  done.\n;
 }

So I wonder whether it's a bug - or maybe a later popper update? - that
has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
instead?

Cheers, Ian

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


Re: FreeBsd e-mail question

2007-10-04 Thread Erik Trulsson
On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote:
 On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:
 
   The problem comes in when a customer cancels his account. We remove users 
 by 
   rmuser username. That command removes the user from the password file, 
   removes his home directory and removes the mailspool. What it doesn't do 
 is 
   to remove the .username.pop file associated with that mailbox. This isn't 
 a 
   problem unless we add another account with the same username. The new 
   account cannot pop his mail because he gets the following  error messge:
   
   -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
   
   If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
   ownership of the file is the group number of the original jjvc.
   
   -rw-rw   1 1473 mail 0 Sep 11 19:15 
   .jjvc.pop
   
   Is there anyway to have rmuser remover the mail drop file associated with 
   that account also, or am I just going to have to remove these manually?
 
 I've read this whole thread, and what's strange is that this used to
 work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
 cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 
 
  # Remove some pop daemon's leftover file
  $file = $mail_dir/.${login_name}.pop;
  if (-e $file || -l $file) {
  print STDERR Removing pop daemon's temporary mail file ${file}:;
  unlink $file ||
  print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
 continuing\n;
  print STDERR  done.\n;
  }
 
 So I wonder whether it's a bug - or maybe a later popper update? - that
 has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
 instead?

As far as I can tell the change was introduced back in 2002 when rmuser was
changed from a Perl program into a shell script - presumably as part of the
process of removing Perl from the base system.
FreeBSD versions 2.2 - 4.11 used the Perl version of rmuser, while all
5.x and 6.x releases have used the shell script version.

I have no idea if the difference - if the file rmuser looks for has a leading
'.' in the filename or not - was deliberate or simply a mistake, but I
suspect the latter: it is the kind of thing that is very easy to miss when
rewriting a program in another language.



-- 
Insert your favourite quote here.
Erik Trulsson
[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: FreeBsd e-mail question

2007-10-04 Thread Ian Smith
On Thu, 4 Oct 2007, Erik Trulsson wrote:
  On Thu, Oct 04, 2007 at 04:56:35PM +1000, Ian Smith wrote:
   On Wed, 3 Oct 2007 16:30:54 -0400 Lisa Casey [EMAIL PROTECTED] wrote:
   
 The problem comes in when a customer cancels his account. We remove 
   users by 
 rmuser username. That command removes the user from the password file, 
 removes his home directory and removes the mailspool. What it doesn't 
   do is 
 to remove the .username.pop file associated with that mailbox. This 
   isn't a 
 problem unless we add another account with the same username. The new 
 account cannot pop his mail because he gets the following  error messge:
 
 -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
 
 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
 ownership of the file is the group number of the original jjvc.
 
 -rw-rw   1 1473 mail 0 Sep 11 19:15 
 .jjvc.pop
 
 Is there anyway to have rmuser remover the mail drop file associated 
   with 
 that account also, or am I just going to have to remove these manually?
   
   I've read this whole thread, and what's strange is that this used to
   work.  I just checked our old FreeBSD 2.2.6 system where rmuser always
   cleaned up /var/mail/.{$user}.pop properly.  Its /usr/sbin/rmuser had: 
   
# Remove some pop daemon's leftover file
$file = $mail_dir/.${login_name}.pop;
if (-e $file || -l $file) {
print STDERR Removing pop daemon's temporary mail file ${file}:;
unlink $file ||
print STDERR \n${whoami}: Warning: unlink on $file failed ($!) - 
   continuing\n;
print STDERR  done.\n;
}
   
   So I wonder whether it's a bug - or maybe a later popper update? - that
   has the present version of rmuser looking for ${MAILSPOOL}/${login}.pop
   instead?
  
  As far as I can tell the change was introduced back in 2002 when rmuser was
  changed from a Perl program into a shell script - presumably as part of the
  process of removing Perl from the base system.
  FreeBSD versions 2.2 - 4.11 used the Perl version of rmuser, while all
  5.x and 6.x releases have used the shell script version.
  
  I have no idea if the difference - if the file rmuser looks for has a leading
  '.' in the filename or not - was deliberate or simply a mistake, but I
  suspect the latter: it is the kind of thing that is very easy to miss when
  rewriting a program in another language.

Looks like that's exactly right.  Copying the maintainer and suggesting
the no-brain patch, pardon the broken tabs from pasting, against the
head / stable versions (checked) .. I should sendPR I guess .. time!

Cheers, Ian

--- /usr/sbin/rmuserSat Mar  3 16:48:29 2007
+++ /home/smithi/rmuser Fri Oct  5 00:30:51 2007
@@ -86,10 +86,10 @@
echo -n  mailspool
rm ${MAILSPOOL}/$login
fi
-   if [ -f ${MAILSPOOL}/${login}.pop ]; then
-   verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
+   if [ -f ${MAILSPOOL}/.${login}.pop ]; then
+   verbose  echo -n  ${MAILSPOOL}/.${login}.pop ||
echo -n  pop3
-   rm ${MAILSPOOL}/${login}.pop
+   rm ${MAILSPOOL}/.${login}.pop
fi
verbose  echo '.'
 }

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


FreeBsd e-mail question

2007-10-03 Thread Lisa Casey

Hi,

I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be 
asking  this on the Qpopper list, but hopefully someone here knows an 
answer). We have all of our mailboxes in mbox format in /var/mail. When a 
customer pops his mail for the first time it creates a file .username.pop in 
/var/mail which never goes away, it remains as a zero byte file. It's quite 
useful as we can tell from the timestamp on it when the customer last popped 
his mail.


The problem comes in when a customer cancels his account. We remove users by 
rmuser username. That command removes the user from the password file, 
removes his home directory and removes the mailspool. What it doesn't do is 
to remove the .username.pop file associated with that mailbox. This isn't a 
problem unless we add another account with the same username. The new 
account cannot pop his mail because he gets the following  error messge:


-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.

If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
ownership of the file is the group number of the original jjvc.


-rw-rw   1 1473 mail 0 Sep 11 19:15 
.jjvc.pop


Is there anyway to have rmuser remover the mail drop file associated with 
that account also, or am I just going to have to remove these manually?


Thanks,

Lisa Casey


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


Re: FreeBsd e-mail question

2007-10-03 Thread Roland Smith
On Wed, Oct 03, 2007 at 04:30:54PM -0400, Lisa Casey wrote:
 
 The problem comes in when a customer cancels his account. We remove users 
 by rmuser username. That command removes the user from the password file, 
 removes his home directory and removes the mailspool. What it doesn't do is 
 to remove the .username.pop file associated with that mailbox. This isn't a 
 problem unless we add another account with the same username. The new 
 account cannot pop his mail because he gets the following  error messge:
 
 -ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.
 
 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
 ownership of the file is the group number of the original jjvc.
 
 -rw-rw   1 1473 mail 0 Sep 11 19:15 
 .jjvc.pop
 
 Is there anyway to have rmuser remover the mail drop file associated with 
 that account also, or am I just going to have to remove these manually?

Since rmuser is a shell-script, you could easily change it to suit your
needs. Look at the function rm_mail (lines 79-95), and change
'${login}.pop' to '.${login}.pop' in line 89,90 and line 92.

A more elegant approach would be to duplicate lines 89-93 and add the
dot before the login in the second instance, changeing  pop3 to 
qpopper as well.

If you make this change, do not forget to re-apply it after doing a
installworld. :-)

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpZJ3KArWwo8.pgp
Description: PGP signature


Re: FreeBsd e-mail question

2007-10-03 Thread Steve Bertrand
 Is there anyway to have rmuser remover the mail drop file associated
 with that account also, or am I just going to have to remove these
 manually?

It really depends on what version of rmuser you have.

In /usr/sbin/rmuser, do you have something similar to this code snippet?:

if [ -f ${MAILSPOOL}/${login}.pop ]; then
verbose  echo -n  ${MAILSPOOL}/${login}.pop ||
echo -n  pop3
rm ${MAILSPOOL}/${login}.pop
fi

...if so, try putting a . character before each instance of ${login}.pop.

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


Re: FreeBsd e-mail question

2007-10-03 Thread Mel
On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote:

 If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the
 ownership of the file is the group number of the original jjvc.

 -rw-rw   1 1473 mail 0 Sep 11 19:15
 .jjvc.pop

 Is there anyway to have rmuser remover the mail drop file associated with
 that account also, or am I just going to have to remove these manually?

rmuser is a shell script. There's 2 ways to solve this problem:
1) edit the rm_mail function in /usr/sbin/rmuser to use:
   ${MAILSPOOL}/.${login}.pop
2) Better option is to change the default temp-name in qpopper.config:
   set temp-name %s.pop
   so that rmuser will detect it automatically.

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


Re: FreeBsd e-mail question

2007-10-03 Thread Erik Trulsson
On Wed, Oct 03, 2007 at 11:04:58PM +0200, Mel wrote:
 On Wednesday 03 October 2007 22:30:54 Lisa Casey wrote:
 
  If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the
  ownership of the file is the group number of the original jjvc.
 
  -rw-rw   1 1473 mail 0 Sep 11 19:15
  .jjvc.pop
 
  Is there anyway to have rmuser remover the mail drop file associated with
  that account also, or am I just going to have to remove these manually?
 
 rmuser is a shell script. There's 2 ways to solve this problem:
 1) edit the rm_mail function in /usr/sbin/rmuser to use:
${MAILSPOOL}/.${login}.pop
 2) Better option is to change the default temp-name in qpopper.config:
set temp-name %s.pop
so that rmuser will detect it automatically.

A third option is to write a wrapper shell script that first calls rmuser
and then removes the remaining mail drop file, and use this script to remove
users instead of calling rmuser directly.

Option 2) above sounds like a better solution though.




-- 
Insert your favourite quote here.
Erik Trulsson
[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: FreeBsd e-mail question

2007-10-03 Thread Derek Ragona

At 03:30 PM 10/3/2007, Lisa Casey wrote:

Hi,

I'm running Sendmail and Qpopper on FreeBsd. (And perhaps I ought to be 
asking  this on the Qpopper list, but hopefully someone here knows an 
answer). We have all of our mailboxes in mbox format in /var/mail. When a 
customer pops his mail for the first time it creates a file .username.pop 
in /var/mail which never goes away, it remains as a zero byte file. It's 
quite useful as we can tell from the timestamp on it when the customer 
last popped his mail.


The problem comes in when a customer cancels his account. We remove users 
by rmuser username. That command removes the user from the password file, 
removes his home directory and removes the mailspool. What it doesn't do 
is to remove the .username.pop file associated with that mailbox. This 
isn't a problem unless we add another account with the same username. The 
new account cannot pop his mail because he gets the following  error messge:


-ERR [SYS/PERM] Temporary drop /var/mail/.jjvc.pop not owned by jjvc.

If I take a look at /var/mail/.jjvc.pop it isn't owned by anyone, the 
ownership of the file is the group number of the original jjvc.


-rw-rw   1 1473 mail 0 Sep 11 19:15 
.jjvc.pop


Is there anyway to have rmuser remover the mail drop file associated with 
that account also, or am I just going to have to remove these manually?


Thanks,

Lisa Casey


Lisa,

rmuser only removes the system dependent files that adduser creates.  You 
would need to creat your own shell script to remove the qpopper file and to 
call rmuser.


Remember the basic utilities are meant to manage the core services, not 
add-on ports.


-Derek





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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: FreeBsd e-mail question

2007-10-03 Thread jellico.com, Inc.

Hi,


2) Better option is to change the default temp-name in qpopper.config:
   set temp-name %s.pop
   so that rmuser will detect it automatically.


A third option is to write a wrapper shell script that first calls rmuser
and then removes the remaining mail drop file, and use this script to 
remove

users instead of calling rmuser directly.

Option 2) above sounds like a better solution though.


I agree, that sounds like the best solution. Just to be on the safe side, I 
think I'll make a backup of rmuser first  ;-)


Thanks for all the suggestions.

Lisa Casey

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


Re: Mail question

2005-09-16 Thread Robert Slade
On Fri, 2005-09-16 at 00:02, Chris Petrovitch wrote:
 Alexander Bogdanov wrote:
 
 Hello.
 I'm student from Latvia. I'd like to ask you a question about Postfix
 mail system under FreeBSD.
 I have such problem: target is to allow user to change his mail
 account's password by himself. For example, I set password for his
 account, and maybe, user doesn't want me to know this password, so
 he'd like to change it!
 The question is: HOW? 
 
 I'm looking forward to hearing from you.
   
 
 
 I'm in the same situation  I used /etc/passwd for people with shell 
 accounts, and /usr/local/etc/userdb (courier-imap) for virtual accounts..
 
 any insight on this would be great!

Chris,

I can't help directly, but couier-imap does have an addon courier-passd
which allows remote changing of passwords. There is an example on the
qmailrocks site:

http://freebsd.qmailrocks.org/imap.htm

Rob

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


Re: Mail question

2005-09-16 Thread Lowell Gilbert
Chris Petrovitch [EMAIL PROTECTED] writes:

 Alexander Bogdanov wrote:
 
 Hello.
 I'm student from Latvia. I'd like to ask you a question about Postfix
 mail system under FreeBSD.
 I have such problem: target is to allow user to change his mail
 account's password by himself. For example, I set password for his
 account, and maybe, user doesn't want me to know this password, so
 he'd like to change it!
  The question is: HOW? I'm looking forward to hearing from you.
 
 
 I'm in the same situation  I used /etc/passwd for people with
 shell accounts, and /usr/local/etc/userdb (courier-imap) for virtual
 accounts..
 
 any insight on this would be great!

Note that in neither case does the password have anything directly to
do with Postfix.  For shell accounts, passwd(1) is the standard
answer, and there are add-on services (e.g., mail/poppassd).  For
Courier databases, you may need something specific to Courier; is 
security/courierpassd relevant?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail question

2005-09-16 Thread Alexander Bogdanov
Hello.
I can describe my problem: server will be located in school (school
web server). And i'd like to create mail accounts for pupils and
teachers, there's no problem. But...i'd like user to change his
password by himself, he is just user, and don't have shell account in
this server, only mail!

Maybe, i should write any PHP script to change /etc/passwd ?
On 16 Sep 2005 08:55:09 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Chris Petrovitch [EMAIL PROTECTED] writes:
 
  Alexander Bogdanov wrote:
 
  Hello.
  I'm student from Latvia. I'd like to ask you a question about Postfix
  mail system under FreeBSD.
  I have such problem: target is to allow user to change his mail
  account's password by himself. For example, I set password for his
  account, and maybe, user doesn't want me to know this password, so
  he'd like to change it!
   The question is: HOW? I'm looking forward to hearing from you.
  
 
  I'm in the same situation  I used /etc/passwd for people with
  shell accounts, and /usr/local/etc/userdb (courier-imap) for virtual
  accounts..
 
  any insight on this would be great!
 
 Note that in neither case does the password have anything directly to
 do with Postfix.  For shell accounts, passwd(1) is the standard
 answer, and there are add-on services (e.g., mail/poppassd).  For
 Courier databases, you may need something specific to Courier; is
 security/courierpassd relevant?
 
 --
 Lowell Gilbert, embedded/networking software engineer, Boston area
 http://be-well.ilk.org/~lowell/
 


-- 
Best regards,
Alexander Bogdanov (GSM: +3716100890).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail question

2005-09-16 Thread Igor Robul

Alexander Bogdanov wrote:


Hello.
I can describe my problem: server will be located in school (school
web server). And i'd like to create mail accounts for pupils and
teachers, there's no problem. But...i'd like user to change his
password by himself, he is just user, and don't have shell account in
this server, only mail!
 

1) Postfix or any other SMTP server does not need passwords with default 
configuration

2) Passwords are used for _receiving_ mail from mail server (POP3 or IMAP)
3) Most current IMAP servers support virtual users
4) There are several ways to change passwords of these virtual users, 
which depend on your IMAP/POP3 server


5) If you use Samba or NT4/Win2000/XP domain, then you can install 
security/pam_smb port, and tell your IMAP server to use pam_smb for 
authentification, then users will be able to change their password from 
their NT/Win2K/XP workstation.


6) In school environment you may consider giving users shell access, so 
they can use gcc and other tools in education process, there are not 
very big security risk with shell users

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


Mail question

2005-09-15 Thread Alexander Bogdanov
Hello.
I'm student from Latvia. I'd like to ask you a question about Postfix
mail system under FreeBSD.
I have such problem: target is to allow user to change his mail
account's password by himself. For example, I set password for his
account, and maybe, user doesn't want me to know this password, so
he'd like to change it!
The question is: HOW? 

I'm looking forward to hearing from you.

-- 
Best regards,
Alexander Bogdanov (GSM: +3716100890).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mail question

2005-09-15 Thread Chris Petrovitch



Alexander Bogdanov wrote:


Hello.
I'm student from Latvia. I'd like to ask you a question about Postfix
mail system under FreeBSD.
I have such problem: target is to allow user to change his mail
account's password by himself. For example, I set password for his
account, and maybe, user doesn't want me to know this password, so
he'd like to change it!
The question is: HOW? 


I'm looking forward to hearing from you.
 



I'm in the same situation  I used /etc/passwd for people with shell 
accounts, and /usr/local/etc/userdb (courier-imap) for virtual accounts..


any insight on this would be great!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard Mail Question

2004-08-24 Thread Odhiambo Washington
* Sean Murphy [EMAIL PROTECTED] [20040824 02:12]: wrote:
 Without using leave mail on server or leave mail on server for x days 
 is it possible after I have downloaded my email to my computer using pop3 
 to put it back so I can access it from a different computer.  Possibly ftp 
 it back to the server and copy it to my mail directory to redownload it? or 
 mabey install imap and place it in my inbox folder on my local drive... 
 would that throw it back on the server?
 
 FreeBSD 4.10 and Sendmail

Hi Sean,

The easy answer is NO.
The complicated answer is everything is possible under the sky.
Maybe yes, if you ask this question on [EMAIL PROTECTED] ;)

You will ask them to direct you to a tool that takes a .dbx file, splits
it into individual e-mails, in a format that is not proprietary to
Microshit and then you can FTP those back to the server, placing them
either in ~smurphy/Maildir/new/ or in /var/mail/smurphy - I guess you
already see how much time you will waste using Microshit products!


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
Q:  How many Martians does it take to screw in a lightbulb?
A:  One and a half.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard Mail Question

2004-08-24 Thread Joshua Tinnin
On Monday 23 August 2004 04:11 pm, Sean Murphy [EMAIL PROTECTED] wrote:
 Without using leave mail on server or leave mail on server for x days
 is it possible after I have downloaded my email to my computer using pop3
 to put it back so I can access it from a different computer.  Possibly ftp
 it back to the server and copy it to my mail directory to redownload it? or
 mabey install imap and place it in my inbox folder on my local drive...
 would that throw it back on the server?

No - the previous answer to your query was correct - but imap is going in the 
right direction. You could set up an imap server on your own FreeBSD machine 
and access your email and all your folders from anywhere with it, even from 
multiple accounts (which can be pop3 or imap, or whatever), feeding into your 
imap server. Of course, you have to set up your machine as a real mail server 
to do this, which might not be what you want to do.

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


Re: Hard Mail Question

2004-08-24 Thread Ruben de Groot
On Tue, Aug 24, 2004 at 11:03:34AM +0300, Odhiambo Washington typed:
 * Sean Murphy [EMAIL PROTECTED] [20040824 02:12]: wrote:
  Without using leave mail on server or leave mail on server for x days 
  is it possible after I have downloaded my email to my computer using pop3 
  to put it back so I can access it from a different computer.  Possibly ftp 
  it back to the server and copy it to my mail directory to redownload it? or 
  mabey install imap and place it in my inbox folder on my local drive... 
  would that throw it back on the server?
  
  FreeBSD 4.10 and Sendmail
 
 Hi Sean,
 
 The easy answer is NO.
 The complicated answer is everything is possible under the sky.
 Maybe yes, if you ask this question on [EMAIL PROTECTED] ;)

 You will ask them to direct you to a tool that takes a .dbx file, splits
 it into individual e-mails, in a format that is not proprietary to
 Microshit and then you can FTP those back to the server, placing them
 either in ~smurphy/Maildir/new/ or in /var/mail/smurphy - I guess you
 already see how much time you will waste using Microshit products!

Actually, since Sean seems to be using Eudora 
(X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1), whose files are in the 
standard Unix mailbox format, simply uploading the mailbox file and 
appending it to /var/mail/user on the server *should* do the trick.

Ruben

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


Re: Hard Mail Question

2004-08-24 Thread Geert Hendrickx
On Mon, Aug 23, 2004 at 04:11:49PM -0700, Sean Murphy wrote:
 Without using leave mail on server or leave mail on server for x days 
 is it possible after I have downloaded my email to my computer using pop3 
 to put it back so I can access it from a different computer.  Possibly ftp 
 it back to the server and copy it to my mail directory to redownload it? or 
 mabey install imap and place it in my inbox folder on my local drive... 
 would that throw it back on the server?
 
 FreeBSD 4.10 and Sendmail

You could use UIDL on your pop3-client (e.g. fetchmail).  It keeps a
database of which mails have been downloaded already (using server-side
checksums), and that way you could leave all your mail on one central
server, downloading it on different clients (and downloading every mail
only once per client).  

Your .fetchmailrc would look something like this: 

poll pop3-server with protocol POP3 options uidl
user pop3-username there with password pop3-password
is local-username here options keep

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


Re: Hard Mail Question

2004-08-24 Thread Charles Ulrich

Odhiambo Washington said:
 * Sean Murphy [EMAIL PROTECTED] [20040824 02:12]: wrote:
 Without using leave mail on server or leave mail on server for x days
 is it possible after I have downloaded my email to my computer using pop3
 to put it back so I can access it from a different computer.  Possibly ftp
 it back to the server and copy it to my mail directory to redownload it? or
 mabey install imap and place it in my inbox folder on my local drive...
 would that throw it back on the server?

 FreeBSD 4.10 and Sendmail

 Hi Sean,

 The easy answer is NO.

The other easy answer is YES.

Just open up your mail client and send the messages back to yourself. It's
always worked for me.

-- 
Charles Ulrich
System Administrator
Ideal Solution - http://www.idealso.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hard Mail Question

2004-08-23 Thread Sean Murphy
Without using leave mail on server or leave mail on server for x days 
is it possible after I have downloaded my email to my computer using pop3 
to put it back so I can access it from a different computer.  Possibly ftp 
it back to the server and copy it to my mail directory to redownload it? or 
mabey install imap and place it in my inbox folder on my local drive... 
would that throw it back on the server?

FreeBSD 4.10 and Sendmail
---
Sean Murphy
Network Technician
California Institute of the Arts
[EMAIL PROTECTED]
www.calarts.edu/network
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Squirrell Mail question

2004-05-19 Thread Marius Kirschner
No, squirrelmail requires IMAP, it won't do POP3.  Check the Squirrelmail
Requirements page at:

http://www.squirrelmail.org/wiki/SquirrelMailRequirements

---Marius  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Darryl Hoar
 Sent: Friday, May 14, 2004 10:53 AM
 To: [EMAIL PROTECTED]
 Subject: Squirrell Mail question
 
 Does squirrell Mail do pop3 as well as smtp ?  In other 
 words, must I install a mail server for smtp prior to 
 installing squirrell mail ?
 
 thanks,
 Darryl
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

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


Squirrell Mail question

2004-05-14 Thread Darryl Hoar
Does squirrell Mail do pop3 as well as smtp ?  In other words, 
must I install a mail server for smtp prior to installing squirrell mail ?

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


Re: Squirrell Mail question

2004-05-14 Thread Micheal Patterson


- Original Message - 
From: Darryl Hoar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 14, 2004 9:53 AM
Subject: Squirrell Mail question


 Does squirrell Mail do pop3 as well as smtp ?  In other words,
 must I install a mail server for smtp prior to installing squirrell mail ?

 thanks,
 Darryl

Squirrel mail is a client. So, for it to be able to send mail, it has to
pass the message to a smtp server. For it to read mail, it has to have an
imap server that it connects to. Squirrellmail doesn't handle POP3 directly.
You have to configure your imap server to pull mail from a pop3. Check out
the squirrellmail faq about this at
http://www.squirrelmail.org/wiki/en_US/HowToPOP


--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Re: Squirrell Mail question

2004-05-14 Thread Micheal Patterson


- Original Message - 
From: Micheal Patterson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 14, 2004 10:10 AM
Subject: Re: Squirrell Mail question




 - Original Message - 
 From: Darryl Hoar [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, May 14, 2004 9:53 AM
 Subject: Squirrell Mail question


  Does squirrell Mail do pop3 as well as smtp ?  In other words,
  must I install a mail server for smtp prior to installing squirrell mail
?
 
  thanks,
  Darryl

 Squirrel mail is a client. So, for it to be able to send mail, it has to
 pass the message to a smtp server. For it to read mail, it has to have an
 imap server that it connects to. Squirrellmail doesn't handle POP3
directly.
 You have to configure your imap server to pull mail from a pop3. Check out
 the squirrellmail faq about this at
 http://www.squirrelmail.org/wiki/en_US/HowToPOP


 --


Correction, Squirrellmail has a built in utility to pull mail from a remote
POP3 server and store it on your local imap server,
http://www.squirrelmail.org/wiki/en_US/MailFetch

--

Micheal Patterson
TSG Network Administration
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.

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


Re: Squirrell Mail question

2004-05-14 Thread albi
On Fri, 14 May 2004 09:53:06 -0500
Darryl Hoar [EMAIL PROTECTED] wrote:

 Does squirrell Mail do pop3 as well as smtp ?  In other words, 
 must I install a mail server for smtp prior to installing squirrell
 mail ?

Squirrelmail has a pop3-plugin available for fetching pop from
pop3-servers but squirrelmail needs an IMAP-server somewhere anyway
(there's UW-imap, Cyrus-imap, Courier-imap and more options)

when you use your ISP's smtp-host in the squirrelmail-settings then you
don't need to set up your smtp-software for that

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


Pop Mail Question

2004-03-31 Thread Chris Strzelczyk
Hello,

I need to install a relay for my mobile to be able to send through my 
mail servers.  I was wondering what is the better solution to do this, 
pop-before-smtp or smtp-auth.  I am open to installing any on my server, 
however, I don't know the limitations of both.

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


mail question...

2004-02-22 Thread Xpression
Hi list, there is a package / tool to protect against spam ??? Thanks...

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


Re: mail question...

2004-02-22 Thread Kevin D. Kinsey, DaleCo, S.P.
Xpression wrote:

Q:

Hi list, there is a package / tool to protect against spam ??? Thanks...

 



A:  A few ...

[EMAIL PROTECTED] [/usr/ports] [21:49]
#make search key=spam | grep port
Path:   /usr/ports/mail/adcomplain
Path:   /usr/ports/mail/bayespam
Path:   /usr/ports/mail/bogofilter
Path:   /usr/ports/mail/bogofilter-qdbm
Path:   /usr/ports/mail/bogofilter-tdb
Path:   /usr/ports/mail/dcc-dccd
Path:   /usr/ports/mail/dspam
Path:   /usr/ports/mail/filtermail
Path:   /usr/ports/mail/hashcash
Path:   /usr/ports/mail/junkfilter
Path:   /usr/ports/mail/mailscanner
Path:   /usr/ports/mail/mailscanner-devel
Path:   /usr/ports/mail/mimedefang
Path:   /usr/ports/mail/p5-Mail-Graph
Path:   /usr/ports/mail/p5-Mail-SpamAssassin
Path:   /usr/ports/mail/p5-Mail-SpamAssassin-snapshot
Path:   /usr/ports/mail/py-spambayes
Path:   /usr/ports/mail/pyzor
Path:   /usr/ports/mail/qconfirm
Path:   /usr/ports/mail/qsf
Path:   /usr/ports/mail/razor-agents
Path:   /usr/ports/mail/relaydb
Path:   /usr/ports/mail/sccmilter
Path:   /usr/ports/mail/smtp-vilter
Path:   /usr/ports/mail/spamass-milter
Path:   /usr/ports/mail/spambnc
Path:   /usr/ports/mail/spamd
Path:   /usr/ports/mail/spamguard
Path:   /usr/ports/mail/spamoracle
Path:   /usr/ports/mail/spamprobe
Path:   /usr/ports/mail/spamstats
Path:   /usr/ports/mail/tmda
Path:   /usr/ports/misc/spamcalc
Path:   /usr/ports/news/cleanfeed
Path:   /usr/ports/news/nntpcache
Path:   /usr/ports/security/amavisd-new
Path:   /usr/ports/sysutils/pipemeter
Path:   /usr/ports/www/p5-Apache-AntiSpam
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sending mail question...

2004-01-08 Thread Jason Stewart
On 07/01/04 16:11 -0500, Xpression wrote:
 Hi list, I've a little bit confused, I have a mail server running
 Exim as MTA, now what about if I want to send mail with another server to
 some mailboxes on the server running the MTA...I think I've to install a
 client or something like that ??? Thanks...


The mail program is a simple utility that will fulfill your needs. See
man 1 mail.

If you need to send and/or receive mail manually on a regular basis, a
mail client that I recommend is mutt, which you can find in the ports.

Good Luck,
Jason

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


Re: sending mail question...

2004-01-08 Thread Peter Risdon
On 07/01/04 16:11 -0500, Xpression wrote:

   Hi list, I've a little bit confused, I have a mail server running
Exim as MTA, now what about if I want to send mail with another server to
some mailboxes on the server running the MTA...I think I've to install a
client or something like that ??? Thanks...
   

I'm not completely sure what you're asking, so might be barking up the 
wrong tree or telling you stuff you know, but to make a FreeBSD machine 
running Exim be the mailserver for your domain(s) you need to:

1. Edit the Exim config file to identify the domain(s) you want it to 
handle as local, and to ensure that delivery rules are as you would wish.

2. Make sure there is a valid mx record in the dns entry for the 
domain(s) identifying your Exim-running server as the message exchanger.

And it should work. To test the Exim setup (before updating the DNS 
records), you can telnet to the smtp port on the FreeBSD/Exim machine 
and compose an e-mail to a valid recipient on that box using the command 
line. If it's delivered successfully, update the DNS. Then, after a 
propagation interval of a day or two, you will be able to send mails to 
that machine from anywhere.

If you simply want to send a mail to your Exim server using another 
FreeBSD machine, you've been answered already by others though, 
regardless of the mail client you choose, your Exim machine will still 
need to be the mx for your domain in the DNS records if you want to 
address the mails to a [EMAIL PROTECTED] in the normal way.

PWR

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


sending mail question...

2004-01-07 Thread Xpression
Hi list, I've a little bit confused, I have a mail server running
Exim as MTA, now what about if I want to send mail with another server to
some mailboxes on the server running the MTA...I think I've to install a
client or something like that ??? Thanks...

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


Re: mail question...

2003-11-02 Thread Matthew Seaman
On Sat, Nov 01, 2003 at 09:35:43PM -0500, Xpression wrote:
 Hi guys, I have read the man pages about mail, but I can't found
 something to attacht files to sent mails, and I want to mail me some files
 from the server to not have to login to read them...somebody can tell me ???
 There is any other solution to get the files, please any help deeply
 grateful...

There's a couple or three things you can do.  If all you want to do is
be able to read the file at the other end (rather than saving it to
disk), and it's an acsii text format, then you can just pipe the file
into the mail(1) command as the body of an e-mail:

% mail -s Some subject [EMAIL PROTECTED]  the-file-in-question

If the file you want to send is binary, or you want to be able to
extract it from the e-mail at the other end, then you can use
uuencode(1):

% uuencode filename filename | mail -s Some subject [EMAIL PROTECTED]

Note that you have to put *two* file names on the uuencode command
line: the first is the file to read into uuencode and the second is
the name that uudecode(1) should use to save the file as at the other
end.  Most unix mail clients will understand how to extract uuencoded
messages, or you can just save the message to a file, which you then
run uudecode on.  uudecode will ignore all of the message headers and
other stuff automatically.

That's about the limit of what you can do with the default system:
more sophisticated things are possible if you install various bits and
pieces out of the ports tree.  If you want the file to be sent as a
full-blown MIME attachment, there are quite a lot of bits of software
for handling MIME encapsulation in there.

Probably the easiest thing to do is install one of the mutt ports --
mail/mutt or mail/mutt-devel; either will work.  Then:

% mutt -a file-name

will pop you into an editor where you can fill in the message
recipients, subject line, any cover noted required etc. and then send
the message with the file as an attachment.

If you want to send a message unattended (described as batch mode in
the mutt documentation
http://www.mutt.org/doc/manual/manual-6.html#ss6.1 ) then all you need
to do is redirect mutt's standard input from a file -- the contents of
the input will form the body of the message:

% echo Here is the file you want | mutt -a file-name -s Some subject [EMAIL 
PROTECTED]

There are all sorts of things you can make mutt do -- see
http://www.mutt.org/doc/manual/manual.html -- it really is the least
sucky mail client around.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


mail question...

2003-11-01 Thread Xpression
Hi guys, I have read the man pages about mail, but I can't found
something to attacht files to sent mails, and I want to mail me some files
from the server to not have to login to read them...somebody can tell me ???
There is any other solution to get the files, please any help deeply
grateful...

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


/var/mail question

2003-07-07 Thread quadrant
I was temporarilly using pine to retrieve my email, and upon exiting the
program, pine notified me that the /var/mail directory was
vulnerable, and advised a chmod 1777 of such. The default is 775.
What are the implications of this, and won't 1777 make the folder more
vulnerable? My understanding was that if the SUID bit is turned
on for either U, G or O, that security is more at risk. Please
let me know what I should do...
Thanks,
Eric


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


Re: /var/mail question

2003-07-07 Thread Daniel Bye
On Mon, Jul 07, 2003 at 11:59:51AM -0400, quadrant wrote:
 I was temporarilly using pine to retrieve my email, and upon exiting the
 program, pine notified me that the /var/mail directory was
 vulnerable, and advised a chmod 1777 of such. The default is 775.
 What are the implications of this, and won't 1777 make the folder more
 vulnerable? My understanding was that if the SUID bit is turned
 on for either U, G or O, that security is more at risk. Please
 let me know what I should do...
 Thanks,
 Eric

chmod 1777 turns on the sticky bit, as well as giving rwx permissions for
all.  This is the same as, for example, /tmp.

The sticky bit tells the system to allow only the owner of a file to unlink
that file.  That is, although any user can create a file, only the user that
created it may unlink it.

With the default mode of 0775, any member of the group owner of the
directory could delete files.  However, provided you only have trusted users
in that group, it shouldn't be a problem.  I have never seen such warnings,
so have never given it any thought.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp0.pgp
Description: PGP signature


Re: /var/mail question

2003-07-07 Thread Bill Moran
quadrant wrote:
I was temporarilly using pine to retrieve my email, and upon exiting the
program, pine notified me that the /var/mail directory was
vulnerable, and advised a chmod 1777 of such. The default is 775.
What are the implications of this, and won't 1777 make the folder more
vulnerable? My understanding was that if the SUID bit is turned
on for either U, G or O, that security is more at risk. Please
let me know what I should do...
Read the man page for chmod.

The suid and sgid bits mean something different on directories than on
files.  When set, they force all files created in that directory to be
owned by the owner of the directory.  Again ... see the man page for more
detail, as well as (I believe) a description of how this helps security.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /var/mail question

2003-07-07 Thread Chuck Swiger
quadrant wrote:
I was temporarilly using pine to retrieve my email, and upon exiting the
program, pine notified me that the /var/mail directory was
vulnerable, and advised a chmod 1777 of such. The default is 775.
What are the implications of this, and won't 1777 make the folder more
vulnerable? My understanding was that if the SUID bit is turned
on for either U, G or O, that security is more at risk. Please
let me know what I should do...
Permission 1777 involves the sticky bit, which is used for /tmp, not setuid or 
setgid:

STICKY DIRECTORIES
 A directory whose `sticky bit' is set becomes an append-only directory,
 or, more accurately, a directory in which the deletion of files is
 restricted.  A file in a sticky directory may only be removed or renamed
 by a user if the user has write permission for the directory and the user
 is the owner of the file, the owner of the directory, or the super-user.
 This feature is usefully applied to directories such as /tmp which must
 be publicly writable but should deny users the license to arbitrarily
 delete or rename each others' files.
I think the stock BSD permissions of 775 imply that the LDA must be running as 
root in order to perform local delivery.  The other type of mail configuration 
(used by SysV-style Unices) involves 770 permissions and having the LDA be 
setgid to mail.

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


Mail Question

2002-12-06 Thread Chris Collins
Hello

I have a very simple question that I cannot seem to find a simple 
answer for.

I would like to have all SMTP delivered mail to (Box A)relayed to a 
external mail server (Box B) for delivery then have the mail delivered 
to its destination.


User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X 
(external server Box B) for delivery  to destination host.

Is there any simple way to do this? I am not sure how to relay the mail 
from box A to Box B

I am running 4.7 with the default sendmail install.

Thanks
Chris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Mail Question

2002-12-06 Thread Brian
If he wants mail for ALL domains forwarded, why not just edit the smart host
line in sendmail.cf and restart sendmail?

Bri

- Original Message -
From: Matthew Seaman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 8:48 AM
Subject: Re: Mail Question


 On Fri, Dec 06, 2002 at 11:30:34AM -0500, Chris Collins wrote:

  I have a very simple question that I cannot seem to find a simple
  answer for.
 
  I would like to have all SMTP delivered mail to (Box A)relayed to a
  external mail server (Box B) for delivery then have the mail delivered
  to its destination.
 
 
  User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X
  (external server Box B) for delivery  to destination host.
 
  Is there any simple way to do this? I am not sure how to relay the mail
  from box A to Box B

 Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

 define(`SMART_HOST', `boxb.your.dom.ain')

 If `hostname`.mc doesn't exist, typing 'make' in /etc/mail will
 generate a default version.  After editing that file, simply:

 cd /etc/mail
 make install restart-mta

 to generate the modified sendmail.cf and load it into the sendmail MTA
 process.

 Simple enough for you?

 Cheers,

 Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
   Savill Way
   Marlow
 Tel: +44 1628 476614  Bucks., SL7 1TH UK

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mail Question

2002-12-06 Thread Matthew Seaman
I wrote:
 Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

 define(`SMART_HOST', `boxb.your.dom.ain')

On Fri, Dec 06, 2002 at 08:54:29AM -0800, Brian wrote:
 If he wants mail for ALL domains forwarded, why not just edit the smart host
 line in sendmail.cf and restart sendmail?

Same difference. Sure, he could do that, but it's usually a good idea
to have sendmail.cf correspond to what's in the `hostname`.mc file.
For instance, you could quite easily mysteriously lose your edited
sendmail.cf by over-eager mergemaster-ing...

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mail Question

2002-12-06 Thread Matthew Seaman
On Fri, Dec 06, 2002 at 11:30:34AM -0500, Chris Collins wrote:

 I have a very simple question that I cannot seem to find a simple 
 answer for.
 
 I would like to have all SMTP delivered mail to (Box A)relayed to a 
 external mail server (Box B) for delivery then have the mail delivered 
 to its destination.
 
 
 User A send mail   10.0.0.10(smtp Box A)   relay to 216.X.X.X 
 (external server Box B) for delivery  to destination host.
 
 Is there any simple way to do this? I am not sure how to relay the mail 
 from box A to Box B

Define box B as the smart host in box A's /etc/mail/`hostname`.mc:

define(`SMART_HOST', `boxb.your.dom.ain')

If `hostname`.mc doesn't exist, typing 'make' in /etc/mail will
generate a default version.  After editing that file, simply:

cd /etc/mail
make install restart-mta

to generate the modified sendmail.cf and load it into the sendmail MTA
process.

Simple enough for you?

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mail Question

2002-12-06 Thread Chris Collins
 define(`SMART_HOST', `boxb.your.dom.ain')   WORKED great..

Thanks to everybody that responded.

Chris
On Friday, December 6, 2002, at 11:48  AM, Matthew Seaman wrote:


 define(`SMART_HOST', `boxb.your.dom.ain')



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message