Index: [thread] [date] [author] [stats]
  From: markus schnalke <meillo@marmaro.de>
  To  : <masqmail@marmaro.de>
  Date: Wed, 27 May 2009 15:00:37 +0200

Re: [masqmail] Mail forwarding

[2009-05-27 11:30] Grzegorz Adamiak <gadamiak@docucollab.com>
> --- markus schnalke [2009-05-26 19:15]:
> >
> >Or if all mail will be sent by using the local `sendmail' command, and
> >you don't need to listen on a local port, then you don't need to run
> >Masqmail as a daemon.
> 
> I guess this is the case. There are no active users on the machine, 
> except my administrative accounts, who would send mail.
> 
> What's the difference when running a daemon or not?

There are mainly two ways to submit a message into the MTA system:
1) use the `sendmail' command (/usr/lib/sendmail) and write plain-text
   on stdin
2) connect to port 25 (or 465) and talk SMTP

Way 1 ist more common for local programs, but there might be ones that
make use of way 2.

Way 2 will only be available if masqmail runs as daemon. For way 1,
masqmail will get called directly (sendmail is a symlink to masqmail),
thus running as daemon is not required.

If you listen only on localhost:25, then the setup is probably nearly
as secure as if you don't listen on a port at all. However, everything
that masqmail does more will decrease its security ... the question
is: how much?

I'd say, in your case it does not matter.


> >>I use 'log user = archive@my.domain' for that and it puts every copy in 
> >>the account's 'Sent' folder.
> >
> >So, this issue is already solved?
> 
> Works for me. However, it seems to flood the smarthost when delivery 
> fails. Shouldn't it sit in the queue instead just like a regular mail?

Don't know if I understand correctly what you mean.

This option copies any mail that goes through the MTA and sends it to
the specified address. Seems as if exactly this is done. You mean that
this approach leads to problems if the log user address returns an
error?

Normally, bounces have empty from addresses, hence bounce messages
don't get bounced again. This should prevent such flooding.

Please explain in more detail if there is a problem.


meillo

signature.asc

Index: [thread] [date] [author] [stats]