Re: Configuring Postfix

2016-10-11 Thread Henning Follmann
On Tue, Oct 11, 2016 at 06:24:35PM +0200, David FREYCHE wrote:
> Hello,
> 
> I am new on the list and using a debian distribution 8.0 Jessie with
> E-commerce CMS prestashop installed.
> 
> 
> Here is the facts:
> 
> I receive spam on my mail queue (postqueue)
> I already configured postfix with amavis for content filter which works fine
> 
> 
> 
> I want to
> 
> block sending my from a specific dns

Ok, not quite sure what you are saying here.
You do not want to receive from a specific sender or you want to limit a
local user from sending to non local addresses?

> 
> 
> 
> So I want to configure postfix to avoid sending email from address
> x...@store.uneaune.com
> 
> 
> I configured postfix as follow:
> 
> main.cf
> 
>   smtp_sender_restrictions - check_sender_access
> hash:/etc/postfix/access_dns
> 
> access_dns file (with postmap compilation and restarting postfix)
> 
>   store.uneaune.com REJECT
>

smtp_d_sender_restrictions !

 

did you build the hash?


> 
> 
> It just does not work. I tried something else but no.
> 
> Am I doing something wrong?

yes

> I have smtpd_relay_restrictions; does it conflicts with sending
> restrictions?
> 
> 
> Can you provide me some assistance?
> 

Log file?



-- 
Henning Follmann   | hfollm...@itcfollmann.com



Configuring Postfix

2016-10-11 Thread David FREYCHE
Hello,

I am new on the list and using a debian distribution 8.0 Jessie with
E-commerce CMS prestashop installed.


Here is the facts:

I receive spam on my mail queue (postqueue)
I already configured postfix with amavis for content filter which works fine



I want to

block sending my from a specific dns



So I want to configure postfix to avoid sending email from address
x...@store.uneaune.com


I configured postfix as follow:

main.cf

  smtp_sender_restrictions - check_sender_access
hash:/etc/postfix/access_dns

access_dns file (with postmap compilation and restarting postfix)

  store.uneaune.com REJECT



It just does not work. I tried something else but no.

Am I doing something wrong?
I have smtpd_relay_restrictions; does it conflicts with sending
restrictions?


Can you provide me some assistance?


Regards,

David FREYCHE


David FREYCHE 
Teatime Apps Consulting 
+33 6 72 80 84 30


Re: configuring postfix

2009-06-13 Thread Andrei Popescu
On Fri,12.Jun.09, 21:30:50, Todd A. Jacobs wrote:
 
> Postfix is an MTA. At some point, every MTA needs to pass mail off to an
> MDA such as procmail or similar.

Not really:

,[ /usr/share/postfix/main.cf.dist ]
| # DELIVERY TO MAILBOX
| #
| # The home_mailbox parameter specifies the optional pathname of a
| # mailbox file relative to a user's home directory. The default
| # mailbox file is /var/spool/mail/user or /var/mail/user.  Specify
| # "Maildir/" for qmail-style delivery (the / is required).
| #
| #home_mailbox = Mailbox
| #home_mailbox = Maildir/
`

>   Debian's postfix uses procmail by
> default, so any configuration for custom mbox delivery ought to be done
> in procmail rather than postfix.

procmail (or maildrop for those who don't like procmail's syntax) is 
necessary only for more advanced stuff, like sorting the mail in 
different folders.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: configuring postfix

2009-06-12 Thread Todd A. Jacobs
On Thu, Jun 04, 2009 at 09:52:54AM -0800, leonardo wrote:

> How I can´t configure postfix to send incoming messages to a mailbox
> without use pop or imap

Postfix is an MTA. At some point, every MTA needs to pass mail off to an
MDA such as procmail or similar. Debian's postfix uses procmail by
default, so any configuration for custom mbox delivery ought to be done
in procmail rather than postfix.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: configuring postfix

2009-06-04 Thread Johannes Wiedersich
Neal Hogan wrote:
> As Rob said, your questions are not very clear. You original post is
> probably not getting much action because 1) it's not clear and 2)
> configuring Postfix is such a basic/normal thing that it has been discussed
> like crazy.

3) it hijacked another thread.

4) there are manual pages, there also is the package 'postfix-doc' with
all the documentation. Please, the documentation wasn't made just to
keep developers busy, read it sometime.

Note, that there is a wikipedia page on what a MTA is and does, and
another one about postfix, including links to basic configuration.

Cheers,
Johannes

NB: Ah, yeah and of course
http://www.lmgtfy.com/?q=debian+postfix&l=1


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: configuring postfix

2009-06-04 Thread Neal Hogan
On Thu, Jun 4, 2009 at 3:37 PM, leonardo  wrote:

>
> - Original Message - From: "Rob McBroom"  >
> To: "Debian User" 
> Sent: Thursday, June 04, 2009 4:20 PM
> Subject: Re: configuring postfix
>
>
> On 2009-Jun-4, at 1:52 PM, leonardo wrote:
>
>  How I can´t configure postfix to send incoming messages to a mailbox
>> without use pop or imap
>>
>
> All Postfix does is mail delivery. IMAP and POP can be used to read
> mail that has already been delivered. So, I guess I don't understand
> what you're asking.
>
>  running the command "newaliases" don´t solve me nothing
>>
>
> All that command does is read `/etc/aliases` and generate `/etc/
> aliases.db` from it.
>
> --
> Rob McBroom
> <http://www.skurfer.com/>
>
> Because it screws up the order in which people normally read text.
>
> Original message:
>
>  Why is it bad to top-post your reply?
>>
>
> so with the aliases configured postfix should send incoming mail in
> /var/mail/ folder?


leonardo,

As Rob said, your questions are not very clear. You original post is
probably not getting much action because 1) it's not clear and 2)
configuring Postfix is such a basic/normal thing that it has been discussed
like crazy.

A simple google of 'debian postifix' lead to many, many, many how-to's,
manuals, general docs . . . the first of which is
http://wiki.debian.org/Postfix

Your freeBSD posts are very well recieved for the same reasons.

-Neal


>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


Re: configuring postfix

2009-06-04 Thread leonardo


- Original Message - 
From: "Rob McBroom" 

To: "Debian User" 
Sent: Thursday, June 04, 2009 4:20 PM
Subject: Re: configuring postfix


On 2009-Jun-4, at 1:52 PM, leonardo wrote:

How I can´t configure postfix to send incoming messages to a mailbox 
without use pop or imap


All Postfix does is mail delivery. IMAP and POP can be used to read
mail that has already been delivered. So, I guess I don't understand
what you're asking.


running the command "newaliases" don´t solve me nothing


All that command does is read `/etc/aliases` and generate `/etc/
aliases.db` from it.

--
Rob McBroom
<http://www.skurfer.com/>

Because it screws up the order in which people normally read text.

Original message:


Why is it bad to top-post your reply?


so with the aliases configured postfix should send incoming mail in 
/var/mail/ folder?





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact 
listmas...@lists.debian.org



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: configuring postfix

2009-06-04 Thread Rob McBroom

On 2009-Jun-4, at 1:52 PM, leonardo wrote:

How I can´t configure postfix to send incoming messages to a mailbox  
without use pop or imap


All Postfix does is mail delivery. IMAP and POP can be used to read  
mail that has already been delivered. So, I guess I don't understand  
what you're asking.



running the command "newaliases" don´t solve me nothing


All that command does is read `/etc/aliases` and generate `/etc/ 
aliases.db` from it.


--
Rob McBroom


Because it screws up the order in which people normally read text.

Original message:


Why is it bad to top-post your reply?






--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



configuring postfix

2009-06-04 Thread leonardo

hey guys

How I can´t configure postfix to send incoming messages to a mailbox without 
use pop or imap


running the command "newaliases" don´t solve me nothing 



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Need help configuring postfix

1999-10-23 Thread Raul Miller
Hi,

I'm probably just being stupid, but I can't figure out how to configure
postfix.

How do you configure postfix so that most of the time mail is delivered
directly, but some of the time it's delivered to a specific smtp server.
Also, it must deliver most mail in my primary mail domain remotely --
unless there's a local email username which corresponds to the local
part of the email address, those should be delivered locally.

So, [EMAIL PROTECTED] is delivered locally, and [EMAIL PROTECTED] but
[EMAIL PROTECTED] is delivered remotely to the mx for domain.org.
[Also, I need to be able to run a script which toggles delivery of remote
messages between the usual mx rules and smarthost rules, but that's not
so urgent.]

I could probably figure this out if I sat down with the documentation for
a while and played with it, but at the moment I don't have an environment
where it's very safe to experiment.  [It's got some tools installed on
it which I need to address some other problems, but it's sending mail
to root which winds up going to a number of people.]

Thanks,

-- 
Raul