Cannot get local mail delivered locally

2008-12-31 Thread Frank Millman
Hi all I feel I should be able to figure this out for myself, but after two days of trying I have not succeeded, so I hope someone can help me. I have a small office network. The server runs Fedora 4, the workstations run Windows. On the server, I run Postfix to send mail, and getmail to retrieve

Re: Alias piping + mysql in virtual domains

2008-12-31 Thread Joselito
On Dec 30, 2008, at 10:45 PM, Wietse Venema wrote: Sahil Tandon: Joselito wrote: I'm moving an existing domain to virtual mailboxes. All the info is stored in a mysql database. Currently all devlivery and alias mapping is working correctly; I'm using virtual_mailbox_maps, virtual_alias_

Re: Enforcing sending domain from the inside network

2008-12-31 Thread D. Karapiperis
O/H mouss έγραψε: D. Karapiperis a écrit : O/H Wietse Venema έγραψε: Since he asked for a "nice" way to specify this in Postfix, a "nice" implementation of this would look like this: /etc/postfix/main.cf: smtpd_sender_restrictions = permit_mydomain, reject_mynetworks Where the

Re: Cannot get local mail delivered locally

2008-12-31 Thread Darren Pilgrim
Frank Millman wrote: Assume our domain name is example.com, and our email addresses are f...@example.com, b...@example.com, etc. In main.cf, I had the following - myhostname = fcserver.example.com mydomain = example.com myorigin = $mydomain I have now changed it to - myhostname = example.com

RE: Cannot get local mail delivered locally

2008-12-31 Thread Frank Millman
Darren Pilgrim wrote: > > Frank Millman wrote: > > Assume our domain name is example.com, and our email addresses are > > f...@example.com, b...@example.com, etc. > > > > In main.cf, I had the following - > > > > myhostname = fcserver.example.com > > mydomain = example.com > > myorigin = $mydom

Re: Cannot get local mail delivered locally

2008-12-31 Thread Darren Pilgrim
Frank Millman wrote: Before (not working) mydestination = $myhostname, localhost.$mydomain, localhost mydomain = example.com myhostname = fcserver.example.com myorigin = $mydomain example.com is not in $mydestination, so Postfix relays all example.com mail to $relayhost.

Re: Enforcing sending domain from the inside network

2008-12-31 Thread mouss
D. Karapiperis a écrit : > > Open relay will not take place if the checks are included on > smtpd_sender_restrictions? an OK in smtpd_sender_restrictions does not skip smtpd_recipient_restrictions, and relay check is done in the latter (reject_unauth_destination).

RE: Cannot get local mail delivered locally

2008-12-31 Thread Frank Millman
Darren Pilgrim wrote: > > Frank Millman wrote: > > Before (not working) > > > > mydestination = $myhostname, localhost.$mydomain, localhost > mydomain = > > example.com myhostname = fcserver.example.com myorigin = $mydomain > > example.com is not in $mydestination, so Postf

rewrite recipients after /etc/aliases is processed

2008-12-31 Thread Hanspeter Kunz
Hi all, I'm trying to figure out how I can deliver mail usern...@examplehost.example.com to a central mail server (smtp.example.com) without setting myorigin = $mydomain on the example host, because I would like to see where the mail originiated or was originally sent to in the sender address.

Re: rewrite recipients after /etc/aliases is processed

2008-12-31 Thread mouss
Hanspeter Kunz a écrit : > Hi all, > > I'm trying to figure out how I can deliver mail > > usern...@examplehost.example.com > > to a central mail server (smtp.example.com) without setting > > myorigin = $mydomain > > on the example host, because I would like to see where the mail > originiated

Re: rewrite recipients after /etc/aliases is processed

2008-12-31 Thread Hanspeter Kunz
On Wed, 2008-12-31 at 14:28 +0100, mouss wrote: > Hanspeter Kunz a écrit : > > Hi all, > > > > I'm trying to figure out how I can deliver mail > > > > usern...@examplehost.example.com > > > > to a central mail server (smtp.example.com) without setting > > > > myorigin = $mydomain > > > > on th

Re: rewrite recipients after /etc/aliases is processed

2008-12-31 Thread Wietse Venema
Hanspeter Kunz: > well, my intention was to use /etc/aliases for forwarding mail adresses > like root, webmaster, logcheck, etc. to real users. This would be > different users on every host. That's why I want first to > process /etc/aliases and then route the mail to our central mail server. /etc/

Re: postfix questions: when emails are being rejected...

2008-12-31 Thread Jim Wright
On Dec 31, 2008, at 1:51 AM, Hwan Dong wrote: much thanks for your comments. I looked at the backoff. But it is to delay the undelieverable messages, is there any way to delay all the following message for the SAME destination domain? i.e. if one email to a...@hotmail.com is rejected, I sti

Re: postfix questions: when emails are being rejected...

2008-12-31 Thread Wietse Venema
Hwan Dong: > > Hi there, > ? > Instead of?paying email professionals, I set up a postfix SMTP server to s >-end emails to the club members. I have also successfully enabled the delay b >-etween sending to some ISPs. But as more as I am sending, I could still get >-rejection. Do you have similar e

Re: Delivered to command difference if .procmailrc exists

2008-12-31 Thread Wietse Venema
Your measurements use two different users, one with .procmailrc file and one without .procmailrc file. To prove that the difference in behavior is caused by the presence or absence of .procmailrc files, you need to deliver mail to the EXACT SAME user and change NOTHING except the presence/existenc

Re: rewrite recipients after /etc/aliases is processed

2008-12-31 Thread Hanspeter Kunz
On Wed, 2008-12-31 at 08:50 -0500, Wietse Venema wrote: > Hanspeter Kunz: > > well, my intention was to use /etc/aliases for forwarding mail adresses > > like root, webmaster, logcheck, etc. to real users. This would be > > different users on every host. That's why I want first to > > process /etc/

Re: Delivered to command difference if .procmailrc exists

2008-12-31 Thread Jacob Anawalt
On Wed, Dec 31, 2008 at 7:39 AM, Wietse Venema wrote: > To prove that the difference in behavior is caused by the presence > or absence of .procmailrc files, you need to deliver mail to the > EXACT SAME user and change NOTHING except the presence/existence > of the .procmailrc file. > Doh! Yes, w

Re: Delivered to command difference if .procmailrc exists

2008-12-31 Thread Victor Duchovni
On Wed, Dec 31, 2008 at 10:17:05AM -0700, Jacob Anawalt wrote: > There must be some difference in the mapping or something between > accounts or some mapping or aliasing that makes this happen, but I am > at a loss to know what it is. I might have a better chance if I knew > where /usr/bin/procmai

Re: Delivered to command difference if .procmailrc exists

2008-12-31 Thread Wietse Venema
Jacob Anawalt: > On Wed, Dec 31, 2008 at 7:39 AM, Wietse Venema wrote: > > To prove that the difference in behavior is caused by the presence > > or absence of .procmailrc files, you need to deliver mail to the > > EXACT SAME user and change NOTHING except the presence/existence > > of the .procma

Postfix and multiple smarthosts

2008-12-31 Thread Andrew Hodgson
Hi, I am trying to find the answer whether Postfix will support multiple smarthosts - i.e, sending to specific smarthosts, and if one fails, it will try to send to the next one in the list, or will just use any smart host in the list without issue? I have found several examples of using smart hos

Solved: Re: Delivered to command difference if .procmailrc exists

2008-12-31 Thread Jacob Anawalt
On Wed, Dec 31, 2008 at 10:40 AM, Wietse Venema wrote: > The user's .forward file takes precedence over mailbox delivery. > Almost every user with a .procmailrc had a .forward calling | /usr/bin/procmail. Moving .foward out of the way for the same user as I moved .procmailrc now shows postfix/loc

Re: Postfix and multiple smarthosts

2008-12-31 Thread Wietse Venema
Andrew Hodgson: > Hi, > > I am trying to find the answer whether Postfix will support multiple > smarthosts - i.e, sending to specific smarthosts, and if one fails, it > will try to send to the next one in the list, or will just use any > smart host in the list without issue? relayhost = [one.exa

RE: Postfix and multiple smarthosts

2008-12-31 Thread Andrew Hodgson
Wietse Venema wrote: >Andrew Hodgson: >> I am trying to find the answer whether Postfix will support multiple >> smarthosts - i.e, sending to specific smarthosts, and if one fails, it >> will try to send to the next one in the list, or will just use any >> smart host in the list without issue? >

Re: Postfix and multiple smarthosts

2008-12-31 Thread Victor Duchovni
On Wed, Dec 31, 2008 at 05:38:33PM +, Andrew Hodgson wrote: > I am trying to find the answer whether Postfix will support multiple > smarthosts - i.e, sending to specific smarthosts, and if one fails, it > will try to send to the next one in the list, or will just use any > smart host in the l

Richmond H Dyes/mchhosp.gov is out of the office.

2008-12-31 Thread RDyes
I will be out of the office starting 12/31/2008 and will not return until 01/05/2009. If it is an emergency, the help line at 760-6277 -- Confidentiality Notice -- This email message, including all the attachments, is for the sole use of the intended recipient(s) and contains confidential in

Rejecting emails with invalid/unlikely dates?

2008-12-31 Thread IBBoard
Hi, I've been looking around but so far haven't been able to find anything (partly because it's difficult to phrase a search query!). If someone has a solution/config for this then that'd be great. Before anyone points out issues with GMail and lack of control, this is all being done on a do

Re: Rejecting emails with invalid/unlikely dates?

2008-12-31 Thread Darren Pilgrim
IBBoard wrote: I've been looking around but so far haven't been able to find anything (partly because it's difficult to phrase a search query!). If someone has a solution/config for this then that'd be great. Before anyone points out issues with GMail and lack of control, this is all being do

RE: Postfix and multiple smarthosts

2008-12-31 Thread Andrew Hodgson
Victor Duchovni wrote: >On Wed, Dec 31, 2008 at 05:38:33PM +, Andrew Hodgson wrote: >> I am trying to find the answer whether Postfix will support multiple >> smarthosts - i.e, sending to specific smarthosts, and if one fails, it >> will try to send to the next one in the list, or will just u

Finding the envelope-sender after always_bcc?

2008-12-31 Thread Jeff Weinberger
Hi: After reading http://www.irbs.net/internet/postfix/0703/1471.html and http://www.irbs.net/internet/postfix/0703/1519.html to help with my autoreply capability (and making sure i get it as close to "right" as possible!), I am trying to ensure that I can take all reasonable measures to ge

Re: Postfix and multiple smarthosts

2008-12-31 Thread Victor Duchovni
On Wed, Dec 31, 2008 at 10:42:43PM +, Andrew Hodgson wrote: > Ah, we can put two here can we? Can you put two entries in the > relayhost section also? Best to avoid reasoning by analogy when one can reason from facts. The parameters are documented: http://www.postfix.org/postconf.5.htm

Re: Finding the envelope-sender after always_bcc?

2008-12-31 Thread mouss
Jeff Weinberger a écrit : > Hi: > > After reading http://www.irbs.net/internet/postfix/0703/1471.html and > http://www.irbs.net/internet/postfix/0703/1519.html to help with my > autoreply capability (and making sure i get it as close to "right" as > possible!), I am trying to ensure that I can tak

Re: Rejecting emails with invalid/unlikely dates?

2008-12-31 Thread mouss
Darren Pilgrim a écrit : > IBBoard wrote: >> I've been looking around but so far haven't been able to find anything >> (partly because it's difficult to phrase a search query!). If someone >> has a solution/config for this then that'd be great. >> >> Before anyone points out issues with GMail and l

Re: Finding the envelope-sender after always_bcc?

2008-12-31 Thread Jeff Weinberger
On Dec 31, 2008, at 6:11 PM, mouss wrote: Jeff Weinberger a écrit : Hi: After reading http://www.irbs.net/internet/postfix/0703/1471.html and http://www.irbs.net/internet/postfix/0703/1519.html to help with my autoreply capability (and making sure i get it as close to "right" as possible!), I

Looping in new production machine!

2008-12-31 Thread Rich Winkel
I'm not sure, I may have an unusual dns setup on this mail server. The primary host name is math.missouri.edu, but it has an alias of math.math.missouri.edu. In any case, I'm getting the dreaded: status=SOFTBOUNCE (mail for math.math.missouri.edu loops back to myself) Even though incoming messag