simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
hi we are having a full-featured server and some internal relays for website-forms and such things with no restrictions on the full-featured server is a existing mysql-view "dbma_recipients" with all addresses we would accept incoming mails including some "@domain.tld" what would be the simplest

Re: simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
Am 17.04.2011 13:38, schrieb Reindl Harald: > hi > > we are having a full-featured server and some internal relays > for website-forms and such things with no restrictions > > on the full-featured server is a existing mysql-view > "dbma_recipients" with all addresses we would accept > incoming ma

Re: simplest way restrict sender-address?

2011-04-17 Thread Sahil Tandon
On Sun, 2011-04-17 at 17:18:04 +0200, Reindl Harald wrote: > why is "reject_unlisted_sender" before "permit_mynetworks" ignored? > > Apr 17 17:16:41 arrakis postfix/smtpd[31521]: B244136033: > client=unknown[10.0.0.6] > Apr 17 17:16:41 arrakis postfix/cleanup[31524]: B244136033: > message-id= >

Re: simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
Am 17.04.2011 17:34, schrieb Sahil Tandon: > On Sun, 2011-04-17 at 17:18:04 +0200, Reindl Harald wrote: > >> why is "reject_unlisted_sender" before "permit_mynetworks" ignored? >> >> Apr 17 17:16:41 arrakis postfix/smtpd[31521]: B244136033: >> client=unknown[10.0.0.6] >> Apr 17 17:16:41 arrakis p

Re: simplest way restrict sender-address?

2011-04-17 Thread Sahil Tandon
On Sun, 2011-04-17 at 17:39:34 +0200, Reindl Harald wrote: > Am 17.04.2011 17:34, schrieb Sahil Tandon: > > On Sun, 2011-04-17 at 17:18:04 +0200, Reindl Harald wrote: > > > >> why is "reject_unlisted_sender" before "permit_mynetworks" ignored? > >> > >> Apr 17 17:16:41 arrakis postfix/smtpd[31521

Re: simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
Am 17.04.2011 17:50, schrieb Sahil Tandon: > On Sun, 2011-04-17 at 17:39:34 +0200, Reindl Harald wrote: > >> Am 17.04.2011 17:34, schrieb Sahil Tandon: >>> On Sun, 2011-04-17 at 17:18:04 +0200, Reindl Harald wrote: >>> why is "reject_unlisted_sender" before "permit_mynetworks" ignored?

Re: simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
Am 17.04.2011 17:50, schrieb Sahil Tandon: > On Sun, 2011-04-17 at 17:39:34 +0200, Reindl Harald wrote: > >> Am 17.04.2011 17:34, schrieb Sahil Tandon: >>> On Sun, 2011-04-17 at 17:18:04 +0200, Reindl Harald wrote: >>> why is "reject_unlisted_sender" before "permit_mynetworks" ignored?

Re: simplest way restrict sender-address?

2011-04-17 Thread Sahil Tandon
On Sun, 2011-04-17 at 17:59:35 +0200, Reindl Harald wrote: > >> everybody on this machine should can use the machines ip-addr as > >> smtp-relay but only with domains listed on our main-server > > > > You could use check_sender_access to enforce specific sender domains. > > this was one of my th

Re: simplest way restrict sender-address?

2011-04-17 Thread Reindl Harald
below my working configuration in the hope somebody saves time and energy Am 17.04.2011 18:56, schrieb Sahil Tandon: > On Sun, 2011-04-17 at 17:59:35 +0200, Reindl Harald wrote: > >> one of my guesses would be >> query = select 'OK' from dbma_mta where mydestination='%d'; > > To accomplish your

how add X-AntiAbuse header

2011-04-17 Thread fakessh
hello postfix guru hello wieste hello mouss I would like to add anti-abuse headers. I just spent a good little time to watch list archives and found no answers example of a header that I want to appear in my mail X-AntiAbuse: This header was added to track abuse, please include it with any

virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Mike
Trying to complete initial setup of postfix. My box is on a dynamic ip internet connection. I have a FQDN and DNS forwarding service through no-ip.com. I am starting with this one domain, and one virtual user. Thus far, postfix is not receiving mail and when I try send email by testing with "telne

Re: virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Sahil Tandon
Mike wrote: tcpdump -i eth0 port 25 (demonstrating incoming mail from a gmail account to the postfix box on eth0 -- provided "zeros" to the ip address for security): In your case, tcpdump output illuminates nothing about the problem. And here's the /var/log/maillog on the slackware/postfix b

Re: how add X-AntiAbuse header

2011-04-17 Thread Noel Jones
On 4/17/2011 6:28 PM, fakessh wrote: hello postfix guru hello wieste hello mouss I would like to add anti-abuse headers. I just spent a good little time to watch list archives and found no answers example of a header that I want to appear in my mail X-AntiAbuse: This header was added to tra

Re: virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Mike
Sahil, Thank you for your help. I created the virtual_alias_maps and now receive the expected response when initiating telnet session: ~:/var/spool# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 localhost ESMTP Postfix quit 221 2.0.0 Bye Connection

Re: virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Mike
On Sun, Apr 17, 2011 at 10:01 PM, masegaloeh wrote: > Your problem was similiar to problem that i found in this link > http://www.irbs.net/internet/postfix/0608/1215.html > > The solution is "Try turning off chroot operation in master.cf" > http://www.postfix.org/DEBUG_README.html#no_chroot > -- >

Re: virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Mike
On Sun, Apr 17, 2011 at 11:00 PM, masegaloeh wrote: > On 4/18/2011 8:28 AM, Mike wrote: >> >> I manually created the /var/spool/example.com/user1/  directories. >> I also applied directory ownership to: vmail:vmail > > why you create directory in /var/spool/example.com but your mailbox_base is > /

Re: virtual mailbox: separate domains, non-unix accounts

2011-04-17 Thread Mike
On Sun, Apr 17, 2011 at 11:57 PM, Mike <1100...@gmail.com> wrote: > ~# ls -la /var/spool/vmailbox > total 12 > drwxr-xr-x  3 1001 vmail 4096 2011-04-17 12:19 ./ > drwxr-xr-x 17 root root  4096 2011-04-17 12:03 ../ > drwxr-xr-x  3 1001 vmail 4096 2011-04-17 13:39 example.com/ > chown'ed everything

Re: how add X-AntiAbuse header

2011-04-17 Thread fakessh
Le lundi 18 avril 2011 03:27, Noel Jones a écrit : > On 4/17/2011 6:28 PM, fakessh wrote: > > hello postfix guru > > hello wieste > > hello mouss > > > > > > > > > > I would like to add anti-abuse headers. I just spent a good little time > > to watch list archives and found no answers > > > > examp