Re: Login.conf Limits not Applying for Postfix

2013-05-09 Thread Eric S Pulley

 Hey list,

 I have a pretty low resource usage for users on my system, thus I have
 some low limits set in my /etc/login.conf. Particularly openfiles, which
 is set to 128 for the default class. However, I started getting errors
 from Postfix saying it has hit this limit:
 postfix/proxymap[97907]: warning: could allocate space for only 128 open
 files

 So I added a new class in my /etc/login.conf:

 postfix:\
 :openfiles=1024:\
 :tc=default:

 Yes, I did run `cap_mkdb /etc/login.conf` (multiple times, in fact). I
 stopped and restarted the postfix daemon. I've even rebooted the system
 entirely since then, to no avail (It sends half the mail at a time - but
 the error appears again once mail starts building up). Am I missing
 something? Do I need to set the postfix user into the postfix login class
 somehow?

Yes see http://www.freebsd.org/doc/en/books/handbook/users-modifying.html

 My full /etc/login.conf is here: http://pastebin.ca/2376936


___
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


Login.conf Limits not Applying for Postfix

2013-05-08 Thread hccip
Hey list,

I have a pretty low resource usage for users on my system, thus I have some low 
limits set in my /etc/login.conf. Particularly openfiles, which is set to 128 
for the default class. However, I started getting errors from Postfix saying it 
has hit this limit:
postfix/proxymap[97907]: warning: could allocate space for only 128 open files

So I added a new class in my /etc/login.conf:

postfix:\
:openfiles=1024:\
:tc=default:

Yes, I did run `cap_mkdb /etc/login.conf` (multiple times, in fact). I stopped 
and restarted the postfix daemon. I've even rebooted the system entirely since 
then, to no avail (It sends half the mail at a time - but the error appears 
again once mail starts building up). Am I missing something? Do I need to set 
the postfix user into the postfix login class somehow?

My full /etc/login.conf is here: http://pastebin.ca/2376936

___
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: 9.1 Postfix problem

2013-04-26 Thread Paul Kraus
On Apr 17, 2013, at 10:04 AM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

 Paul Kraus p...@kraus-haus.org writes:
 
  When building postfix under 91. I am running into an odd
 problem. I use the INST_BASE option, which seems to cause the problem
 (it worked fine with 9.0). The 'make' goes fine, but the 'make
 install' fails when trying to install the startup script to
 /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is
 disabled. I looked through the Makefile but could not suss out how
 that difference in configuration was actually causing the problem.
 
  Has anyone else run into this problem and what was the fix (or did you 
 just install into /usr/local) ?
 
 I use /usr/local, but this seems to be a typo in the last checkin, 
 which changed the internal names of the port options to our brave new
 naming scheme. 
 
 If you look in the Makefile clause for installing to base, renaming the
 option itself went correctly, but both halves of the '.if' now invoke
 USE_RC_SUBR. That's correct for PREFIX, but for installing into base
 should be USE_RCORDER instead.

Lowell,
That was exactly the problem. I knew it was in the installation 
configuration *somewhere*, but I just could not find it. Thanks.

Should I report this as a bug in the postfix port ?

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: 9.1 Postfix problem

2013-04-26 Thread Lowell Gilbert
Paul Kraus p...@kraus-haus.org writes:

   That was exactly the problem. I knew it was in the
 installation configuration *somewhere*, but I just could not find
 it. Thanks.

   Should I report this as a bug in the postfix port ?

No need. Looks like sahil@ has already fixed it.

Be well.
___
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: 9.1 Postfix problem

2013-04-17 Thread Lowell Gilbert
Paul Kraus p...@kraus-haus.org writes:

   When building postfix under 91. I am running into an odd
 problem. I use the INST_BASE option, which seems to cause the problem
 (it worked fine with 9.0). The 'make' goes fine, but the 'make
 install' fails when trying to install the startup script to
 /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is
 disabled. I looked through the Makefile but could not suss out how
 that difference in configuration was actually causing the problem.

   Has anyone else run into this problem and what was the fix (or did you 
 just install into /usr/local) ?

I use /usr/local, but this seems to be a typo in the last checkin, 
which changed the internal names of the port options to our brave new
naming scheme. 

If you look in the Makefile clause for installing to base, renaming the
option itself went correctly, but both halves of the '.if' now invoke
USE_RC_SUBR. That's correct for PREFIX, but for installing into base
should be USE_RCORDER instead.
___
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


9.1 Postfix problem

2013-04-16 Thread Paul Kraus
When building postfix under 91. I am running into an odd problem. I use 
the INST_BASE option, which seems to cause the problem (it worked fine with 
9.0). The 'make' goes fine, but the 'make install' fails when trying to install 
the startup script to /usr/etc/rc.d instead of /etc/rc.d. It works fine if 
INST-BASE is disabled. I looked through the Makefile but could not suss out how 
that difference in configuration was actually causing the problem.

Has anyone else run into this problem and what was the fix (or did you 
just install into /usr/local) ?

--
Paul Kraus
Deputy Technical Director, LoneStarCon 3
Sound Coordinator, Schenectady Light Opera Company

___
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: 9.1 Postfix problem

2013-04-16 Thread Walter Hurry
On Tue, 16 Apr 2013 17:16:20 -0400, Paul Kraus wrote:

 When building postfix under 91. I am running into an odd problem. I use
 the INST_BASE option, which seems to cause the problem (it worked fine
 with 9.0). The 'make' goes fine, but the 'make install' fails when
 trying to install the startup script to /usr/etc/rc.d instead of
 /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the
 Makefile but could not suss out how that difference in configuration was
 actually causing the problem.
 
   Has anyone else run into this problem and what was the fix (or 
did you
   just install into /usr/local) ?

No problems at all for me with Postfix on 9.1-RELEASE, which I just 
install with the defaults.

My postfix is in /usr/local/sbin. Why would you want to do things 
differently?

___
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: Sendmail and Postfix

2012-06-23 Thread Alejandro Imass
On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote:
 From owner-freebsd-questi...@freebsd.org  Fri Jun 22 13:47:20 2012
 To: freebsd-questions@freebsd.org
 Date: Fri, 22 Jun 2012 13:41:46 -0500
 From: Mark Felder f...@feld.me
 Subject: Re: Sendmail and Postfix

 When you installed Postfix did you allow it to update the entries in
 /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary
 that came with the system; it's ignored.

 For SendMail, mailq is just a symlink to the SendMail executable.

 the mail.conf stuff (to use a polite word) installs it's own executable(s)
 under all the 'common' names that SendMail is invoked as.  These
 executables look at /etc/mailer.conf, and invoke the appropiate executable
 for the mailer that you have seleccted in mailer.conf.


mailer.conf is usually modified my the Postfix port and I am not sure
but I think the option is checked by default.

The lines to add to rc.conf to de-activate Sendmail and usu Postfix on
the base system are:

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
postfix_enable=YES

-- 
Alejandro Imass


 ___
 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
___
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


Sendmail and Postfix

2012-06-22 Thread Walter Hurry
A little digging around has revealed that there are two 'mailq' 
executables on my system: /usr/local/bin/mailq and /usr/bin/mailq.

The first is part of the mail/postfix-current port which I have installed 
and use, and the second is presumably part of Sendmail, which I have not 
installed and do not use.

It seems that Sendmail is embedded somehow in the base system. What is 
the 'approved' way to get rid of /usr/bin/mailq? Or better, remove 
Sendmail?

Sorry if this is a newbie question; I am as yet relatively unfamiliar 
with FreeBSD, being a refugee from GNU/Linux.

This is FreeBSD 9.0-RELEASE, by the way.

___
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: Sendmail and Postfix

2012-06-22 Thread Matthew Seaman
On 22/06/2012 19:19, Walter Hurry wrote:
 It seems that Sendmail is embedded somehow in the base system. What is 
 the 'approved' way to get rid of /usr/bin/mailq? Or better, remove 
 Sendmail?

You don't need to remove the base system sendmail.  All you need to do
is set up /etc/mail/mailer.conf properly -- and installing the postfix
port should do that for you -- and then any reference to
/usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run
postfix instead.  It's really very nicely done.

See mailer.conf(5)

Cheers,

Matthew

PS. Alright, yes.  You can prevent sendmail from being built as part of
the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but
this supposes that you want to build the system yourself, rather than
using, say, freebsd-update(8).  See src.conf(5) and read in
/usr/src/UPDATING and the Handbook about the procedure for building the
system from source.

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey





signature.asc
Description: OpenPGP digital signature


Re: Sendmail and Postfix

2012-06-22 Thread Mark Felder
When you installed Postfix did you allow it to update the entries in  
/etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary  
that came with the system; it's ignored.

___
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: Sendmail and Postfix

2012-06-22 Thread Brian W.
During subsequent system upgrades, of you build from source, you should
watch out for thus during the mergemaster piece.

Brian
On Jun 22, 2012 11:44 AM, Matthew Seaman matt...@freebsd.org wrote:

 On 22/06/2012 19:19, Walter Hurry wrote:
  It seems that Sendmail is embedded somehow in the base system. What is
  the 'approved' way to get rid of /usr/bin/mailq? Or better, remove
  Sendmail?

 You don't need to remove the base system sendmail.  All you need to do
 is set up /etc/mail/mailer.conf properly -- and installing the postfix
 port should do that for you -- and then any reference to
 /usr/sbin/sendmail, /usr/bin/mailq, usr/bin/hoststat etc. will run
 postfix instead.  It's really very nicely done.

 See mailer.conf(5)

Cheers,

Matthew

 PS. Alright, yes.  You can prevent sendmail from being built as part of
 the base system by defining 'WITHOUT_SENDMAIL=yes' in /etc/src.conf, but
 this supposes that you want to build the system yourself, rather than
 using, say, freebsd-update(8).  See src.conf(5) and read in
 /usr/src/UPDATING and the Handbook about the procedure for building the
 system from source.

 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey




___
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: Sendmail and Postfix

2012-06-22 Thread Chuck Swiger
Hi--

On Jun 22, 2012, at 11:19 AM, Walter Hurry wrote:
 A little digging around has revealed that there are two 'mailq' 
 executables on my system: /usr/local/bin/mailq and /usr/bin/mailq.
 
 The first is part of the mail/postfix-current port which I have installed 
 and use, and the second is presumably part of Sendmail, which I have not 
 installed and do not use.
 
 It seems that Sendmail is embedded somehow in the base system. What is 
 the 'approved' way to get rid of /usr/bin/mailq? Or better, remove 
 Sendmail?

BSD Unixes have shipped with Sendmail for decades, much as BIND is also
included-- so yes, Sendmail is included with the base system by default.

The approved way is to simply leave things be.  Properly written software
will honor the links setup by mailwrapper(8) and use the Postfix MTA which
you installed instead:

  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html

If you really want to remove sendmail entirely, you can rebuild FreeBSD with

   NO_SENDMAIL=TRUE

...set in /etc/make.conf, which will avoid building sendmail at all.

Regards,
-- 
-Chuck

___
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: Sendmail and Postfix

2012-06-22 Thread Walter Hurry
On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote:

 When you installed Postfix did you allow it to update the entries in
 /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary
 that came with the system; it's ignored.

Thanks! (Thanks too to the other responders.)

Looks like that's the step I missed. Fixed now.

Cheers.

___
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: Sendmail and Postfix

2012-06-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Fri Jun 22 13:47:20 2012
 To: freebsd-questions@freebsd.org
 Date: Fri, 22 Jun 2012 13:41:46 -0500
 From: Mark Felder f...@feld.me
 Subject: Re: Sendmail and Postfix

 When you installed Postfix did you allow it to update the entries in  
 /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary  
 that came with the system; it's ignored.

For SendMail, mailq is just a symlink to the SendMail executable.

the mail.conf stuff (to use a polite word) installs it's own executable(s)
under all the 'common' names that SendMail is invoked as.  These
executables look at /etc/mailer.conf, and invoke the appropiate executable
for the mailer that you have seleccted in mailer.conf.

___
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: Postfix + Courier IMAP local email problems

2012-04-15 Thread Ian Smith
In freebsd-questions Digest, Vol 410, Issue 12, Message: 2
On Sat, 14 Apr 2012 10:51:36 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:
 | Ron rg.li...@rzweb.com wrote:
   OK, I found the problem.  It was the hostname not being set correctly.  
   What threw me was that it was correct in the rc.conf file, but I did not 
   know you needed to reboot the machine to have it take effect.  It just 
   never occurred to me to run 'hostname' and see since I was seeing it 
   correctly in the rc.conf.
  
  FYI, while it's true tht rc.conf is processed only t boot time, you don't
  _have_ to reboot when you make a change.  What you _do_ need to do is run
  the same commands the the rc processing does.  Unfortunately, with the 
  'rc.d'-style process, where rc.conf just sets environment variables, and
  everything else happens 'by magic', it can be a major effort to figure 
  out -what- commands need to be run when you change something, and 'reboot'
  *is* the simplest way to get the  job done.  One reason _I_ much prefer
  the old BSD-style '/etc/rc.boot' and '/etc/rc.local' approch.  It was
  =far= simpler to see exactly what was going on, in what order, and with
  what params.  Tracking stuff through the rc.d/* swamp is a 'project' -- 
  there is a whole nuther 'command language' to master.  :((

It's really not all that complicated to change hostname(1)

t23# grep hostname /etc/rc.conf
hostname=t23.smithi.id.au
t23# hostname
t23.smithi.id.au
t23# hostname boofar
t23# hostname
boofar
t23# csh
boofar# exit
exit
t23# hostname
boofar
t23# hostname t23.smithi.id.au
t23# hostname
t23.smithi.id.au

cheers, Ian
___
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: Postfix + Courier IMAP local email problems

2012-04-14 Thread Robert Bonomi

 Date: Fri, 13 Apr 2012 18:48:19 -0700
 From: Ron rg.li...@rzweb.com
 To: Robert Bonomi bon...@mail.r-bonomi.com
 Subject: Re: Postfix + Courier IMAP local email problems

 On 12.04.2012 13:54, Robert Bonomi wrote:
 
  Is there some simple I'm just messing up?
 
  Yes.   grin
 
  The difficulty comes in identifying _which_ simple thing it is that 
  is
  messed up.

 OK, I found the problem.  It was the hostname not being set correctly.  
 What threw me was that it was correct in the rc.conf file, but I did not 
 know you needed to reboot the machine to have it take effect.  It just 
 never occurred to me to run 'hostname' and see since I was seeing it 
 correctly in the rc.conf.

FYI, while it's true tht rc.conf is processed only t boot time, you don't
_have_ to reboot when you make a change.  What you _do_ need to do is run
the same commands the the rc processing does.  Unfortunately, with the 
'rc.d'-style process, where rc.conf just sets environment variables, and
everything else happens 'by magic', it can be a major effort to figure 
out -what- commands need to be run when you change something, and 'reboot'
*is* the simplest way to get the  job done.  One reason _I_ much prefer
the old BSD-style '/etc/rc.boot' and '/etc/rc.local' approch.  It was
=far= simpler to see exactly what was going on, in what order, and with
what params.  Tracking stuff through the rc.d/* swamp is a 'project' -- 
there is a whole nuther 'command language' to master.  :((


___
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: Postfix + Courier IMAP local email problems

2012-04-13 Thread Jerry
On Thu, 12 Apr 2012 20:28:40 -0700
Ron articulated:

{snip}

Why are you wasting time posting this question on the FreeBSD list
when it properly belongs on the Postfix forum.

You can start here to subscribe to the list:

http://www.postfix.com/lists.html

Then be sure to read all of the documentation for how to report a
problem on this URL:

http://www.postfix.com/DEBUG_README.html

In particular, this section:

http://www.postfix.com/DEBUG_README.html#mail

If you had done this to begin with your problem would have been solved
by now.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: Postfix + Courier IMAP local email problems

2012-04-13 Thread Ron

On 12.04.2012 13:54, Robert Bonomi wrote:

From owner-freebsd-questi...@freebsd.org  Thu Apr 12 15:09:43 2012
Date: Thu, 12 Apr 2012 13:01:10 -0700
From: Ron rg.li...@rzweb.com
To: freebsd-questions@freebsd.org
Subject: Postfix + Courier IMAP local email problems

I'm having a couple of issues with postfix and courier-imap on my 
new

machine and I'm trying to figure out what is different from my old
machine.  I've checked every config file I think of and they both 
seem

to be set up the same.

Here are the two issues:

If I send email from a local user (while SSH'd in using the command
line mail) to another local user (mail t...@mysite.com) on the same
machine, but using the full email address, I get the following error 
and

the email bounced back:

553 5.3.5 mail.mysite.com. config error: mail loops back to me (MX
problem?)
554 5.3.5 Local configuration error


this is a 'well known' problem.


The only thing I can think of is that mysite.com and mail.mysite.com
(the mx record) do not point to the same server (which they did on 
my

old machine).


it's not that sample.  grin

   I have also tried everything I can think of in how 
users

are listed in postfix's virtual file and in /etc/aliases and server
entries in main.cf.


The problem is that the 'local' machine DOES NOT KNOW that it is 
supposed

to accept mail for the domain specified in the email addressz.

  The server looks at the address, determines that it is *NOT* local,
by whatever means 'postfix' uses to make that determination (it's the
'w' class in Sendmail), and goes off to query DNS for the MX for the
'remote' machine to send mail to.  DNS returns this (the one asking 
for

the 'remote' machine name) machine as the destination to deliver to.
the local server =knows= that is incorrect, because it is not the 
delivery
point for that domain.  hence the error message, and 'return to 
sender'

as undeliverable.

This _is_ a configuration error in (probably) the local mailserver, 
or in

the way the local hostname/domainname are set up..

The second issue is if (again, SSH'd in an using mail) I send email 
to
a local user without the @mysite.com (mail todd) then the email 
isn't

available via IMAP externally.  I can read it using the command line
mail, but not externally via IMAP.  These two mailboxs are 
completely

separate and have two different lists of waiting email.


This is an 'inconsistency' in the way 'locally' generated mail is 
being

handled, and the way externally generated mail is being handled.

*PROBABLY* because -one- mail server program is being started at boot
time, and a _different_ program is being invoked when somebody sends
locally from the command-line.

Chasing this down can be a b*tch.  Everything and it's cousins has 
the
executable name 'sendmail' hard-coded into it for sending outgoing 
mail.
Sometimes the original 'sendmail' is replaced by a different 
executable

'of the same name', that is really 'postfix', 'exim', 'qmail', or the
dreaded 'something else'.  Sometimes 'sendmail' is a switching 
program
that determings -- by some arbitrary means (typically a configurtion 
file,

stored 'somewhere')-- _which_ of many alternatives to call.

Now _if_ the mailer started at boot time is *explicitly* named as 
something
_other_ than sendmail, and is -not- what you get when you invoke 
the name
'sendmail', you have obvious potential for dissimilar behavior.  
this
is _probably_ what is going on in your case. Local command-line 
mail

is being delivered to an 'mbox' type mailbox, while 'remote' mail is
being delivered to 'something different' -- I think recent versios of
IMAP use a database-type struture rather than a simple 'mbox'.


Everything works fine if I send email from a remote client
(Thunderbird, Mail.app) and read the email with a remote client via
IMAP.  It's just the local email sending that seems to be broken.  
I'd
like to get one of these two problems fixed so root can email me 
daily
log files, which it can't do right now or I can't read via IMAP 
because

they are't going to the right mailbox.

Is there some simple I'm just messing up?


Yes.   grin

The difficulty comes in identifying _which_ simple thing it is that 
is

messed up.


OK, I found the problem.  It was the hostname not being set correctly.  
What threw me was that it was correct in the rc.conf file, but I did not 
know you needed to reboot the machine to have it take effect.  It just 
never occurred to me to run 'hostname' and see since I was seeing it 
correctly in the rc.conf.


Thanks for the help.

Ron






___
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


Postfix + Courier IMAP local email problems

2012-04-12 Thread Ron
I'm having a couple of issues with postfix and courier-imap on my new 
machine and I'm trying to figure out what is different from my old 
machine.  I've checked every config file I think of and they both seem 
to be set up the same.


Here are the two issues:

If I send email from a local user (while SSH'd in using the command 
line mail) to another local user (mail t...@mysite.com) on the same 
machine, but using the full email address, I get the following error and 
the email bounced back:


553 5.3.5 mail.mysite.com. config error: mail loops back to me (MX 
problem?)

554 5.3.5 Local configuration error

The only thing I can think of is that mysite.com and mail.mysite.com 
(the mx record) do not point to the same server (which they did on my 
old machine).  I have also tried everything I can think of in how users 
are listed in postfix's virtual file and in /etc/aliases and server 
entries in main.cf.


The second issue is if (again, SSH'd in an using mail) I send email to 
a local user without the @mysite.com (mail todd) then the email isn't 
available via IMAP externally.  I can read it using the command line 
mail, but not externally via IMAP.  These two mailboxs are completely 
separate and have two different lists of waiting email.


Everything works fine if I send email from a remote client 
(Thunderbird, Mail.app) and read the email with a remote client via 
IMAP.  It's just the local email sending that seems to be broken.  I'd 
like to get one of these two problems fixed so root can email me daily 
log files, which it can't do right now or I can't read via IMAP because 
they are't going to the right mailbox.


Is there some simple I'm just messing up?
___
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: Postfix + Courier IMAP local email problems

2012-04-12 Thread Chuck Swiger
On Apr 12, 2012, at 1:01 PM, Ron wrote:
 If I send email from a local user (while SSH'd in using the command line 
 mail) to another local user (mail t...@mysite.com) on the same machine, but 
 using the full email address, I get the following error and the email bounced 
 back:
 
 553 5.3.5 mail.mysite.com. config error: mail loops back to me (MX problem?)
 554 5.3.5 Local configuration error
 
 The only thing I can think of is that mysite.com and mail.mysite.com (the mx 
 record) do not point to the same server (which they did on my old machine).  
 I have also tried everything I can think of in how users are listed in 
 postfix's virtual file and in /etc/aliases and server entries in main.cf.

You need to tell Postfix that mysite.com and mail.mysite.com are local.
See the mydestination keyword in main.cf.

 The second issue is if (again, SSH'd in an using mail) I send email to a 
 local user without the @mysite.com (mail todd) then the email isn't available 
 via IMAP externally.  I can read it using the command line mail, but not 
 externally via IMAP.  These two mailboxs are completely separate and have two 
 different lists of waiting email.

This implies you might be using a command line mail which does direct delivery 
to a Unix-style mailbox, but Postfix is using courier via mailbox_transport 
setting.  Postfix ought to come with a sendmail-ish wrapper which does delivery 
via Courier instead, probably under /usr/local/libexec/postfix/sendmail and 
linked to /usr/local/sbin/sendmail or similar via mailwrapper(8).

Regards,
-- 
-Chuck

___
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: Postfix + Courier IMAP local email problems

2012-04-12 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Thu Apr 12 15:09:43 2012
 Date: Thu, 12 Apr 2012 13:01:10 -0700
 From: Ron rg.li...@rzweb.com
 To: freebsd-questions@freebsd.org
 Subject: Postfix + Courier IMAP local email problems

 I'm having a couple of issues with postfix and courier-imap on my new 
 machine and I'm trying to figure out what is different from my old 
 machine.  I've checked every config file I think of and they both seem 
 to be set up the same.

 Here are the two issues:

 If I send email from a local user (while SSH'd in using the command 
 line mail) to another local user (mail t...@mysite.com) on the same 
 machine, but using the full email address, I get the following error and 
 the email bounced back:

 553 5.3.5 mail.mysite.com. config error: mail loops back to me (MX 
 problem?)
 554 5.3.5 Local configuration error

this is a 'well known' problem.

 The only thing I can think of is that mysite.com and mail.mysite.com 
 (the mx record) do not point to the same server (which they did on my 
 old machine). 

it's not that sample.  grin

I have also tried everything I can think of in how users 
 are listed in postfix's virtual file and in /etc/aliases and server 
 entries in main.cf.

The problem is that the 'local' machine DOES NOT KNOW that it is supposed
to accept mail for the domain specified in the email addressz.

  The server looks at the address, determines that it is *NOT* local, 
by whatever means 'postfix' uses to make that determination (it's the
'w' class in Sendmail), and goes off to query DNS for the MX for the
'remote' machine to send mail to.  DNS returns this (the one asking for
the 'remote' machine name) machine as the destination to deliver to.
the local server =knows= that is incorrect, because it is not the delivery
point for that domain.  hence the error message, and 'return to sender'
as undeliverable.   

This _is_ a configuration error in (probably) the local mailserver, or in
the way the local hostname/domainname are set up..

 The second issue is if (again, SSH'd in an using mail) I send email to 
 a local user without the @mysite.com (mail todd) then the email isn't 
 available via IMAP externally.  I can read it using the command line 
 mail, but not externally via IMAP.  These two mailboxs are completely 
 separate and have two different lists of waiting email.

This is an 'inconsistency' in the way 'locally' generated mail is being
handled, and the way externally generated mail is being handled.

*PROBABLY* because -one- mail server program is being started at boot
time, and a _different_ program is being invoked when somebody sends
locally from the command-line.

Chasing this down can be a b*tch.  Everything and it's cousins has the
executable name 'sendmail' hard-coded into it for sending outgoing mail.
Sometimes the original 'sendmail' is replaced by a different executable
'of the same name', that is really 'postfix', 'exim', 'qmail', or the 
dreaded 'something else'.  Sometimes 'sendmail' is a switching program
that determings -- by some arbitrary means (typically a configurtion file,
stored 'somewhere')-- _which_ of many alternatives to call.

Now _if_ the mailer started at boot time is *explicitly* named as something
_other_ than sendmail, and is -not- what you get when you invoke the name
'sendmail', you have obvious potential for dissimilar behavior.  this
is _probably_ what is going on in your case. Local command-line mail
is being delivered to an 'mbox' type mailbox, while 'remote' mail is 
being delivered to 'something different' -- I think recent versios of 
IMAP use a database-type struture rather than a simple 'mbox'. 

 Everything works fine if I send email from a remote client 
 (Thunderbird, Mail.app) and read the email with a remote client via 
 IMAP.  It's just the local email sending that seems to be broken.  I'd 
 like to get one of these two problems fixed so root can email me daily 
 log files, which it can't do right now or I can't read via IMAP because 
 they are't going to the right mailbox.

 Is there some simple I'm just messing up?

Yes.   grin

The difficulty comes in identifying _which_ simple thing it is that is
messed up.  


___
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: Postfix + Courier IMAP local email problems

2012-04-12 Thread Ron

On 12.04.2012 13:54, Robert Bonomi wrote:

From owner-freebsd-questi...@freebsd.org  Thu Apr 12 15:09:43 2012
Date: Thu, 12 Apr 2012 13:01:10 -0700
From: Ron rg.li...@rzweb.com
To: freebsd-questions@freebsd.org
Subject: Postfix + Courier IMAP local email problems

I'm having a couple of issues with postfix and courier-imap on my 
new

machine and I'm trying to figure out what is different from my old
machine.  I've checked every config file I think of and they both 
seem

to be set up the same.

Here are the two issues:

If I send email from a local user (while SSH'd in using the command
line mail) to another local user (mail t...@mysite.com) on the same
machine, but using the full email address, I get the following error 
and

the email bounced back:

553 5.3.5 mail.mysite.com. config error: mail loops back to me (MX
problem?)
554 5.3.5 Local configuration error


this is a 'well known' problem.


The only thing I can think of is that mysite.com and mail.mysite.com
(the mx record) do not point to the same server (which they did on 
my

old machine).


it's not that sample.  grin

   I have also tried everything I can think of in how 
users

are listed in postfix's virtual file and in /etc/aliases and server
entries in main.cf.


The problem is that the 'local' machine DOES NOT KNOW that it is 
supposed

to accept mail for the domain specified in the email addressz.

  The server looks at the address, determines that it is *NOT* local,
by whatever means 'postfix' uses to make that determination (it's the
'w' class in Sendmail), and goes off to query DNS for the MX for the
'remote' machine to send mail to.  DNS returns this (the one asking 
for

the 'remote' machine name) machine as the destination to deliver to.
the local server =knows= that is incorrect, because it is not the 
delivery
point for that domain.  hence the error message, and 'return to 
sender'

as undeliverable.

This _is_ a configuration error in (probably) the local mailserver, 
or in

the way the local hostname/domainname are set up..



I guess the question is: What is the configuration error?

I've tried setting:

mydestination = mysite.com, mail.mysite.com

and it has no affect.  The main.cf on my new machine is exactly the 
same as the main.cf on my old machine except for:


virtual_alias_domains = mysite.com, mail.mysite.com

which contains the domain of my new machine.

master.cf is also identical.

Is there a verbose mode I can put postfix into to see that the issue 
is?


It should also be noted that mysite.com is a postfix virtual domain.  
This was true of my old machine as well, but I don't know if that 
matters.  Sending email to t...@myserver.net produces the same MX error.








___
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


postfix knowledgable folks

2012-02-25 Thread csbender
I need to bid out some work, 


Is there anybody who is good at postfix with freebsd 8.2. 
I am willing to pay an expert if he can assist me as I am having issue with my 
system.


What is happening is mail is coming from machine A--à sent to a middle machine 
X 
which I think is acting as a delivery machine(as I see postfix as a processes) 
which iisn’t the recipient of the mail just Deliverer. It is also a jails 
machine. Anyway the logs on system A say the following when sending a mail to 
me 
through X.
 
Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: 
to=chris.ben...@cell.com, ctladdr=build@ccl_imagpsm.wms.cell.com (500/500), 
delay=21:10:07, xdelay=00:00:00, mailer=relay, pri=4080533, 
relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed out with 
tools2.wms.cell.com.
 
I did a tcp dump on system X and I did see packets coming in and out from X on 
port 25 but nothing came in on the maillog.
 
I attempted  telnet to IP address of system X on port 25 from A. Connection 
times out. 

The DNS isn’t an issue I tried the IP address as well.
 
On system X I see postfix running. I restarted postfix several times on system 
X. I even restarted the entire system.
 
I know nothing about postfix either. It is weird that I can email from X 
though. 

I tried postfix status from MAN and postfix flush but that didn’t reveal much.
 
Its weird that the delivery on A says deferred connection timed out but on 
tcpdump I see the port 25 Traffic seemingly working on system X.
 
That’s what I know which is very little about this.

please call 561 312 4848 ask for scott
___
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


impossible? postfix filter partial virtual domain mailboxes

2012-02-06 Thread Da Rock
I have a postfix mta (beauty mate!) and I've managed to twist its 
panties into a real tight knot by using a filter (smtpd), and through 
using it to put my isp mail into a local box thanks to fetchmail.


The problem I'm facing is that it now won't send mail to any other users 
on my isp's domain. I did manage to get it working _before_ I put the 
filter on, I used vtransport tables to tell it to deliver via smtp 
except _my_ address.


Other than that it works fine, and the problem doesn't come up often- 
usually just about the time I need to complain to my isp (says a lot 
about their service, doesn't it?), maybe once a year?


One thing that did raise my eyebrow when I put the filter in was the 
receive_override_options, which is set to no_address_mappings. Could 
this be the issue?


What would make me happier is to deliver directly via maildrop, but that 
raises a lot of other issues... I'd have to figure out how to access the 
mail via courier, shared folders, etc. I'm not sure that would be 
worthwhile.


Thoughts?

TIA
___
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


SSL/TLS suddenly stopped working for postfix

2011-12-30 Thread Mark

My apologies for the cross-posting but I believe it is relevant.

I have been running postfix for 8+ months without problems.  
Recently ( a week or two) I had a user complain that he could no longer 
send.  It appears that postfix is no longer accepting SSL/TLS 
connections.  STARTTLS is working on port 587 (and possibly 25, still 
testing)  I am trying to figure out why the change.


If I try and open an openssl connection manually, this is what I get:

openssl s_client -connect mail.myServer.net:587
CONNECTED(0003)
44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown 
protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478:


I recently installed a webmail client , roundcube.  Not sure if 
that could affect anything.


Any help is greatly appreciated.  I know I should send main.cf and 
master.cf but I have to filter out the proprietary info first...


Mark Moellering
___
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: SSL/TLS suddenly stopped working for postfix

2011-12-30 Thread Matt Mullins
On Fri, Dec 30, 2011 at 8:53 AM, Mark m...@msen.com wrote:
 My apologies for the cross-posting but I believe it is relevant.

That's still typically frowned upon, IMHO.

    I have been running postfix for 8+ months without problems.  Recently ( a
 week or two) I had a user complain that he could no longer send.  It appears
 that postfix is no longer accepting SSL/TLS connections.  STARTTLS is
 working on port 587 (and possibly 25, still testing)  I am trying to figure
 out why the change.

    If I try and open an openssl connection manually, this is what I get:

 openssl s_client -connect mail.myServer.net:587
 CONNECTED(0003)
 44829:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
 protocol:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s23_clnt.c:478:

This command starts speaking the SSL protocol immediately at the
beginning of the connection, which is wrong for STARTTLS cases.  You
need to do this instead:
  $ openssl s_client -connect mail.myserver.net:587 -starttls smtp

The most common SSL-just-stops-working issue is that your certificate
expired.  Check that by looking for Not After in the output of:
  root@mailserver# openssl x509 -noout -text -in /path/to/server.crt
--
Matt Mullins
___
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


postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
Could you comment on the pros and cons of using INST_BASE=on in postfix
on a production server?

-- 
Janos Dohanics
___
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: postfix INST_BASE option

2011-11-03 Thread Alejandro Imass
On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


Great question! I know there has been some discussion to be able to
choose your base MTA upon install but I don't know how far this has
gone.
I don't use that option but rather install it as a regular port,
register it in mailer.conf when it asks you to and then do this in
your rc.conf

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
postfix_enable=YES

I haven't used the INST_BASE option out of fear that it might give me
trouble on building world and upgrading. Also a new approach I'm
taking is using EzJail for service jails so use a pure MTA jail and
use the base sendmail as a relay to that. For the time being I'm using
posfix on the base system to relay  but in the future I plan to do it
with the native sendmail and only use postfix on the MTA service jail.

-- 
Alejandro Imass


 --
 Janos Dohanics
 ___
 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

___
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: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 4:23 PM, Alejandro Imass a...@p2ee.org wrote:
 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf

 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES


You can do this a lot easier with just:
sendmail_enable=NONE
postfix_enable=YES


-- 
chs,
___
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: postfix INST_BASE option

2011-11-03 Thread Eric Masson
Christer Solskogen christer.solsko...@gmail.com writes:

Hi,

 You can do this a lot easier with just:
 sendmail_enable=NONE

From rc.sendmail(8) :
RC.CONF VARIABLES
The following variables affect the behavior of rc.sendmail. They are
defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf.

 sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at
 system boot time.  If set to ``NO'', do not run a
 sendmail(8) daemon to listen for incoming network mail.
 This does not preclude a sendmail(8) daemon listening on
 the SMTP port of the loopback interface.
 The ``NONE'' option is deprecated and should not be used.
 It will be removed in a future release.

Regards

Éric Masson

-- 
 CS: Oui mais alors moi je me construis une souris avec autant de boutons
 qu'applis et je fais des racourcis, rena ! :-)
 LP: Ah oui, mais alors là il va falloir acheter des doigts, rerena! ;-p
 -+- LP in Guide du Macounet Pervers : Vous m'en mettrez une poignée -+-
___
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: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 6:19 PM, Eric Masson e...@free.fr wrote:
 From rc.sendmail(8) :

snip

See, know I also learned something today :-)


-- 
chs,
___
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: postfix INST_BASE option

2011-11-03 Thread Lowell Gilbert
Janos Dohanics w...@3dresearch.com writes:

 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?

I wouldn't describe either the pros or the cons as particularly strong.  

If you're not going to use sendmail, you might want to remove it.  If
you do source upgrades, then setting WITHOUT_SENDMAIL in src.conf will
keep it from getting built or installed, and will enable you to remove
the existing sendmail files as part of make delete-old.
___
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: postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
On Thu, 3 Nov 2011 11:23:46 -0400
Alejandro Imass a...@p2ee.org wrote:

 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com
 wrote:
  Could you comment on the pros and cons of using INST_BASE=on in
  postfix on a production server?
 
 
 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES
 
 I haven't used the INST_BASE option out of fear that it might give me
 trouble on building world and upgrading. Also a new approach I'm
 taking is using EzJail for service jails so use a pure MTA jail and
 use the base sendmail as a relay to that. For the time being I'm using
 posfix on the base system to relay  but in the future I plan to do it
 with the native sendmail and only use postfix on the MTA service jail.
 
 -- 
 Alejandro Imass

That's exactly what I have done when setting up systems, as well as
setting WITHOUT_SENDMAIL in src.conf, as Lowell Gilbert mentioned.

With the above options, Sendmail is disabled, is not being built
with buildworld, and Postfix is installed as regular port in /usr/local.

If INST_BASE=off is the default, what's then the usage scenario when I
still would want to change it?

-- 
Janos Dohanics
___
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


postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Mark Moellering
I recently set up a postfix mail server on freebsd 8.1 with dovecot.  I 
am having trouble sending mail using Windows Live Mail.

The error I see in the logfiles is:
Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554 5.7.1 
m...@.com: Relay access denied; from=b...@.com 
to=m...@.com proto=ESMTP helo=HPPC
Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from 
c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]


The error Windows Live displays is:

Server Error: 554
Server Response: 554 5.7.1 m...@.com: Relay access denied
Server: 'mail..com'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 587
Secure(SSL): No

If anyone can point me to a better list or otherwise help out, it would 
be greatly appreciated.  Naturally, Thunderbird and KDE-Mail work fine...


Mark Moellering
Class-Creator . com
___
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: postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Ilya Kazakevich
Your postfix does not relay mails from this client.
See http://www.postfix.org/SMTPD_ACCESS_README.html

http://www.postfix.org/SMTPD_ACCESS_README.htmlI suggest you to remove
your IPs from messages next time. By the way, postfix should have its own
mail-list, not freebsd:)

On Wed, Mar 16, 2011 at 11:35 PM, Mark Moellering m...@msen.com wrote:

 I recently set up a postfix mail server on freebsd 8.1 with dovecot.  I am
 having trouble sending mail using Windows Live Mail.
 The error I see in the logfiles is:
 Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
 Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554 5.7.1 
 m...@.com: Relay access denied; from=b...@.com to=
 m...@.com proto=ESMTP helo=HPPC
 Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from
 c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]

 The error Windows Live displays is:

 Server Error: 554
 Server Response: 554 5.7.1 m...@.com: Relay access denied
 Server: 'mail..com'
 Windows Live Mail Error ID: 0x800CCC79
 Protocol: SMTP
 Port: 587
 Secure(SSL): No

 If anyone can point me to a better list or otherwise help out, it would be
 greatly appreciated.  Naturally, Thunderbird and KDE-Mail work fine...

 Mark Moellering
 Class-Creator . com
 ___
 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

___
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: postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Mark Moellering
My apologies, I could not find the postfix mailing list initially.  (it 
has been a Deal with Microsoft software day...)

I have now found the proper list,
Thank You

On 16-Mar-11 5:15 PM, Ilya Kazakevich wrote:

Your postfix does not relay mails from this client.
See http://www.postfix.org/SMTPD_ACCESS_README.html

I suggest you to remove your IPs from messages next time. By the way, 
postfix should have its own mail-list, not freebsd:)


On Wed, Mar 16, 2011 at 11:35 PM, Mark Moellering m...@msen.com 
mailto:m...@msen.com wrote:


I recently set up a postfix mail server on freebsd 8.1 with
dovecot.  I am having trouble sending mail using Windows Live Mail.
The error I see in the logfiles is:
Mar 16 13:13:57 mail postfix/smtpd[5159]: connect from
c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]
Mar 16 13:13:57 mail postfix/smtpd[5159]: NOQUEUE: reject: RCPT
from c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]: 554
5.7.1 m...@.com mailto:m...@.com: Relay access denied;
from=b...@.com mailto:b...@.com to=m...@.com
mailto:m...@.com proto=ESMTP helo=HPPC
Mar 16 13:13:57 mail postfix/smtpd[5159]: disconnect from
c-68-40-255-141.hsd1.mi.comcast.net
http://c-68-40-255-141.hsd1.mi.comcast.net[68.40.255.141]

The error Windows Live displays is:

Server Error: 554
Server Response: 554 5.7.1 m...@.com mailto:m...@.com:
Relay access denied
Server: 'mail..com http://mail..com'
Windows Live Mail Error ID: 0x800CCC79
Protocol: SMTP
Port: 587
Secure(SSL): No

If anyone can point me to a better list or otherwise help out, it
would be greatly appreciated.  Naturally, Thunderbird and KDE-Mail
work fine...

Mark Moellering
Class-Creator . com
___
freebsd-questions@freebsd.org
mailto: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
mailto:freebsd-questions-unsubscr...@freebsd.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


Re: postfix / windows live mail problems (possibly OT)

2011-03-16 Thread Jerry
On Wed, 16 Mar 2011 17:48:36 -0400
Mark Moellering m...@msen.com articulated:

 My apologies, I could not find the postfix mailing list initially.
 (it has been a Deal with Microsoft software day...)
 I have now found the proper list,
 Thank You

Before posting to the Postfix list, follow the directions on the
Postfix debug page: http://www.postfix.com/DEBUG_README.html. In
addition, lose the Top Posting technique. I can assure you it will
not be appreciated there.

Specifically:

Reporting problems to postfix-us...@postfix.org

The people who participate on postfix-us...@postfix.org are very
helpful, especially if YOU provide them with sufficient information.
Remember, these volunteers are willing to help, but their time is
limited.

When reporting a problem, be sure to include the following information.

A summary of the problem. Please do not just send some logging without
explanation of what YOU believe is wrong.

Complete error messages. Please use cut-and-paste, or use attachments,
instead of reciting information from memory.

Output from postconf -n. Please do not send your main.cf file, or
500+ lines of postconf output.

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger.

If the problem is SASL related, consider including the output from the
saslfinger tool. This can be found at
http://postfix.state-of-mind.de/patrick.koetter/saslfinger/.

I use Windows Live Mail via Postfix all the time. I know it works quite well. 
You
probably do not have SASL or some other simple thing configured
incorrectly. This is not a Windows Live Mail problem.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

The latest toy has just hit the shops - a talking Muslim doll. Nobody
knows what the hell it says because no one's got the balls to pull the
cord.
___
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: qmail or postfix?

2011-02-27 Thread Andres Perera
Dear Sir/Madam,

Your email was unable reach the intended person that you were sending it to.
For more information on our business please click on the following link:
Click here for our website
We look forward to your continued business in the future.

Regards,
Webmaster
___
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: qmail or postfix?

2011-02-25 Thread Andres Perera
On Thu, Feb 3, 2011 at 4:54 PM, Jarrod Slick jar...@e-sensibility.com wrote:
 Dear Sir/Madam,

 Your email was unable reach the intended person that you were sending it to.
 For more information on our business please click on the following link:
 Click here for our website
 We look forward to your continued business in the future.

 Regards,
 Webmaster

___
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: qmail or postfix?

2011-02-02 Thread Randal L. Schwartz
 Jarrod == Jarrod Slick jar...@e-sensibility.com writes:

Jarrod If you know of any specific problems with postfix that would
Jarrod substantiate your claim I encourage you to inform the project's
Jarrod maintainers.

In fact, given the legacy of other security tools created by the author
of Postfix (Wietse Venema) (SATAN, TCP Wrappers, Coroner's Toolkit), I'd
say that postfix was *also* designed from the start as a secure MTA.  It
certainly looks that way.  I've met Wietse in person... he's an
upstanding guy.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: qmail or postfix?

2011-02-02 Thread C. P. Ghost
On Tue, Feb 1, 2011 at 9:44 PM, Paul Macdonald p...@ifdnrg.com wrote:
 On 01/02/2011 19:48, Randal L. Schwartz wrote:

 No, seriously... I was using sendmail before discovering postfix, and
 pretty darn good at m4.  Or is that m4()dnl()? :)

 But I've never found postfix without a knob to do something I want it to
 do, and most of the knobs are set properly right out of the box. (And
 reasonably named too!)

 so for us folks still using sendmail (which works fine for me)

 what benefits do we get with postfix that'd outweigh the hassles of
 changing?

sendmail's support of a UUCP backend maybe? But apparently, it's
possible to do that in postfix too[1] so I don't really know of any
compelling reason to stick to sendmail, except for being accustomed
to configuring and managing it, which is a purely subjective matter.

[1]: http://www.postfix.org/UUCP_README.html

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
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: qmail or postfix?

2011-02-02 Thread egoitz
version i tried. that turns off certain maintainers, and it would 
put me

off
aswell

postfix on the other hand is more in tune with the rest of the 
system



 thanks in advance
 ___
 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

___
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


___
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




Nowadays I think Postfix is much more complete and efficient mail 
system than Qmail although this one it's a pretty small and good code by 
design mail system... but the problem is that you'll probably need more 
features than qmail-1.03 gave unless... so you will need to patch it, so 
you're entering non qmail native code...


By my professional experience... Postfix will give you more 
oportunities and features for things going well... Some years ago I 
set up qmail servers and I like qmail and I like playing with it's 
code... but should say that nowadays unless IMHO... Postfix is 
basically the nowadays opensource mail system.


Bye!!
___
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: qmail or postfix?

2011-02-02 Thread Mike.
On 2/1/2011 at 8:44 PM Paul Macdonald wrote:

|On 01/02/2011 19:48, Randal L. Schwartz wrote:
|
| No, seriously... I was using sendmail before discovering postfix,
and
| pretty darn good at m4.  Or is that m4()dnl()? :)
|
| But I've never found postfix without a knob to do something I want
it to
| do, and most of the knobs are set properly right out of the box.
(And
| reasonably named too!)
|
|so for us folks still using sendmail (which works fine for me)
|
|what benefits do we get with postfix that'd outweigh the hassles of 
|changing?
 =


If you are happy with sendmail, why change a working thing?


For me, the need to move to Postfix became very apparent once I wanted
to make some [what I thought to be] simple configuration changes
(different transports for different domains, virtual mailboxes, etc.).
 

I found sendmail's configuration to be daunting.  So I looked
elsewhere.  About ten years ago I started using Postix and I've not
looked back.




___
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: qmail or postfix?

2011-02-02 Thread Frank Shute
On Tue, Feb 01, 2011 at 03:32:26PM +0100, Alessandro Baggi wrote:

 Hi list. Who is better, qmail or postfix?
 
 thanks in advance

I've used both and both have their advocates/supporters.

I used qmail for about 10 yrs and picked it when basically the choice
was qmail, sendmail and smail.

It worked well and was install and configure and don't do anything
else for 10 years.

Then a few years ago I was building a new machine and decided to
re-assess the MTA; I chose Postfix and am very pleased with it.

I chose Postfix because more people run it and support was likely
easier to come across, not because of any perceived inadequacies of
qmail.

When you do decide on your MTA, I'd recommend buying a book which
documents it.

What I'd also say is that Postfix is probably easier to install and
configure. I installed qmail from source but used the port for
Postfix.


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
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: qmail or postfix?

2011-02-02 Thread Pedro Timóteo

On 02-02-2011 16:37, Frank Shute wrote:

What I'd also say is that Postfix is probably easier to install and
configure.


Agreed. Postfix is *really* easy and well documented; so much that I've 
seen people claim that it can't be that good since it's so easy to 
configure, with great defaults and human-readable config files, and 
powerful means hard to configure.


___
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: qmail or postfix?

2011-02-02 Thread John Levine
When you do decide on your MTA, I'd recommend buying a book which
documents it.

Oh, definitely.  Particularly if you decide on qmail.

R's,
John
___
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


qmail or postfix?

2011-02-01 Thread Alessandro Baggi

Hi list. Who is better, qmail or postfix?

thanks in advance
___
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: qmail or postfix?

2011-02-01 Thread Kevin Wilcox
On Tue, Feb 1, 2011 at 09:32, Alessandro Baggi
alessandro.ba...@gmail.com wrote:

 Hi list. Who is better, qmail or postfix?

 thanks in advance

That's a loaded question. Both have advocates, just like vi or
emacs, Linux or Nothing, FreeBSD or OpenBSD, OS X or Windows
and X Window System or CLI.

That said, if you know neither and your requirements are met by both
of them, I'd opt for postfix. It isn't as burdened with dependencies
and, from what I can tell, it enjoys a larger, more active support
community.

kmw
___
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: qmail or postfix?

2011-02-01 Thread Jerry
On Tue, 01 Feb 2011 15:32:26 +0100
Alessandro Baggi alessandro.ba...@gmail.com articulated:

 Hi list. Who is better, qmail or postfix?

qmail is not actively supported by its developer. It requires
numerous patches, etc to bring it up to acceptable servicable standards.

Postfix is actively maintained and is constantly being upgraded by
its author. Its mail forum is robust and Postfix has outstanding
documentation; perhaps the best of any software available in the FOSS
world.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: qmail or postfix?

2011-02-01 Thread John Levine
I like qmail, but I would, having written a book about it.

If you want something that works reasonably well out of the
box, I'd use Postfix.  If you want something you can tweak to
do whatever you want, qmail is more of a toolkit.

Don't use the version of qmail in ports, it includes way too many
sloppily written patches.  netqmail 1.06 is a reasonable place to
start.

http://qmail.org/netqmail/

I've replaced the qmail SMTP daemon with Bruce Guenter's mailfront,
which is in the ports collection.  It has a flexible plugin design
which I've used to do better logging, spamassassin and DCC during the
SMTP session, etc.

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly
___
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: qmail or postfix?

2011-02-01 Thread Mike.
On 2/1/2011 at 10:23 AM Jerry wrote:

|On Tue, 01 Feb 2011 15:32:26 +0100
|Alessandro Baggi alessandro.ba...@gmail.com articulated:
|
| Hi list. Who is better, qmail or postfix?
|
|qmail is not actively supported by its developer. It requires
|numerous patches, etc to bring it up to acceptable servicable
standards.
|
|Postfix is actively maintained and is constantly being upgraded by
|its author. Its mail forum is robust and Postfix has outstanding
|documentation; perhaps the best of any software available in the FOSS
|world.
 =


It is a good thing I read all the replies before I posted mine, as your
reply is almost word-for-word identical to what I was going to say.  :)



___
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: qmail or postfix?

2011-02-01 Thread Outback Dingo
On Tue, Feb 1, 2011 at 1:26 PM, Mike. the.li...@mgm51.com wrote:

 On 2/1/2011 at 10:23 AM Jerry wrote:

 |On Tue, 01 Feb 2011 15:32:26 +0100
 |Alessandro Baggi alessandro.ba...@gmail.com articulated:
 |
 | Hi list. Who is better, qmail or postfix?
 |
 |qmail is not actively supported by its developer. It requires
 |numerous patches, etc to bring it up to acceptable servicable
 standards.
 |
 |Postfix is actively maintained and is constantly being upgraded by
 |its author. Its mail forum is robust and Postfix has outstanding
 |documentation; perhaps the best of any software available in the FOSS
 |world.
  =


 It is a good thing I read all the replies before I posted mine, as your
 reply is almost word-for-word identical to what I was going to say.  :)


Postfix hands down is better, recent, well maintained and excellently
documented
___
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: qmail or postfix?

2011-02-01 Thread Outback Dingo
On Tue, Feb 1, 2011 at 1:26 PM, Mike. the.li...@mgm51.com wrote:

 On 2/1/2011 at 10:23 AM Jerry wrote:

 |On Tue, 01 Feb 2011 15:32:26 +0100
 |Alessandro Baggi alessandro.ba...@gmail.com articulated:
 |
 | Hi list. Who is better, qmail or postfix?
 |
 |qmail is not actively supported by its developer. It requires
 |numerous patches, etc to bring it up to acceptable servicable
 standards.
 |
 |Postfix is actively maintained and is constantly being upgraded by
 |its author. Its mail forum is robust and Postfix has outstanding
 |documentation; perhaps the best of any software available in the FOSS
 |world.
  =


 It is a good thing I read all the replies before I posted mine, as your
 reply is almost word-for-word identical to what I was going to say.  :)


yeah... what he said... !!! :)




 ___
 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

___
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: qmail or postfix?

2011-02-01 Thread Randal L. Schwartz
 Outback == Outback Dingo outbackdi...@gmail.com writes:

 |Postfix is actively maintained and is constantly being upgraded by
 |its author. Its mail forum is robust and Postfix has outstanding
 |documentation; perhaps the best of any software available in the FOSS
 |world.
 =
 
 
 It is a good thing I read all the replies before I posted mine, as your
 reply is almost word-for-word identical to what I was going to say.  :)


Outback yeah... what he said... !!! :)

+1

:)

No, seriously... I was using sendmail before discovering postfix, and
pretty darn good at m4.  Or is that m4()dnl()? :)

But I've never found postfix without a knob to do something I want it to
do, and most of the knobs are set properly right out of the box. (And
reasonably named too!)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: qmail or postfix?

2011-02-01 Thread Paul Macdonald

On 01/02/2011 19:48, Randal L. Schwartz wrote:


No, seriously... I was using sendmail before discovering postfix, and
pretty darn good at m4.  Or is that m4()dnl()? :)

But I've never found postfix without a knob to do something I want it to
do, and most of the knobs are set properly right out of the box. (And
reasonably named too!)


so for us folks still using sendmail (which works fine for me)

what benefits do we get with postfix that'd outweigh the hassles of 
changing?


--

-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
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: qmail or postfix?

2011-02-01 Thread Jerry
On Tue, 01 Feb 2011 20:44:24 +
Paul Macdonald p...@ifdnrg.com articulated:

 so for us folks still using sendmail (which works fine for me)
 what benefits do we get with postfix that'd outweigh the hassles of 
 changing?

Without knowing your exact configuration and requirements, answering
that question is at best a guess. In addition, as a long time
subscriber to the theory, If it ain't broke, don't fix it, the only
way to ascertain that answer would be to study the Postfix documentation
and then decide if it offers better methods of doing whatever it is you
are now doing with your present MTA and if changing MTAs would serve a
useful purpose.

Postfix-2.8 has an impressive feature, postscreen built into it. You
can check the documentation for its use and implementation. I don't
believe that Sendmail has any such native function.

The Postfix forum could provide answers to any reasonable question that
you might have regarding the two MTAs. I have no knowledge of what
support is available for Sendmail.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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: qmail or postfix?

2011-02-01 Thread Chad Perrin
On Tue, Feb 01, 2011 at 08:44:24PM +, Paul Macdonald wrote:
 On 01/02/2011 19:48, Randal L. Schwartz wrote:
 
 No, seriously... I was using sendmail before discovering postfix, and
 pretty darn good at m4.  Or is that m4()dnl()? :)
 
 But I've never found postfix without a knob to do something I want it to
 do, and most of the knobs are set properly right out of the box. (And
 reasonably named too!)
 
 so for us folks still using sendmail (which works fine for me)
 
 what benefits do we get with postfix that'd outweigh the hassles of 
 changing?

Probably nothing, if you're asking about changing a current MTA
deployment when you're satisfied with what you have.  If you are looking
for an alternative to replace what you have because of frustrations with
your current setup, or if you are considering new deployments and whether
it is worthwhile to learn something new, that is another story
altogether.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgpAnaag8vMVS.pgp
Description: PGP signature


Re: qmail or postfix?

2011-02-01 Thread Andres Perera
On Tue, Feb 1, 2011 at 10:02 AM, Alessandro Baggi
alessandro.ba...@gmail.com wrote:
 Hi list. Who is better, qmail or postfix?

qmail is more secure... but the design is just as alien to unix as sendmail is

for example, the fact that qmail uses custom libc, or at least did so on the
version i tried. that turns off certain maintainers, and it would put me off
aswell

postfix on the other hand is more in tune with the rest of the system


 thanks in advance
 ___
 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

___
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: qmail or postfix?

2011-02-01 Thread Jarrod Slick
Calling qmail more secure is pretty much just echoing conjecture at this
point.  Sure, it was designed to be secure (years and years ago) and the
original author even held a contest with a monetary reward for anyone who
could find a vulnerability -- that said, AFAIK that person no longer
maintains the project.  It requires lots of third party patches to be as
functional as postfix, so to what extent these patches counteract the
original coder's (apparent) secure coding practices is open to debate.

If you know of any specific problems with postfix that would substantiate
your claim I encourage you to inform the project's maintainers.  From
personal experience I can say that I've run a postfix config for years
without problems.  Also, in most networks I don't think the MTA is a very
prominent attack vector; people are probably much more likely to get in
through that old wordpress installation you've been meaning to upgrade for 6
months (for instance).

On Tue, Feb 1, 2011 at 7:11 PM, Andres Perera andre...@zoho.com wrote:

 On Tue, Feb 1, 2011 at 10:02 AM, Alessandro Baggi
 alessandro.ba...@gmail.com wrote:
  Hi list. Who is better, qmail or postfix?

 qmail is more secure... but the design is just as alien to unix as sendmail
 is

 for example, the fact that qmail uses custom libc, or at least did so on
 the
 version i tried. that turns off certain maintainers, and it would put me
 off
 aswell

 postfix on the other hand is more in tune with the rest of the system

 
  thanks in advance
  ___
  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
 
 ___
 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

___
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: qmail or postfix?

2011-02-01 Thread Andres Perera
On Tue, Feb 1, 2011 at 11:26 PM, Jarrod Slick jar...@e-sensibility.com wrote:
 Calling qmail more secure is pretty much just echoing conjecture at this
 point.  Sure, it was designed to be secure (years and years ago) and the
 original author even held a contest with a monetary reward for anyone who
 could find a vulnerability -- that said, AFAIK that person no longer
 maintains the project.  It requires lots of third party patches to be as
 functional as postfix, so to what extent these patches counteract the
 original coder's (apparent) secure coding practices is open to debate.

that would be besides the point. having the ability to patch up freebsd doesn't
grant me the authority of claiming that my work is the official version, or
atleast doesn't guarantee that i'll have an audience for my claim

 If you know of any specific problems with postfix that would substantiate
 your claim I encourage you to inform the project's maintainers.  From
 personal experience I can say that I've run a postfix config for years
 without problems.  Also, in most networks I don't think the MTA is a very
 prominent attack vector; people are probably much more likely to get in
 through that old wordpress installation you've been meaning to upgrade for 6
 months (for instance).

you seem to be confused by what i posted

i don't have an explicit example (e.g., buffer overflow) to show that qmail is
more secure. it has to do with the design principles of each and how the system
is layed out. while it's true that postfix is partitioned, qmail goes a little
further than that by taking a big dump on libc

that's not to say that postfix is inherently insecure
___
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: mysql-5.5.8 Postfix/Dovecot

2011-01-09 Thread Alex Dupre

Jerry ha scritto:

I have seen it posted here and on the Dovecot forum that upgrading to
mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot.


Fixed.

--
Alex Dupre
___
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


mysql-5.5.8 Postfix/Dovecot

2011-01-05 Thread Jerry
I have seen it posted here and on the Dovecot forum that upgrading to
mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently
reverting to the mysql-client-5.5.7 corrects this problem.

Can any one else confirm this or is this simply an isolated incident?
If this is correct, is there a PR filed against it? I was not able to
locate one. Specifically, I am interested in the interaction on an
FreeBSD-8.2 / amd64 system.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
Kaufman's First Law of Party Physics:
Population density is inversely proportional
to the square of the distance from the keg.
___
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: mysql-5.5.8 Postfix/Dovecot

2011-01-05 Thread Odhiambo Washington
On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net wrote:

 I have seen it posted here and on the Dovecot forum that upgrading to
 mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot. Apparently
 reverting to the mysql-client-5.5.7 corrects this problem.

 Can any one else confirm this or is this simply an isolated incident?
 If this is correct, is there a PR filed against it? I was not able to
 locate one. Specifically, I am interested in the interaction on an
 FreeBSD-8.2 / amd64 system.


I haven't filed a case though. My system is 8.2-STABLE/i386.
I was running 5.5.7 with Request Tracker
(Devel)http://bestpractical.com/rtand all played nice until I
upgraded to 5.5.8. As this is a test platform, I
wanted to install the next devel version of RT when I encountered a problem
with initializing the database:
I get this error:

cut
DBD::mysql::st execute failed: You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'ENGINE=InnoDB  CHARACTER SET utf8' at line 15 at
/usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm line 508.
*** Error code 255
/cut

My worry is so much about the character set error.

I also found my dovecot broken:

Jan 05 15:26:16 master: Error: service(auth): child 46112 returned error 1
Jan 05 15:26:16 master: Error: service(auth): command startup failed,
throttling
Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from auth
server. my pid=46111, input bytes=0
Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1:
/usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16 required by
/usr/local/libexec/dovecot/auth not defined



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: mysql-5.5.8 Postfix/Dovecot

2011-01-05 Thread Jerry
On Wed, 5 Jan 2011 15:37:38 +0300
Odhiambo Washington odhia...@gmail.com articulated:

 On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net
 wrote:
 
  I have seen it posted here and on the Dovecot forum that upgrading
  to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot.
  Apparently reverting to the mysql-client-5.5.7 corrects this
  problem.
 
  Can any one else confirm this or is this simply an isolated
  incident? If this is correct, is there a PR filed against it? I was
  not able to locate one. Specifically, I am interested in the
  interaction on an FreeBSD-8.2 / amd64 system.
 
 
 I haven't filed a case though. My system is 8.2-STABLE/i386.
 I was running 5.5.7 with Request Tracker
 (Devel)http://bestpractical.com/rtand all played nice until I
 upgraded to 5.5.8. As this is a test platform, I
 wanted to install the next devel version of RT when I encountered a
 problem with initializing the database:
 I get this error:
 
 cut
 DBD::mysql::st execute failed: You have an error in your SQL syntax;
 check the manual that corresponds to your MySQL server version for
 the right syntax to use near 'ENGINE=InnoDB  CHARACTER SET utf8' at
 line 15
 at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm
 line 508. *** Error code 255 /cut
 
 My worry is so much about the character set error.
 
 I also found my dovecot broken:
 
 Jan 05 15:26:16 master: Error: service(auth): child 46112 returned
 error 1 Jan 05 15:26:16 master: Error: service(auth): command startup
 failed, throttling
 Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from
 auth server. my pid=46111, input bytes=0
 Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1:
 /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16
 required by /usr/local/libexec/dovecot/auth not defined

I wonder if this is a Dovecot error or a problem with the MySQL
upgrade. Did you try asking Timo regarding the Dovecot problem? In any
case, it might be worth it to file a PR against both Dovecot and MySQL.
Nothing will probably get done until one is filed.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
And that's the way it is...

Walter Cronkite
___
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: mysql-5.5.8 Postfix/Dovecot

2011-01-05 Thread Odhiambo Washington
On Wed, Jan 5, 2011 at 10:09 PM, Jerry freebsd.u...@seibercom.net wrote:

 On Wed, 5 Jan 2011 15:37:38 +0300
 Odhiambo Washington odhia...@gmail.com articulated:

  On Wed, Jan 5, 2011 at 2:49 PM, Jerry freebsd.u...@seibercom.net
  wrote:
 
   I have seen it posted here and on the Dovecot forum that upgrading
   to mysql-5.5.8 on FreeBSD breaks both Postfix and Dovecot.
   Apparently reverting to the mysql-client-5.5.7 corrects this
   problem.
  
   Can any one else confirm this or is this simply an isolated
   incident? If this is correct, is there a PR filed against it? I was
   not able to locate one. Specifically, I am interested in the
   interaction on an FreeBSD-8.2 / amd64 system.
  
  
  I haven't filed a case though. My system is 8.2-STABLE/i386.
  I was running 5.5.7 with Request Tracker
  (Devel)http://bestpractical.com/rtand all played nice until I
  upgraded to 5.5.8. As this is a test platform, I
  wanted to install the next devel version of RT when I encountered a
  problem with initializing the database:
  I get this error:
 
  cut
  DBD::mysql::st execute failed: You have an error in your SQL syntax;
  check the manual that corresponds to your MySQL server version for
  the right syntax to use near 'ENGINE=InnoDB  CHARACTER SET utf8' at
  line 15
  at /usr/home/wash/Tools/RT/RT-4/rt-4.0.0rc1/sbin/../lib/RT/Handle.pm
  line 508. *** Error code 255 /cut
 
  My worry is so much about the character set error.
 
  I also found my dovecot broken:
 
  Jan 05 15:26:16 master: Error: service(auth): child 46112 returned
  error 1 Jan 05 15:26:16 master: Error: service(auth): command startup
  failed, throttling
  Jan 05 15:26:51 pop3-login: Error: Timeout waiting for handshake from
  auth server. my pid=46111, input bytes=0
  Jan 05 15:27:16 auth: Error: /libexec/ld-elf.so.1:
  /usr/local/lib/libmysqlclient.so.16: version libmysqlclient_16
  required by /usr/local/libexec/dovecot/auth not defined

 I wonder if this is a Dovecot error or a problem with the MySQL
 upgrade. Did you try asking Timo regarding the Dovecot problem? In any
 case, it might be worth it to file a PR against both Dovecot and MySQL.
 Nothing will probably get done until one is filed.

 Such minor breakages (like Dovecot experienced) don't worry me much
sometimes. I simply recompile and life continues. When I upgrade a port I
always expect (as a matter of principle) that something might go wrong and I
go looking for it. However, the breakage with RT is one that has left me so
worried - that character set issue, since it manifests itself on the main
system, and only with 5.5.8 and not 5.5.7!


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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


Postfix and Gmail

2010-12-11 Thread Redd Vinylene
Anybody hooked their Postfix servers up with Gmail to use it as a client?
I'm tired of all this using mutt on several boxes, setting up virtual MySQL
accounts and domains with crap webapps. Figured I'd just use Gmail for it
all and be done with it. Curious what sort of experiences y'all have though.

Thanks.
___
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: Postfix and Gmail

2010-12-11 Thread Chris Brennan
On Sat, Dec 11, 2010 at 11:03 AM, Redd Vinylene reddvinyl...@gmail.comwrote:

 Anybody hooked their Postfix servers up with Gmail to use it as a client?
 I'm tired of all this using mutt on several boxes, setting up virtual MySQL
 accounts and domains with crap webapps. Figured I'd just use Gmail for it
 all and be done with it. Curious what sort of experiences y'all have
 though.


In theory, you should be able to plop your POP3/IMAP info into GMail and be
off and running. (I would set up lables to sort your mail tho)
___
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: Postfix and Gmail

2010-12-11 Thread Michael Powell
Redd Vinylene wrote:

 Anybody hooked their Postfix servers up with Gmail to use it as a client?
[snip]

Hate to break it you, but Postfix is not client software. 

FWIW though, there are two problem areas wrt to running a mail server. 
There's running the mail server itself, and then there's trying to run a 
mail server with bad broken DNS.  You'd be surprised by how often 'mail' 
problems turn out to be the latter.

-Mike


___
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: Postfix and Gmail

2010-12-11 Thread Byung-Hee HWANG
Redd Vinylene reddvinyl...@gmail.com 쓰시길:

 Anybody hooked their Postfix servers up with Gmail to use it as a client?
 I'm tired of all this using mutt on several boxes, setting up virtual MySQL
 accounts and domains with crap webapps. Figured I'd just use Gmail for it
 all and be done with it. Curious what sort of experiences y'all have though.

It's not impossible. There are several how-to documents. See
Google. What i found are:  

[1] http://wiki.linuxmce.org/index.php/Postfix_configured_with_Gmail_SMTP
[2] http://souptonuts.sourceforge.net/postfix_tutorial.html

-- 
소여물 황병희(黃炳熙) | .. 출항 15분전..

Mr. Corleone promises only to speak in your favor on this labor trouble as a 
matter of friendship in return for your speaking in behalf of his client.
-- Tom Hagen, Chapter 1, page 61


pgpIeOZt7u1Vc.pgp
Description: PGP signature


Fwd: Postfix SMTP server: errors from mx2.freebsd.org[69.147.83.53]

2010-10-31 Thread Jos Chrispijn

 Hi,

It looks like mx2.freebsd.org is blacklisted by Sorbs.net:

 Original Message Transcript of session follows.

 In:  EHLO mx2.freebsd.org
 Out: 250-PIPELINING
 Out: 250-SIZE 2560
 Out: 250-ETRN
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250 DSN
 In:  MAIL FROM:owner-freebsd-questi...@freebsd.org  SIZE=3777
 Out: 250 2.1.0 Ok
 Out: 554 5.7.1 Service unavailable; Client host [69.147.83.53] blocked using
 dnsbl.sorbs.net; Currently Sending Spam See: 
http://www.sorbs.net/lookup.shtml?69.147.83.53
 In:  DATA
 Out: 554 5.5.1 Error: no valid recipients
 In:  RSET
 Out: 250 2.0.0 Ok
 In:  QUIT
 Out: 221 2.0.0 Bye

---

regards,
Jos Chrispijn

___
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


IP aliasing and Postfix

2010-10-26 Thread Joe Auty
Hello,

I have a few IP aliases setup:

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
ether 00:0c:29:79:d5:66
inet address1 netmask 0xff80 broadcast broadcast address
inet address2 netmask 0xff80 broadcast broadcast address
inet address3 netmask 0xff80 broadcast broadcast address
media: Ethernet autoselect (1000baseT full-duplex)
status: active


How do I make address3 the ifconfig default over its aliases?


The problem is, as far as mail sending goes the IP address that should
be used is address3, when what is presented to my relayhost is address1.
My rc.conf:

ifconfig_em0=inet address3  netmask 255.255.255.128
ifconfig_em0_alias0=inet address1  netmask 255.255.255.128
ifconfig_em0_alias1=inet address2  netmask 255.255.255.128


How do I get Postfix to use address3 in sending out mail? If I set
Postfix's myhostname to a FQDN that resolves as address3,
inet_interfaces will not work when set to:

inet_interfaces = $myhostname

it needs to be set to:

inet_interfaces = $myhostname, localhost


I see nothing in Postfix that would explain why Postfix is gleaming onto
address1, which makes me think that perhaps this is a BSD ifconfig thing
and it is gleaming onto the first address it finds associated with my
em0 interface, which if the ifconfig and its IP order means anything, is
address1? Does this make sense?

Anyway to set the default here?





-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.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


Re: IP aliasing and Postfix

2010-10-26 Thread Коньков Евгений
Здравствуйте, Joe.

Вы писали 26 октября 2010 г., 20:52:20:

JA Hello,

JA I have a few IP aliases setup:

JA em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
JA options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
JA ether 00:0c:29:79:d5:66
JA inet address1 netmask 0xff80 broadcast broadcast address
JA inet address2 netmask 0xff80 broadcast broadcast address
JA inet address3 netmask 0xff80 broadcast broadcast address
JA media: Ethernet autoselect (1000baseT full-duplex)
JA status: active


JA How do I make address3 the ifconfig default over its aliases?


JA The problem is, as far as mail sending goes the IP address that should
JA be used is address3, when what is presented to my relayhost is address1.
JA My rc.conf:

JA ifconfig_em0=inet address3  netmask 255.255.255.128
JA ifconfig_em0_alias0=inet address1  netmask 255.255.255.128
JA ifconfig_em0_alias1=inet address2  netmask 255.255.255.128


JA How do I get Postfix to use address3 in sending out mail? If I set
JA Postfix's myhostname to a FQDN that resolves as address3,
JA inet_interfaces will not work when set to:

JA inet_interfaces = $myhostname

JA it needs to be set to:

JA inet_interfaces = $myhostname, localhost


JA I see nothing in Postfix that would explain why Postfix is gleaming onto
JA address1, which makes me think that perhaps this is a BSD ifconfig thing
JA and it is gleaming onto the first address it finds associated with my
JA em0 interface, which if the ifconfig and its IP order means anything, is
JA address1? Does this make sense?

JA Anyway to set the default here?


# OUTGOING MAIL FROM IP
smtp_bind_address=address3



-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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: IP aliasing and Postfix

2010-10-26 Thread Dan Nelson
In the last episode (Oct 26), Joe Auty said:
 Hello,
 
 I have a few IP aliases setup:
 
 em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=9bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM
 ether 00:0c:29:79:d5:66
 inet address1 netmask 0xff80 broadcast broadcast address
 inet address2 netmask 0xff80 broadcast broadcast address
 inet address3 netmask 0xff80 broadcast broadcast address
 media: Ethernet autoselect (1000baseT full-duplex)
 status: active

I usually set up aliases with a /32 netmask, which seems to be a hint to the
kernel that outgoing packets shouldn't use that IP.  I then put the correct
netmask on the primary ip.

-- 
Dan Nelson
dnel...@allantgroup.com
___
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: IP aliasing and Postfix

2010-10-26 Thread Joe Auty
Коньков Евгений wrote:

 # OUTGOING MAIL FROM IP
 smtp_bind_address=address3



Thanks, this is exactly what I needed!


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.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


postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Bruce Cran
Hi,

I installed a new server recently with postfix. I first rebuilt world using 
WITH_SENDMAIL=no and removed the sendmail files using 'make delete-old'. I 
installed postfix in /usr but now mailwrapper doesn't work - it runs using 
100% CPU and never quits. I suspect it might be stuck in a loop trying to run 
the sendmail binary and being redirected back to itself. So 
/etc/mail/mailer.conf contains:

sendmail/usr/sbin/sendmail
send-mail   /usr/sbin/sendmail
mailq   /usr/sbin/sendmail
newaliases  /usr/sbin/sendmail

and /usr/sbin/sendmail is:

lrwxr-xr-x  1 root  wheel  21 Oct  2 09:50 /usr/sbin/sendmail - 
/usr/sbin/mailwrapper

Should it actually be the sendmail binary that postfix installs, and if so I'm 
wondering how it could have ended up being a symlink?

-- 
Bruce Cran
___
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: postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Frank Shute
On Thu, Oct 07, 2010 at 10:40:22AM +0100, Bruce Cran wrote:

 Hi,
 
 I installed a new server recently with postfix. I first rebuilt world using 
 WITH_SENDMAIL=no and removed the sendmail files using 'make delete-old'. I 
 installed postfix in /usr but now mailwrapper doesn't work - it runs using 
 100% CPU and never quits. I suspect it might be stuck in a loop trying to run 
 the sendmail binary and being redirected back to itself. So 
 /etc/mail/mailer.conf contains:
 
 sendmail/usr/sbin/sendmail
 send-mail   /usr/sbin/sendmail
 mailq   /usr/sbin/sendmail
 newaliases  /usr/sbin/sendmail
 
 and /usr/sbin/sendmail is:
 
 lrwxr-xr-x  1 root  wheel  21 Oct  2 09:50 /usr/sbin/sendmail - 
 /usr/sbin/mailwrapper
 
 Should it actually be the sendmail binary that postfix installs, and if so 
 I'm 
 wondering how it could have ended up being a symlink?
 

You should use src.conf(5) and set WITHOUT_SENDMAIL=yes to avoid
building sendmail nowadays.

Postfix normally (when installed from ports) installs a fake
sendmail binary in /usr/local/bin. So mailer.conf should contain the
following:

#
# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

and rc.conf should have:

sendmail_enable=NONE



Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
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: postfix installed in base, mailwrapper spins using 100% CPU

2010-10-07 Thread Bruce Cran
On Thu, 7 Oct 2010 14:38:54 +0100
Frank Shute fr...@shute.org.uk wrote:

 You should use src.conf(5) and set WITHOUT_SENDMAIL=yes to avoid
 building sendmail nowadays.

I don't know why I said I had WITH_SENDMAIL=no, because I actually have
WITHOUT_SENDMAIL=yes in /etc/src.conf!

 Postfix normally (when installed from ports) installs a fake
 sendmail binary in /usr/local/bin. 

I think the problem occurs because in the OPTIONS menu I told it to
install to /usr:

INST_BASE Install into /usr and /etc/postfix

I guess I need to remove /usr/sbin/sendmail and reinstall postfix.

-- 
Bruce Cran
___
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


Postfix bad command startup??

2010-05-31 Thread Kaya Saman

Hi,

similar like I wrote before, to do with my migration from Solaris 9 to 
FreeBSD 8.0 x64 RELEASE.


Postfix is being run in a BSD Jail and so far I have disabled as much as 
I could of sendmail which I did this to rc.conf within the jail:


postfix_enable=YES
sendmail_enable=NONE
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO


However upon startup Postfix gives me this problem:

May 31 18:03:18 relay postfix/master[4280]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database 
/etc/aliases.db: No such file or directory
May 31 18:04:19 relay postfix/master[4280]: warning: process 
/usr/local/libexec/postfix/smtpd pid 4606 exit status 1
May 31 18:04:19 relay postfix/master[4280]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database 
/etc/aliases.db: No such file or directory
May 31 18:05:20 relay postfix/master[4280]: warning: process 
/usr/local/libexec/postfix/smtpd pid 4629 exit status 1
May 31 18:05:20 relay postfix/master[4280]: warning: 
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling



I can tell that it's listening as netstat -ap tcp reveals this:

netstat: kvm not available: /dev/mem: No such file or directory
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0  0 relay.smtp 110.52.7.217.2140  
ESTABLISHED
tcp4   0  0 relay.smtp web112111.mail.g.33920 
ESTABLISHED
tcp4   0  0 relay.smtp 110.52.6.29.4643   
ESTABLISHED

tcp4   0  0 relay.smtp 78-61-12-207.sta.28507 CLOSED
tcp4   0  0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT
tcp4   0  0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT
tcp4   0  0 relay.smtp 110.52.6.35.2109   
ESTABLISHED

tcp4   0  0 relay.smtp 78-61-12-207.sta.23305 CLOSED
tcp4   0  0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT
tcp4   0  0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT
tcp4   0  0 relay.ssh  *.*LISTEN
tcp4   0  0 relay.smtp *.*LISTEN


/var/log/messages gives me this:

May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database 
/etc/aliases.db: No such file or directory


however I did run the command newaliases which did create the aliases 
file under /etc/mail/aliases with the aliases.db file being under there 
as well as under /etc.


Currently no mail is being relayed throughout the domain so I can tell 
that it's not working as even the /var/log/maillog file is telling me 
that messages are queued but not sent if I use:


mail -s test em...@address.com

test

^D

Can someone please help me work out what is causing Postfix to fail as 
I've managed to migrate my config from Linux to Solaris with not as many 
issues and problems as this so it really beats me...


Many thanks,


Kaya


___
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: Postfix bad command startup??

2010-05-31 Thread Tim Judd
On 5/31/10, Kaya Saman samank...@netscape.net wrote:
 Hi,

 similar like I wrote before, to do with my migration from Solaris 9 to
 FreeBSD 8.0 x64 RELEASE.

 Postfix is being run in a BSD Jail and so far I have disabled as much as
 I could of sendmail which I did this to rc.conf within the jail:

 postfix_enable=YES
 sendmail_enable=NONE
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO


 However upon startup Postfix gives me this problem:

 May 31 18:03:18 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
 May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database
 /etc/aliases.db: No such file or directory
 May 31 18:04:19 relay postfix/master[4280]: warning: process
 /usr/local/libexec/postfix/smtpd pid 4606 exit status 1
 May 31 18:04:19 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling
 May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database
 /etc/aliases.db: No such file or directory
 May 31 18:05:20 relay postfix/master[4280]: warning: process
 /usr/local/libexec/postfix/smtpd pid 4629 exit status 1
 May 31 18:05:20 relay postfix/master[4280]: warning:
 /usr/local/libexec/postfix/smtpd: bad command startup -- throttling


 I can tell that it's listening as netstat -ap tcp reveals this:

 netstat: kvm not available: /dev/mem: No such file or directory
 Active Internet connections (including servers)
 Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
 tcp4   0  0 relay.smtp 110.52.7.217.2140
 ESTABLISHED
 tcp4   0  0 relay.smtp web112111.mail.g.33920
 ESTABLISHED
 tcp4   0  0 relay.smtp 110.52.6.29.4643
 ESTABLISHED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.28507 CLOSED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT
 tcp4   0  0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT
 tcp4   0  0 relay.smtp 110.52.6.35.2109
 ESTABLISHED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.23305 CLOSED
 tcp4   0  0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT
 tcp4   0  0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT
 tcp4   0  0 relay.ssh  *.*LISTEN
 tcp4   0  0 relay.smtp *.*LISTEN


 /var/log/messages gives me this:

 May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database
 /etc/aliases.db: No such file or directory

 however I did run the command newaliases which did create the aliases
 file under /etc/mail/aliases with the aliases.db file being under there
 as well as under /etc.

 Currently no mail is being relayed throughout the domain so I can tell
 that it's not working as even the /var/log/maillog file is telling me
 that messages are queued but not sent if I use:

 mail -s test em...@address.com

 test

 ^D

 Can someone please help me work out what is causing Postfix to fail as
 I've managed to migrate my config from Linux to Solaris with not as many
 issues and problems as this so it really beats me...

 Many thanks,


 Kaya


Kaya,


You may need to edit the following
  alias_maps = hash:/etc/aliases
  alias_database = hash:/etc/aliases

and run BOTH   'newaliases' and 'postalias /etc/aliases' depending on
your setup.

restart postfix for good measure


if you telnet to your postfix IP and get the 220 banner, postfix is
happy with the config and should work as config'd.

if after establishing a telnet session, you don't get any banner,
postfix is still having problems with something.  start looking at
logs again.
___
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: Postfix bad command startup??

2010-05-31 Thread Kaya Saman

On 31/05/2010 22:07, Tim Judd wrote:

On 5/31/10, Kaya Samansamank...@netscape.net  wrote:
   

Hi,

similar like I wrote before, to do with my migration from Solaris 9 to
FreeBSD 8.0 x64 RELEASE.

Postfix is being run in a BSD Jail and so far I have disabled as much as
I could of sendmail which I did this to rc.conf within the jail:

postfix_enable=YES
sendmail_enable=NONE
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO


However upon startup Postfix gives me this problem:

May 31 18:03:18 relay postfix/master[4280]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
May 31 18:04:18 relay postfix/smtpd[4606]: fatal: open database
/etc/aliases.db: No such file or directory
May 31 18:04:19 relay postfix/master[4280]: warning: process
/usr/local/libexec/postfix/smtpd pid 4606 exit status 1
May 31 18:04:19 relay postfix/master[4280]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
May 31 18:05:19 relay postfix/smtpd[4629]: fatal: open database
/etc/aliases.db: No such file or directory
May 31 18:05:20 relay postfix/master[4280]: warning: process
/usr/local/libexec/postfix/smtpd pid 4629 exit status 1
May 31 18:05:20 relay postfix/master[4280]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling


I can tell that it's listening as netstat -ap tcp reveals this:

netstat: kvm not available: /dev/mem: No such file or directory
Active Internet connections (including servers)
Proto Recv-Q Send-Q  Local Address  Foreign Address   (state)
tcp4   0  0 relay.smtp 110.52.7.217.2140
ESTABLISHED
tcp4   0  0 relay.smtp web112111.mail.g.33920
ESTABLISHED
tcp4   0  0 relay.smtp 110.52.6.29.4643
ESTABLISHED
tcp4   0  0 relay.smtp 78-61-12-207.sta.28507 CLOSED
tcp4   0  0 relay.smtp 78-61-12-207.sta.27646 CLOSE_WAIT
tcp4   0  0 relay.smtp 78-61-12-207.sta.26479 CLOSE_WAIT
tcp4   0  0 relay.smtp 110.52.6.35.2109
ESTABLISHED
tcp4   0  0 relay.smtp 78-61-12-207.sta.23305 CLOSED
tcp4   0  0 relay.smtp 78-61-12-207.sta.22314 CLOSE_WAIT
tcp4   0  0 relay.smtp 78-61-12-207.sta.21323 CLOSE_WAIT
tcp4   0  0 relay.ssh  *.*LISTEN
tcp4   0  0 relay.smtp *.*LISTEN


/var/log/messages gives me this:

May 31 18:10:24 relay postfix/smtpd[4662]: fatal: open database
/etc/aliases.db: No such file or directory

however I did run the command newaliases which did create the aliases
file under /etc/mail/aliases with the aliases.db file being under there
as well as under /etc.

Currently no mail is being relayed throughout the domain so I can tell
that it's not working as even the /var/log/maillog file is telling me
that messages are queued but not sent if I use:

mail -s test em...@address.com

test

^D

Can someone please help me work out what is causing Postfix to fail as
I've managed to migrate my config from Linux to Solaris with not as many
issues and problems as this so it really beats me...

Many thanks,


Kaya
 


Kaya,


You may need to edit the following
   alias_maps = hash:/etc/aliases
   alias_database = hash:/etc/aliases

and run BOTH   'newaliases' and 'postalias /etc/aliases' depending on
your setup.

restart postfix for good measure


if you telnet to your postfix IP and get the 220 banner, postfix is
happy with the config and should work as config'd.

if after establishing a telnet session, you don't get any banner,
postfix is still having problems with something.  start looking at
logs again.
   


Thanks so much Tim!!! :-)

I hadn't used the

'postalias /etc/aliases'

command at all so running it now actually made the system work pretty 
well..


At least I haven't restarted the Jail yet but so far everything works!

I just hope this stays permanently as I find Jails a bit less stable 
then Solaris Zones which is what I'm trying to mimic with them; however, 
it might just be because I don't know how to use them yet as I've only 
just learned about how to create them and run simple services in them. 
Meaning that my statement is probably wy premature!!


Now if I could just figure out how to start Squid through the rc.d 
scripts rather then running manually as root user as per my other 
posting that would be really cool...



Best Regards,

Kaya
___
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


Postfix signal 11

2010-04-27 Thread Ron
After I did a big portupgrade on the April 25th, I am now getting a lot these...

+pid 53508 (conftest), uid 0: exited on signal 11 (core dumped)
+pid 28553 (smtp), uid 125: exited on signal 11
+pid 28569 (smtp), uid 125: exited on signal 11
+pid 28657 (smtp), uid 125: exited on signal 11

..in my logs.  I've tried forcing a rebuild of postfix and all dependency to no 
avail.  I don't seem to be loosing any email.

I'm assuming it's postfix (I don't use sendmail), but I could be wrong.  Anyone 
know what this is or where I should start looking?  Did I not upgrade something 
correctly after the big changes?

Thanks


___
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: Postfix signal 11

2010-04-27 Thread Brandon Gooch
On Tue, Apr 27, 2010 at 11:17 AM, Ron rg.li...@rzweb.com wrote:
 After I did a big portupgrade on the April 25th, I am now getting a lot 
 these...

 +pid 53508 (conftest), uid 0: exited on signal 11 (core dumped)
 +pid 28553 (smtp), uid 125: exited on signal 11
 +pid 28569 (smtp), uid 125: exited on signal 11
 +pid 28657 (smtp), uid 125: exited on signal 11

 ..in my logs.  I've tried forcing a rebuild of postfix and all dependency to 
 no avail.  I don't seem to be loosing any email.

 I'm assuming it's postfix (I don't use sendmail), but I could be wrong.  
 Anyone know what this is or where I should start looking?  Did I not upgrade 
 something correctly after the big changes?

 Thanks

Signal 11, or SIGSEGV, is a segmentation violation. It occurs when a
program makes an invalid memory reference. The program exits (crashes)
and leaves a dump of it's memory image on the file system somewhere.

The memory image, a .core file, is somewhere on your file system and
will allow the application (I assume Postfix) to be debugged (using
gdb).

-Brandon
___
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: Postfix signal 11

2010-04-27 Thread Michael Powell
Ron wrote:

 After I did a big portupgrade on the April 25th, I am now getting a lot
 these...
 
 +pid 53508 (conftest), uid 0: exited on signal 11 (core dumped)
 +pid 28553 (smtp), uid 125: exited on signal 11
 +pid 28569 (smtp), uid 125: exited on signal 11
 +pid 28657 (smtp), uid 125: exited on signal 11
 
 ..in my logs.  I've tried forcing a rebuild of postfix and all dependency
 to no avail.  I don't seem to be loosing any email.
 
 I'm assuming it's postfix (I don't use sendmail), but I could be wrong. 
 Anyone know what this is or where I should start looking?  Did I not
 upgrade something correctly after the big changes?
 

One quick thing you can check is your /etc/mail/mailer.conf:

# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail /usr/local/sbin/sendmail
send-mail/usr/local/sbin/sendmail
mailq/usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail

I've had this happen before when I did a system rebuild and the original 
system based sendmail became used again instead of the Postfix install. If 
this file got reset back to pointing at the system sendmail somehow you will 
see these errors. IIRC Postfix has a switch which selects where it gets 
installed. Perhaps the upgrade didn't put it back where it originally was 
located, in which case you are again executing the sendmail binary instead 
of the mail getting picked up by Postfix.

This is what my current /etc/rc.conf looks like:

#sendmail_enable=NONE
postfix_enable=YES
sendmail_enable=NO
#sendmail_flags=-bd
#sendmail_pidfile=/var/spool/postfix/pid/master.pid
#sendmail_procname=/usr/local/libexec/postfix/master
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

Also, if you are using sasl auth you might try rebuilding that as well. You 
might get more info looking in the /var/log/maillog too.

Just a few quickies off the top of my head to get started with...

-Mike



___
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: FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-10 Thread perikillo
On Thu, Apr 8, 2010 at 3:29 PM, perikillo periki...@gmail.com wrote:



 On Thu, Apr 8, 2010 at 2:57 PM, Noel Jones noeld...@gmail.com wrote:

 On Thu, Apr 8, 2010 at 9:29 AM, perikillo periki...@gmail.com wrote:
   Hi people.
 
   I'm working in my first spam gateway, using Postfix + policyd-weight.
 
   I have 2 jails for this, the jail-A is the mail server, where the
 mailboxes
  exist, they are on each user home directory:
 
   /home/user-1
   /home/user-2
   /home/user-3
  ...
   /home/user-N
 
   This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
  dovecot+postfix working to.
 
   id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
  id root
  uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)
 
   I can add users without a issue using smbldap-tools.
 
   I have test dovecot+postfix and I can send emails with that jail.
 
  Now I want to setup my spam gateway, is another jail called jail-B, I
 have
  setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:
 
  id user1
  uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
  id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
 
  Now, the part is the one is not working is postfix+ policyd-weight.
 
  Went I test with other machine in the network using telnet, for some
 reason
  once postfix accept the mail wants to send the email to the outside not
  internally. I have setup transport to send the email jail-A but I don't
 see
  any task doing this, check:
 
  Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org
 ,
  size=409, nrcpt=1 (queue active)
  Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
  [192.168.49.7]
  Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
  Operation timed out
  Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org
 ,
  relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
  (connect to X.org[X.Y.Z.W]:25: Operation timed out)

 You say that X.org should be delivered locally.  Postfix doesn't think
 X.org is a local domain.

  Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No
 recipient
  addresses found in message header

 This appears that you've used sendmail -t to inject some mail, and
 there was no To: header.
 Don't rely on headers for mail routing.


 
  X.Y.Z.W -- Public address.
 
  My postfix settings are this:
 
  alias_maps = hash:/etc/aliases
  command_directory = /usr/local/sbin
  config_directory = /usr/local/etc/postfix
  daemon_directory = /usr/local/libexec/postfix
  data_directory = /var/db/postfix
  debug_peer_level = 2
  home_mailbox = Maildir/
  html_directory = /usr/local/share/doc/postfix
  inet_interfaces = all
  local_destination_concurrency_limit = 2
  mail_owner = postfix
  mailq_path = /usr/local/bin/mailq
  manpage_directory = /usr/local/man
  mydomain = X.org
  myhostname = filtro.X.org

 You might want to add
 mydestination = $mydomain $myhostname localhost


  myorigin = $mydomain
  newaliases_path = /usr/local/bin/newaliases
  queue_directory = /var/spool/postfix
  readme_directory = /usr/local/share/doc/postfix
  relay_domains = $transport_maps

 Bad idea.  If you add a transport for eg. hotmail, you become an
 instant open relay.  Don't reuse transport_maps this way.

 If mail is delivered locally on this box, relay_domains should be
 explicitly set empty.
 relay_domains =


  sample_directory = /usr/local/etc/postfix
  sendmail_path = /usr/local/sbin/sendmail
  setgid_group = maildrop
  smtpd_delay_reject = yes
  smtpd_helo_required = yes
  smtpd_recipient_restrictions = permit_mynetworks,
  reject_unauth_destination,  reject_non_fqdn_recipient,
  reject_invalid_helo_hostname,   check_policy_service
  inet:[192.168.49.7]:12525
  soft_bounce = no
  transport_maps = hash:/usr/local/etc/postfix/transport
  unknown_local_recipient_reject_code = 550
 
  Now, my transport file is:
 
  nis.X.orgsmtp:[192.168.49.6]  -jail-A
 
  Is created:  transport.db
 
  Another think, in the log I don't see went is touching policyd-weight:
  12525 or this is just for the outside connections?

 Mail that's permitted by permit_mynetworks or submitted via the
 sendmail(1) interface won't trigger the policy server in your config.


 Thanks Noel for your quick answer, just would like to inform u that this is
 a spam server not a email server, once this server accept the email, he need
 to send it to the real mail server, is other machine in the network(other
 jail).

  This is why I'm using the transport stuff, if exist a more secure way
 please let me know, spam server + email server exist in the same
 network(jails).

  The test  was made with telnet, about the sendmail, I don't know went I
 setup something about sendmail, I just have been working with postfix.

  Thanks again!!!


  -- Noel Jones



Fix it:

alias_maps = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory

FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-08 Thread perikillo
 Hi people.

 I'm working in my first spam gateway, using Postfix + policyd-weight.

 I have 2 jails for this, the jail-A is the mail server, where the mailboxes
exist, they are on each user home directory:

 /home/user-1
 /home/user-2
 /home/user-3
...
 /home/user-N

 This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
dovecot+postfix working to.

 id test
uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
id root
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)

 I can add users without a issue using smbldap-tools.

 I have test dovecot+postfix and I can send emails with that jail.

Now I want to setup my spam gateway, is another jail called jail-B, I have
setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:

id user1
uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
id test
uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)

Now, the part is the one is not working is postfix+ policyd-weight.

Went I test with other machine in the network using telnet, for some reason
once postfix accept the mail wants to send the email to the outside not
internally. I have setup transport to send the email jail-A but I don't see
any task doing this, check:

Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org,
size=409, nrcpt=1 (queue active)
Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
[192.168.49.7]
Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
Operation timed out
Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org,
relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
(connect to X.org[X.Y.Z.W]:25: Operation timed out)
Apr  8 07:02:45 filtro postfix/smtpd[6727]: 11699BB537C: client=X.dyndns.org
[192.168.49.7]
Apr  8 07:02:50 filtro postfix/cleanup[6731]: 11699BB537C:
message-id=20100408070245.11699bb5...@x.org
Apr  8 07:02:50 filtro postfix/qmgr[6723]: 11699BB537C: from=us...@x.org,
size=399, nrcpt=1 (queue active)
Apr  8 07:02:51 filtro postfix/smtpd[6727]: disconnect from filtro.X.org
[192.168.49.7]
Apr  8 07:03:20 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
Operation timed out
Apr  8 07:03:20 filtro postfix/smtp[6725]: 11699BB537C: to=us...@x.org,
relay=none, delay=45, delays=15/0/30/0, dsn=4.4.1, status=deferred (connect
to X.org[X.Y.Z.W]:25: Operation timed out)
Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No recipient
addresses found in message header

X.Y.Z.W -- Public address.

My postfix settings are this:

alias_maps = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydomain = X.org
myhostname = filtro.X.org
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains = $transport_maps
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,  reject_non_fqdn_recipient,
reject_invalid_helo_hostname,   check_policy_service
inet:[192.168.49.7]:12525
soft_bounce = no
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550

Now, my transport file is:

nis.X.orgsmtp:[192.168.49.6]  -jail-A

Is created:  transport.db

Another think, in the log I don't see went is touching policyd-weight:
12525 or this is just for the outside connections?

Is my first spam server, if u see something wrong please let me know, I will
appreciated, thanks all for your time!!!
___
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: FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-08 Thread Noel Jones
On Thu, Apr 8, 2010 at 9:29 AM, perikillo periki...@gmail.com wrote:
  Hi people.

  I'm working in my first spam gateway, using Postfix + policyd-weight.

  I have 2 jails for this, the jail-A is the mail server, where the mailboxes
 exist, they are on each user home directory:

  /home/user-1
  /home/user-2
  /home/user-3
 ...
  /home/user-N

  This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
 dovecot+postfix working to.

  id test
 uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
 id root
 uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)

  I can add users without a issue using smbldap-tools.

  I have test dovecot+postfix and I can send emails with that jail.

 Now I want to setup my spam gateway, is another jail called jail-B, I have
 setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:

 id user1
 uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
 id test
 uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)

 Now, the part is the one is not working is postfix+ policyd-weight.

 Went I test with other machine in the network using telnet, for some reason
 once postfix accept the mail wants to send the email to the outside not
 internally. I have setup transport to send the email jail-A but I don't see
 any task doing this, check:

 Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org,
 size=409, nrcpt=1 (queue active)
 Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
 [192.168.49.7]
 Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
 Operation timed out
 Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org,
 relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
 (connect to X.org[X.Y.Z.W]:25: Operation timed out)

You say that X.org should be delivered locally.  Postfix doesn't think
X.org is a local domain.

 Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No recipient
 addresses found in message header

This appears that you've used sendmail -t to inject some mail, and
there was no To: header.
Don't rely on headers for mail routing.



 X.Y.Z.W -- Public address.

 My postfix settings are this:

 alias_maps = hash:/etc/aliases
 command_directory = /usr/local/sbin
 config_directory = /usr/local/etc/postfix
 daemon_directory = /usr/local/libexec/postfix
 data_directory = /var/db/postfix
 debug_peer_level = 2
 home_mailbox = Maildir/
 html_directory = /usr/local/share/doc/postfix
 inet_interfaces = all
 local_destination_concurrency_limit = 2
 mail_owner = postfix
 mailq_path = /usr/local/bin/mailq
 manpage_directory = /usr/local/man
 mydomain = X.org
 myhostname = filtro.X.org

You might want to add
mydestination = $mydomain $myhostname localhost


 myorigin = $mydomain
 newaliases_path = /usr/local/bin/newaliases
 queue_directory = /var/spool/postfix
 readme_directory = /usr/local/share/doc/postfix
 relay_domains = $transport_maps

Bad idea.  If you add a transport for eg. hotmail, you become an
instant open relay.  Don't reuse transport_maps this way.

If mail is delivered locally on this box, relay_domains should be
explicitly set empty.
relay_domains =


 sample_directory = /usr/local/etc/postfix
 sendmail_path = /usr/local/sbin/sendmail
 setgid_group = maildrop
 smtpd_delay_reject = yes
 smtpd_helo_required = yes
 smtpd_recipient_restrictions = permit_mynetworks,
 reject_unauth_destination,      reject_non_fqdn_recipient,
 reject_invalid_helo_hostname,   check_policy_service
 inet:[192.168.49.7]:12525
 soft_bounce = no
 transport_maps = hash:/usr/local/etc/postfix/transport
 unknown_local_recipient_reject_code = 550

 Now, my transport file is:

 nis.X.org    smtp:[192.168.49.6]  -jail-A

 Is created:  transport.db

 Another think, in the log I don't see went is touching policyd-weight:
 12525 or this is just for the outside connections?

Mail that's permitted by permit_mynetworks or submitted via the
sendmail(1) interface won't trigger the policy server in your config.


  -- Noel Jones
___
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: FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-08 Thread perikillo
On Thu, Apr 8, 2010 at 2:57 PM, Noel Jones noeld...@gmail.com wrote:

 On Thu, Apr 8, 2010 at 9:29 AM, perikillo periki...@gmail.com wrote:
   Hi people.
 
   I'm working in my first spam gateway, using Postfix + policyd-weight.
 
   I have 2 jails for this, the jail-A is the mail server, where the
 mailboxes
  exist, they are on each user home directory:
 
   /home/user-1
   /home/user-2
   /home/user-3
  ...
   /home/user-N
 
   This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
  dovecot+postfix working to.
 
   id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
  id root
  uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)
 
   I can add users without a issue using smbldap-tools.
 
   I have test dovecot+postfix and I can send emails with that jail.
 
  Now I want to setup my spam gateway, is another jail called jail-B, I
 have
  setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:
 
  id user1
  uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
  id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
 
  Now, the part is the one is not working is postfix+ policyd-weight.
 
  Went I test with other machine in the network using telnet, for some
 reason
  once postfix accept the mail wants to send the email to the outside not
  internally. I have setup transport to send the email jail-A but I don't
 see
  any task doing this, check:
 
  Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org
 ,
  size=409, nrcpt=1 (queue active)
  Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
  [192.168.49.7]
  Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
  Operation timed out
  Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org
 ,
  relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
  (connect to X.org[X.Y.Z.W]:25: Operation timed out)

 You say that X.org should be delivered locally.  Postfix doesn't think
 X.org is a local domain.

  Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No
 recipient
  addresses found in message header

 This appears that you've used sendmail -t to inject some mail, and
 there was no To: header.
 Don't rely on headers for mail routing.


 
  X.Y.Z.W -- Public address.
 
  My postfix settings are this:
 
  alias_maps = hash:/etc/aliases
  command_directory = /usr/local/sbin
  config_directory = /usr/local/etc/postfix
  daemon_directory = /usr/local/libexec/postfix
  data_directory = /var/db/postfix
  debug_peer_level = 2
  home_mailbox = Maildir/
  html_directory = /usr/local/share/doc/postfix
  inet_interfaces = all
  local_destination_concurrency_limit = 2
  mail_owner = postfix
  mailq_path = /usr/local/bin/mailq
  manpage_directory = /usr/local/man
  mydomain = X.org
  myhostname = filtro.X.org

 You might want to add
 mydestination = $mydomain $myhostname localhost


  myorigin = $mydomain
  newaliases_path = /usr/local/bin/newaliases
  queue_directory = /var/spool/postfix
  readme_directory = /usr/local/share/doc/postfix
  relay_domains = $transport_maps

 Bad idea.  If you add a transport for eg. hotmail, you become an
 instant open relay.  Don't reuse transport_maps this way.

 If mail is delivered locally on this box, relay_domains should be
 explicitly set empty.
 relay_domains =


  sample_directory = /usr/local/etc/postfix
  sendmail_path = /usr/local/sbin/sendmail
  setgid_group = maildrop
  smtpd_delay_reject = yes
  smtpd_helo_required = yes
  smtpd_recipient_restrictions = permit_mynetworks,
  reject_unauth_destination,  reject_non_fqdn_recipient,
  reject_invalid_helo_hostname,   check_policy_service
  inet:[192.168.49.7]:12525
  soft_bounce = no
  transport_maps = hash:/usr/local/etc/postfix/transport
  unknown_local_recipient_reject_code = 550
 
  Now, my transport file is:
 
  nis.X.orgsmtp:[192.168.49.6]  -jail-A
 
  Is created:  transport.db
 
  Another think, in the log I don't see went is touching policyd-weight:
  12525 or this is just for the outside connections?

 Mail that's permitted by permit_mynetworks or submitted via the
 sendmail(1) interface won't trigger the policy server in your config.


Thanks Noel for your quick answer, just would like to inform u that this is
a spam server not a email server, once this server accept the email, he need
to send it to the real mail server, is other machine in the network(other
jail).

 This is why I'm using the transport stuff, if exist a more secure way
please let me know, spam server + email server exist in the same
network(jails).

 The test  was made with telnet, about the sendmail, I don't know went I
setup something about sendmail, I just have been working with postfix.

 Thanks again!!!


  -- Noel Jones

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

Postfix in base system

2010-04-07 Thread Jerry
I noticed that someone in another thread mentioned:

quote
(2010-03-22) added option to install Postfix into the base
/quote

I have not been able to locate that item. Could someone list the URL
for that notice or tell me where to look for it? :-?

Thanks %-\


-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

My God!  Are we sure he was a liberal?
Pretty sure.  They pulled him from a Volvo.
___
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: Postfix in base system

2010-04-07 Thread Jonathan McKeown
On Wednesday 07 April 2010 13:34:07 Jerry wrote:
 I noticed that someone in another thread mentioned:

 quote
 (2010-03-22) added option to install Postfix into the base
 /quote

 I have not been able to locate that item. Could someone list the URL
 for that notice or tell me where to look for it? :-?

 Thanks %-\

I found it in the cvsweb interface to the ports tree:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/mail/postfix/Makefile

Which lists rev1.155 with the commit message:

Add an option to install into the base, and related support

HTH

Jonathan
___
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: Freebsd, postfix and push email

2010-03-30 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30/03/2010 03:01:27, Tim Judd wrote:
 I've never heard of either, but when I configure my IMAP server and
 put any mail client to it, as soon as a mail is delivered, the mail
 client is notified.

That's the IDLE extension to IMAPv4 -- it's not a push protocol as
such: the client still has to log into the server rather than vice
versa, but once the client has read all the available e-mail, it can
put itself into an idle state, and the server will wake it up as soon
as any new e-mail comes in.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuxqLQACgkQ8Mjk52CukIx6IgCfSDPdb2LrxBDJZ+csTQfn73lB
+mMAniO4pq4K9gFEZ1SU53OrJOie9kaQ
=oVgM
-END PGP SIGNATURE-
___
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: Freebsd, postfix and push email

2010-03-30 Thread Jonathan McKeown
On Tuesday 30 March 2010 09:31:00 Matthew Seaman wrote:
 On 30/03/2010 03:01:27, Tim Judd wrote:
  I've never heard of either, but when I configure my IMAP server and
  put any mail client to it, as soon as a mail is delivered, the mail
  client is notified.

 That's the IDLE extension to IMAPv4 -- it's not a push protocol as
 such: the client still has to log into the server rather than vice
 versa, but once the client has read all the available e-mail, it can
 put itself into an idle state, and the server will wake it up as soon
 as any new e-mail comes in.

Yes. In fact, one of the nice things about IMAPrev4 as a protocol is that the 
server is allowed (in fact, required by rfc3501) to notify the client if the 
mailbox size increases while executing any command, by sending an EXISTS 
response which the client is required to handle. IDLE is just a command that 
takes a long time to execute (specifically, until the client ends it or the 
server's time limit is reached) so that the server has to send EXISTS 
responses whenever mail comes in.

Jonathan
___
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: Freebsd, postfix and push email

2010-03-29 Thread Tim Judd
On 3/27/10, per...@pluto.rain.com per...@pluto.rain.com wrote:
 Tim Judd taj...@gmail.com wrote:
 On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote:
  Is there a way to get my freebsd/postfix setup to send push
  notifications to an iPhone ... I know it can be done with
  Exchange and ActiveSync, but I don't want to run any kind of
  exchange server.

 Wouldn't push email be a function of your POP3 or IMAP server?
 FreeBSD and Postfix are neither of those.

 Er, no.  POP3 and IMAP are pull services, wherein the client
 polls the server periodically for any newly-arrived messages.
 A client-level push service would need to operate similarly
 to biff(1)/comsat(8).




I've never heard of either, but when I configure my IMAP server and
put any mail client to it, as soon as a mail is delivered, the mail
client is notified.

I don't use biff or comsat or anything similar.  mine is a simple IMAP
server pushing it.



I'm anxious to really hear what this is...  I don't have any POP3/IMAP
enabled smartphones to test with.


--Tim
___
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: Freebsd, postfix and push email

2010-03-29 Thread Adam Vande More
On Mon, Mar 29, 2010 at 8:01 PM, Tim Judd taj...@gmail.com wrote:

 I've never heard of either, but when I configure my IMAP server and
 put any mail client to it, as soon as a mail is delivered, the mail
 client is notified.

 I don't use biff or comsat or anything similar.  mine is a simple IMAP
 server pushing it.



 I'm anxious to really hear what this is...  I don't have any POP3/IMAP
 enabled smartphones to test with.


Most pop3/imap clients have check for new mail option, eg the gmail app for
the blackberry and every gui client I can think of.



-- 
Adam Vande More
___
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: Freebsd, postfix and push email

2010-03-28 Thread perryh
Tim Judd taj...@gmail.com wrote:
 On 3/27/10, Ron (Lists) rg.li...@rzweb.com wrote:
  Is there a way to get my freebsd/postfix setup to send push
  notifications to an iPhone ... I know it can be done with
  Exchange and ActiveSync, but I don't want to run any kind of
  exchange server.

 Wouldn't push email be a function of your POP3 or IMAP server?
 FreeBSD and Postfix are neither of those.

Er, no.  POP3 and IMAP are pull services, wherein the client
polls the server periodically for any newly-arrived messages.
A client-level push service would need to operate similarly
to biff(1)/comsat(8).
___
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: Freebsd, postfix and push email

2010-03-28 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/03/2010 05:04:06, Ron (Lists) wrote:
 Is there a way to get my freebsd/postfix setup to send push
 notifications to an iPhone (I assume other smart phones work the same
 way).  I've searched the web and I can't find any information about how
 to make this work.  I know it can be done with Exchange and ActiveSync,
 but I don't want to run any kind of exchange server.
 
 Thanks for any help, or even a point in the right direction.

Sounds like what you want is an e-mail to SMS gateway.  There are
several scripts in the ports for generating SMSes from the command line,
which you should be able to make use of.  You'll need to choose
something appropriate for your area.

Otherwise you're looking at proprietary software as used by the likes of
Blackberry.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuvLaEACgkQ8Mjk52CukIzWsgCfcAoObsvsXslpdPdoSxeP5MSS
jeMAn3MrC0WlaeKxjDwBQax+VGww9ZSg
=gy88
-END PGP SIGNATURE-
___
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: Freebsd, postfix and push email

2010-03-28 Thread Alejandro Imass
On Sun, Mar 28, 2010 at 12:04 AM, Ron (Lists) rg.li...@rzweb.com wrote:
 Is there a way to get my freebsd/postfix setup to send push notifications to
 an iPhone (I assume other smart phones work the same way).  I've searched
 the web and I can't find any information about how to make this work.  I
 know it can be done with Exchange and ActiveSync, but I don't want to run
 any kind of exchange server.


Hmm, something similar recently came up here in the thread Exchange
ActiveSync account, and in both cases there seems to be confusion in
the roles of the MTA, the MDA and the MUA.

The MTA is only responsible to relay mail to it's destination, the MDA
to store it somewhere and the MUA to retrieve it. The mail is
delivered in a mailbox and once it reaches that mailbox it is not the
MTA's nor the MDA's problem anymore. It just sits there until you can
reach your mailbox and read it. Many people think that IMAP, POP3 and
alike are part of the mail (MTA) system but they are not. They are
completely separate systems designed for you to be able to
access/fetch your mailbox(es) from a remote location. Remember that
email was invented on multi-user systems so when you log-in to a
machine via telnet, ssh or sitting on a terminal, you access your
email directly from the mailbox, you don't need to fetch it to a
remote location to read it.

Anyway, if you want to take mail from one mailbox and send it to
another location, you need to pop-it (regardless if it's pop, imap or
what have you) and then re-send it to the new destination. This is
usually not the work on an MTA AFAIK and you need to use other tools
such as Fetchmail.

Hope this helps,
Alejandro Imass


 Thanks for any help, or even a point in the right direction.

 Ron
 ___
 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

___
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: Freebsd, postfix and push email

2010-03-28 Thread Ross Cameron
On Sun, Mar 28, 2010 at 6:04 AM, Ron (Lists) rg.li...@rzweb.com wrote:
 Is there a way to get my freebsd/postfix setup to send push notifications to
 an iPhone (I assume other smart phones work the same way).  I've searched
 the web and I can't find any information about how to make this work.  I
 know it can be done with Exchange and ActiveSync, but I don't want to run
 any kind of exchange server.

 Thanks for any help, or even a point in the right direction.

FreeBSD is an OS
Postfix is an SMTP server.

What  you want is a email push daemon.
What I would use (and indeed do use) is Funambol, its and open source
push media server.
And there are software clients for most smart phone OSs.






-- 
Opportunity is most often missed by people because it is dressed in
overalls and looks like work.
Thomas Alva Edison
Inventor of 1093 patents, including:
The light bulb, phonogram and motion pictures.
___
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: Freebsd, postfix and push email

2010-03-28 Thread Jeffrey Goldberg
On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:

 Er, no.  POP3 and IMAP are pull services, wherein the client
 polls the server periodically for any newly-arrived messages.

IMAP, but not POP3, can be used to push, but the iPhone mail client doesn't 
support that as far as I know.  It does support being pushed to over Mobile Me, 
but not on regular IMAP.

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
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: Freebsd, postfix and push email

2010-03-28 Thread Ron



Jeffrey Goldberg wrote:

On Mar 28, 2010, at 1:36 AM, per...@pluto.rain.com wrote:

Er, no.  POP3 and IMAP are pull services, wherein the client 
polls the server periodically for any newly-arrived messages.


IMAP, but not POP3, can be used to push, but the iPhone mail client
doesn't support that as far as I know.  It does support being pushed
to over Mobile Me, but not on regular IMAP.



So how is Mobil Me and Exchange Servers (MS, Zimbra, etc) doing it?  That's what I'd like to replicate on my FreeBsd server.  This seems to be a well guarded secret I'd like to crack.  


On the iPhone, at least, the phone is not polling the servers, some kind of 
message (SMS?) is being sent to the phone that makes it put a little red badge 
on the corner of the mail app icon telling it how many messages are waiting.  
The messages don't seem to be download during the push, it's just a count (I 
could be wrong about this).

-- R



___
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


  1   2   3   4   5   6   7   8   9   10   >