[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Dan Mahoney via Postfix-users
> On Jun 15, 2024, at 15:03, Wietse Venema via Postfix-users > wrote: > > One addendum about how to distinguish from root@mydomain > from different hosts. > > Dan Mahoney via Postfix-users: >>> Use a virtual alias mapping from "r...@dayjob.org" to the collector >>> email address. This is a

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
One addendum about how to distinguish from root@mydomain from different hosts. Dan Mahoney via Postfix-users: > > Use a virtual alias mapping from "r...@dayjob.org" to the collector > > email address. This is a variation on > > > > /usr/local/etc/postfix/main.cf: > > virtual_alias_maps = has

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
Dan Mahoney via Postfix-users: > > Use a virtual alias mapping from "r...@dayjob.org" to the collector > > email address. This is a variation on > > > > /usr/local/etc/postfix/main.cf: > > virtual_alias_maps = hash:/local/etc/postfix/virtual-for-root > > > > /local/etc/postfix/virtual-for-ro

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Dan Mahoney via Postfix-users
> On Jun 15, 2024, at 06:19, Wietse Venema via Postfix-users > wrote: > > Dan Mahoney via Postfix-users: >> Hello, >> >> We currently have myorigin = $mydomain, and mydomain = dayjob.org >> on one of our border MXes, which is also the outbound MX for

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Viktor Dukhovni via Postfix-users
On Sat, Jun 15, 2024 at 09:19:58AM -0400, Wietse Venema via Postfix-users wrote: > > However, we would like our rootmail to respect our aliases file, > > which tells root to go to a specific mail destination on a specific > > box. > > Use virtual_alias_maps, as shown below. The null-client overv

[pfx] Re: myorigin usage for ONLY unqualified addresses

2024-06-15 Thread Wietse Venema via Postfix-users
Dan Mahoney via Postfix-users: > Hello, > > We currently have myorigin = $mydomain, and mydomain = dayjob.org > on one of our border MXes, which is also the outbound MX for our > whole organization. We are a fairly large site with mxes in two > locations and many machines whi

[pfx] myorigin usage for ONLY unqualified addresses

2024-06-14 Thread Dan Mahoney via Postfix-users
Hello, We currently have myorigin = $mydomain, and mydomain = dayjob.org on one of our border MXes, which is also the outbound MX for our whole organization. We are a fairly large site with mxes in two locations and many machines which send mail which may relay through here. Mydomain feels

[pfx] Re: Can one override use of myorigin for an unqualified recipient?

2023-07-13 Thread Noel Jones via Postfix-users
On 7/13/2023 3:53 PM, Chris Green via Postfix-users wrote: On the Postfix Basic Configuration page it says:- For the sake of consistency between sender and recipient addresses, myorigin also specifies the domain name that is appended to an unqualified recipient address. Is there

[pfx] Can one override use of myorigin for an unqualified recipient?

2023-07-13 Thread Chris Green via Postfix-users
On the Postfix Basic Configuration page it says:- For the sake of consistency between sender and recipient addresses, myorigin also specifies the domain name that is appended to an unqualified recipient address. Is there any way to override this, i.e. can one explicitly set the

Re: Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-23 Thread Matus UHLAR - fantomas
>Chris Green: >> Is the use of a filename in main.cf possible for any parameter or is >> it only applicable to myorigin (or just to a few)? >> >> I notice that installing postfix on my laptop from the Ubuntu >> repositories has set myorigin = /etc/mailname i

Re: Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-22 Thread Wietse Venema
Matus UHLAR - fantomas: > >Chris Green: > >> Is the use of a filename in main.cf possible for any parameter or is > >> it only applicable to myorigin (or just to a few)? > >> > >> I notice that installing postfix on my laptop from the Ubuntu > >&g

Re: Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-22 Thread Matus UHLAR - fantomas
Chris Green: Is the use of a filename in main.cf possible for any parameter or is it only applicable to myorigin (or just to a few)? I notice that installing postfix on my laptop from the Ubuntu repositories has set myorigin = /etc/mailname in main.cf. This is handy in relation to my 'h

Re: Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-06 Thread Wietse Venema
Chris Green: > Is the use of a filename in main.cf possible for any parameter or is > it only applicable to myorigin (or just to a few)? > > I notice that installing postfix on my laptop from the Ubuntu > repositories has set myorigin = /etc/mailname in main.cf. > > This is

Filename in main.cf, specifically myorigin = /etc/mailname

2020-12-06 Thread Chris Green
Is the use of a filename in main.cf possible for any parameter or is it only applicable to myorigin (or just to a few)? I notice that installing postfix on my laptop from the Ubuntu repositories has set myorigin = /etc/mailname in main.cf. This is handy in relation to my 'how to synchr

Re: myorigin will not be honored

2020-11-29 Thread Johannes Black
Okay thanks, I will investigate further. On 29.11.2020 18:11, Wietse Venema wrote: Johannes Black: Hi, I am using Debian 10 and I am bulding a server with a mail.someurl.com hostname and an MX entry for someurl.com. I have setup myorigin = /etc/mailname and /etc/mailname has someurl.com

Re: myorigin will not be honored

2020-11-29 Thread Wietse Venema
Johannes Black: > Hi, > > I am using Debian 10 and I am bulding a server with a mail.someurl.com > hostname and an MX entry for someurl.com. > > I have setup > > myorigin = /etc/mailname > > and /etc/mailname has > > someurl.com > > as an entry. >

myorigin will not be honored

2020-11-29 Thread Johannes Black
Hi, I am using Debian 10 and I am bulding a server with a mail.someurl.com hostname and an MX entry for someurl.com. I have setup myorigin = /etc/mailname and /etc/mailname has someurl.com as an entry. If I test it with echo "test"| mail destination-addr...@gmail.com (mail

Re: myorigin

2019-07-18 Thread Ralph Seichter
* Tobias Köck: > I am wondering why the source email adresse is still not > 'usern...@mydomain.de' but instead 'usern...@mail.mydomain.de'? Postfix settings aside, Mutt can be configured to generate specific sender addresses: # Your .muttrc set hostname=somehost.example.com set hidden_hos

Re: myorigin

2019-07-18 Thread Tobias Köck
postfix appends myorigin only if the domain is not present (and if append_at_myorigin is yes, but it's the default) Interesting. I haven't seen this depencendy. Where can I find it (in the documentation)?

Re: myorigin

2019-07-18 Thread Matus UHLAR - fantomas
On 18.07.19 18:44, Tobias Köck wrote: I found the reason why Debian uses a file named /etc/mailname https://wiki.debian.org/EtcMailName If this file is set with another name it seems to be the case that Postfix uses this file even if I have explicitely overwritten the myorigin with

Re: myorigin

2019-07-18 Thread Tobias Köck
I found the reason why Debian uses a file named /etc/mailname https://wiki.debian.org/EtcMailName If this file is set with another name it seems to be the case that Postfix uses this file even if I have explicitely overwritten the myorigin with another value. I'm still a littl

Re: myorigin

2019-07-18 Thread Tobias Köck
Hi> $ postconf myorigin If that is really mydomain.de, then mutt is giving Postfix the wrong sender address, and you need to configure mutt. Yes it's really mydomain.de. I was testing the mail command additioinaly of mutt to verify. Is there another internal testing possiblity to

Re: myorigin

2019-07-18 Thread Wietse Venema
Tobias K?ck: > Hi, > > I have setup > > myorigin=mydomain.de > > but if I send an email with MUTT emai client or with 'echo "test" | > mail' s...@email.de I get as email source > > usern...@mail.mydomain.de (the name of the mailserver). Wha

myorigin

2019-07-18 Thread Tobias Köck
Hi, I have setup myorigin=mydomain.de but if I send an email with MUTT emai client or with 'echo "test" | mail' s...@email.de I get as email source usern...@mail.mydomain.de (the name of the mailserver). For testing I have added the mydomain.de to the mydestination and

AW: myorigin isn't appended to local senders

2018-10-28 Thread Poggenpohl, Daniel
, Daniel P. -Ursprüngliche Nachricht- Von: owner-postfix-us...@postfix.org Im Auftrag von Poggenpohl, Daniel Gesendet: Sonntag, 28. Oktober 2018 22:47 An: postfix-users@postfix.org Betreff: AW: myorigin isn't appended to local senders Hello again, you say that the syslog entry

AW: myorigin isn't appended to local senders

2018-10-28 Thread Poggenpohl, Daniel
197553 mail.info] 559F725AF: to=, relay=none, delay=0.04, delays=0.02/0.01/0.01/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=anotherVM type=MX: Host not found, try again) # Well, at least now the myorigin is appended... Ok, further configurat

Re: myorigin isn't appended to local senders

2018-10-28 Thread Matus UHLAR - fantomas
Poggenpohl, Daniel: first some environment notes: I have a Vagrant VM provided by VirtualBox running Solaris 11.3 and OpenCSW postfix 2.9.4. I hope that doesn't contribute to my problem, but who knows... It seems myorigin isn't appended to mail senders from local accounts,

Re: myorigin isn't appended to local senders

2018-10-28 Thread Wietse Venema
Poggenpohl, Daniel: > Hello everyone, > > first some environment notes: I have a Vagrant VM provided by VirtualBox > running Solaris 11.3 and OpenCSW postfix 2.9.4. I hope that doesn't > contribute to my problem, but who knows... > > It seems myorigin isn't appe

myorigin isn't appended to local senders

2018-10-28 Thread Poggenpohl, Daniel
Hello everyone, first some environment notes: I have a Vagrant VM provided by VirtualBox running Solaris 11.3 and OpenCSW postfix 2.9.4. I hope that doesn't contribute to my problem, but who knows... It seems myorigin isn't appended to mail senders from local accounts, but rather

Re: If you specify $myorigin, isn't that supposed to be appended to unqualified recipients?

2014-05-15 Thread /dev/rob0
ot;r...@sparky.example.com" before Postfix saw it. > > Is there a way to see the raw email that Postfix accepts from > the mail command? We saw the envelope recipient, which was all we needed to see. was the recipient address that your MUA gave to sendmail(1). Postfix did not see

Re: If you specify $myorigin, isn't that supposed to be appended to unqualified recipients?

2014-05-13 Thread deoren
_inet_interfaces remote_header_rewrite_domain = Since I'm submitting locally I assume that means condition 2 is met ($local_header_rewrite_clients) and the "@$myorigin" string is written to mail addresses without the domain information. recipient_canonical_classes = envelope_re

Re: If you specify $myorigin, isn't that supposed to be appended to unqualified recipients?

2014-05-13 Thread /dev/rob0
://www.postfix.org/postconf.5.html#append_at_myorigin > Here's my Postfix conf: > > root@sparky:~# postconf -n > mydomain = example.com > myorigin = $mydomain > recipient_canonical_classes = envelope_recipient > recipient_canonical_maps = hash:/etc/postfix/pfix-n

If you specify $myorigin, isn't that supposed to be appended to unqualified recipients?

2014-05-13 Thread deoren
regexp:/etc/postfix/header_checks.conf inet_interfaces = all mailbox_size_limit = 0 milter_default_action = accept mydestination = localhost.$mydomain, localhost, sparky.example.net, sparky.example.com, mydomain = example.com myhostname = sparky.example.com mynetworks = 192.168.3.5 127.0.0.0/8 [:::127

Re: Dont add the $myorigin domain to the FROM header field

2013-03-26 Thread Wietse Venema
Marko Weber | ZBF: > > http://www.postfix.org/ADDRESS_REWRITING_README.html#william > > http://www.postfix.org/postconf.5.html#remote_header_rewrite_domain > > > > When you're using a content_filter, it's often useful to set: > > # main.cf > > remote_header_rewrite_domain = domain.invalid > > Wha

Re: Dont add the $myorigin domain to the FROM header field

2013-03-26 Thread Marko Weber | ZBF
Am 2013-03-22 18:50, schrieb Noel Jones: On 3/22/2013 11:44 AM, Victor d'Agostino wrote: Hi all, I use postfix as relay server to several internal domains. xxx is the main one. postconfig | grep domain prints : append_dot_mydomain = no mydomain = xxx myorigin = $mydomain relay_do

Re: Dont add the $myorigin domain to the FROM header field

2013-03-23 Thread Benny Pedersen
Victor d'Agostino skrev den 2013-03-22 17:44: I would like to know how to disable this behavior, append_dot_mydomain is already set to no. as you see postfix will not do "Shakira, Laundry Service All songs" :) you have to fix it self before calling sendmail

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Noel Jones
everal internal domains. xxx is > > the main one. > > > > postconfig | grep domain prints : > > > > append_dot_mydomain = no > > mydomain = xxx > > myorigin = $mydomain > > relay_domains = $mydomain yyy zzz > &

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Victor d'Agostino
2013/3/22 Noel Jones > On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > > Hi all, > > > > I use postfix as relay server to several internal domains. xxx is > > the main one. > > > > postconfig | grep domain prints : > > > > append_dot_m

Re: Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Noel Jones
On 3/22/2013 11:44 AM, Victor d'Agostino wrote: > Hi all, > > I use postfix as relay server to several internal domains. xxx is > the main one. > > postconfig | grep domain prints : > > append_dot_mydomain = no > mydomain = xxx > myorigin = $mydomain > rel

Dont add the $myorigin domain to the FROM header field

2013-03-22 Thread Victor d'Agostino
Hi all, I use postfix as relay server to several internal domains. xxx is the main one. postconfig | grep domain prints : append_dot_mydomain = no mydomain = xxx myorigin = $mydomain relay_domains = $mydomain yyy zzz If postfix receives an email with a FROM (headers and in the SMTP dialog

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Chris G
On Thu, Nov 18, 2010 at 01:39:34PM -0500, Victor Duchovni wrote: > > Larger sites tend to run with virtual_alias_domains valid both inside > and outside, with internal rewriting to direct each user's mail to the > right mail store. Internal-only email address namespaces are more in > SOHO sites, y

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Victor Duchovni
On Thu, Nov 18, 2010 at 06:31:27PM +, Chris G wrote: > > Avoid sender_canonical_maps, it is semantically wrong in most cases. > > Avoid masquerading (at least for inbound mail) as it is difficult to > > combine with recipient validation. > > Thanks too - I'll go and have a good read. Enjoy!

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Chris G
; http://www.postfix.org/MULTI_INSTANCE_README.html#quick > > > This means (I think) that I want to set the myorigin parameter to the > > machine's name on the LAN (e.g. dps.zbmc.eu or mws.zbmc.eu). This is > > how I have things set at the moment. > > > > Ho

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Chris G
messages from the server called mws. > > > > This means (I think) that I want to set the myorigin parameter to the > > machine's name on the LAN (e.g. dps.zbmc.eu or mws.zbmc.eu). This is > > how I have things set at the moment. > > > > However for mail go

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Victor Duchovni
nt to set the myorigin parameter to the > machine's name on the LAN (e.g. dps.zbmc.eu or mws.zbmc.eu). This is > how I have things set at the moment. > > However for mail going to the outside world (which does get sent from > mws.zbmc.eu in particular) I think myorigin should be

Re: myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Wietse Venema
so I can identify where an error > message has come from. > > E.g. I want messages from postmaster/root/cron on my dps server to be > distinguishable from similar messages from the server called mws. > > This means (I think) that I want to set the myorigin parameter to the > machi

myorigin, myhostname and mydomain usage behind a NAT router - what's the best approach?

2010-11-18 Thread Chris G
want messages from postmaster/root/cron on my dps server to be distinguishable from similar messages from the server called mws. This means (I think) that I want to set the myorigin parameter to the machine's name on the LAN (e.g. dps.zbmc.eu or mws.zbmc.eu). This is how I have things

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Joe
On 11/17/2010 02:30 PM, Chris G wrote: On Wed, Nov 17, 2010 at 02:04:57PM -0500, Victor Duchovni wrote: I would expect that dnsmasq is documented, and the documentation should cover sufficient detail to help you avoid this illegal RRset combination. You should only bother the "gurus/maintainers"

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Stan Hoeppner
Chris G put forth on 11/17/2010 5:50 AM: > That's one answer of course, thanks, for the moment I have changed my > local DNS server so that it returns a LAN address for zbmc.eu as well as > mws.zbmc.eu. If that causes other issues (I don't think it will) then > I'll use the above [] syntax. Some

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Wed, Nov 17, 2010 at 02:04:57PM -0500, Victor Duchovni wrote: > On Wed, Nov 17, 2010 at 06:32:24PM +, Chris G wrote: > > > > It is not legal for a DNS CNAME RRset to coexist with other data for > > > the same domain name. Nor should you have multiple CNAME records for > > > the same domain.

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Victor Duchovni
On Wed, Nov 17, 2010 at 06:32:24PM +, Chris G wrote: > > It is not legal for a DNS CNAME RRset to coexist with other data for > > the same domain name. Nor should you have multiple CNAME records for > > the same domain. > > > > If "mdw.zmbc.edu" is a host with "A" records, it must not be a CN

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Wed, Nov 17, 2010 at 12:25:52PM -0500, Victor Duchovni wrote: > On Wed, Nov 17, 2010 at 11:47:45AM +, Chris G wrote: > > > ch...@dps:/etc/postfix$ host mws.zbmc.eu > > mws.zbmc.eu has address 192.168.1.4 > > mws.zbmc.eu is an alias for zbmc.eu. > > mws.zbmc.eu is an alias fo

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Victor Duchovni
On Wed, Nov 17, 2010 at 11:47:45AM +, Chris G wrote: > ch...@dps:/etc/postfix$ host mws.zbmc.eu > mws.zbmc.eu has address 192.168.1.4 > mws.zbmc.eu is an alias for zbmc.eu. > mws.zbmc.eu is an alias for zbmc.eu. > zbmc.eu mail is handled by 10 zbmc.eu. It is not legal for

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Wed, Nov 17, 2010 at 11:47:45AM +, Chris G wrote: > > ... and that has resolved the DNS/IP problem at least though I'm still > getting "relaying denied". So now the relayhost (192.168.1.4) is > rejecting the E-Mail from the client (192.168.1.2) even though I have:- > > mynetworks = 12

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Tue, Nov 16, 2010 at 02:34:50PM -0500, Brian Evans - Postfix List wrote: > On 11/16/2010 2:03 PM, Chris G wrote: > >Er, it's Postfix isn't it? :-) Or have I misunderstood completely > >(quite likely!). > > > >When I 'telnet mws.zbmc.eu 25' from the client it does connect to > >mws.zbmc.eu (192

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Tue, Nov 16, 2010 at 04:42:21PM -0600, Larry Stone wrote: > On Tue, 16 Nov 2010, mouss wrote: > > >so, your client says > > relay=zbmc.eu[84.45.228.40] > >and your server says > > reject: RCPT from unknown[84.45.228.40] > > > >So your client and server have the same IP. This means that

Re: A question about myorigin, myhostname, etc.

2010-11-17 Thread Chris G
On Tue, Nov 16, 2010 at 11:17:17PM +0100, mouss wrote: > Le 16/11/2010 19:58, Chris G a écrit : > >On Tue, Nov 16, 2010 at 01:47:26PM -0500, Victor Duchovni wrote: > >>On Tue, Nov 16, 2010 at 06:39:49PM +, Chris G wrote: > >> > It sounds like you have both Postfix and Sendmail on the same s

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Larry Stone
On Tue, 16 Nov 2010, mouss wrote: so, your client says relay=zbmc.eu[84.45.228.40] and your server says reject: RCPT from unknown[84.45.228.40] So your client and server have the same IP. This means that they run on the same box. is it so? if so, why didn't you say it before?

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread mouss
Le 16/11/2010 19:58, Chris G a écrit : On Tue, Nov 16, 2010 at 01:47:26PM -0500, Victor Duchovni wrote: On Tue, Nov 16, 2010 at 06:39:49PM +, Chris G wrote: It sounds like you have both Postfix and Sendmail on the same systems, and perhaps confused about which MTA is handling which mail.

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Brian Evans - Postfix List
On 11/16/2010 2:03 PM, Chris G wrote: Er, it's Postfix isn't it? :-) Or have I misunderstood completely (quite likely!). When I 'telnet mws.zbmc.eu 25' from the client it does connect to mws.zbmc.eu (192.168.1.4) and mws.zbmc.eu reports the connection to be coming from 192.168.1.2 which is dps

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
On Tue, Nov 16, 2010 at 01:58:06PM -0500, Victor Duchovni wrote: > On Tue, Nov 16, 2010 at 06:50:02PM +, Chris G wrote: > > > So where is there a system sending this mail which appears to be > > 84.45.228.40? > > > > From what I can see in the logs the mail isn't going out to the outside > >

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
On Tue, Nov 16, 2010 at 01:47:26PM -0500, Victor Duchovni wrote: > On Tue, Nov 16, 2010 at 06:39:49PM +, Chris G wrote: > > > > It sounds like you have both Postfix and Sendmail on the same systems, > > > and perhaps confused about which MTA is handling which mail. > > > > When I say 'sendmail

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Victor Duchovni
On Tue, Nov 16, 2010 at 06:50:02PM +, Chris G wrote: > So where is there a system sending this mail which appears to be > 84.45.228.40? > > From what I can see in the logs the mail isn't going out to the outside > world and coming back in, it's just going from 192.168.1.2 to 192.168.1.4. Th

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
On Tue, Nov 16, 2010 at 12:27:56PM -0600, Larry Stone wrote: > On Tue, 16 Nov 2010, Chris G wrote: > > >Yes, I realise that "It connects from 84.45.228.40" but I can find no > >reason at all *why* the postfix server process on mws.zbmc.eu thinks > >that the connection is from 84.45.228.40. > > Be

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Victor Duchovni
On Tue, Nov 16, 2010 at 06:39:49PM +, Chris G wrote: > > It sounds like you have both Postfix and Sendmail on the same systems, > > and perhaps confused about which MTA is handling which mail. > > When I say 'sendmail' I just mean the postfix executable of that name > which is used by mutt (am

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
On Tue, Nov 16, 2010 at 01:13:48PM -0500, Victor Duchovni wrote: > On Tue, Nov 16, 2010 at 06:06:27PM +, Chris G wrote: > > > On Tue, Nov 16, 2010 at 12:34:38PM -0500, Wietse Venema wrote: > > > Chris G: > > > > Yes, I realise that "It connects from 84.45.228.40" but I can find no > > > > reas

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Larry Stone
On Tue, 16 Nov 2010, Chris G wrote: Yes, I realise that "It connects from 84.45.228.40" but I can find no reason at all *why* the postfix server process on mws.zbmc.eu thinks that the connection is from 84.45.228.40. Because that's where it came from. Wherever I look on my LAN the IP addres

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Victor Duchovni
On Tue, Nov 16, 2010 at 06:06:27PM +, Chris G wrote: > On Tue, Nov 16, 2010 at 12:34:38PM -0500, Wietse Venema wrote: > > Chris G: > > > Yes, I realise that "It connects from 84.45.228.40" but I can find no > > > reason at all *why* the postfix server process on mws.zbmc.eu thinks > > > that t

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
On Tue, Nov 16, 2010 at 12:34:38PM -0500, Wietse Venema wrote: > Chris G: > > Yes, I realise that "It connects from 84.45.228.40" but I can find no > > reason at all *why* the postfix server process on mws.zbmc.eu thinks > > that the connection is from 84.45.228.40. > > Because the operating syste

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Wietse Venema
Chris G: > Yes, I realise that "It connects from 84.45.228.40" but I can find no > reason at all *why* the postfix server process on mws.zbmc.eu thinks > that the connection is from 84.45.228.40. Because the operating system kernel said so when Postfix asked. Wietse

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
ge. > > > >The bottom of /etc/postfix/main.cf on dps.zbmc.eu is:- > > > >myhostname = dps.zbmc.eu > >alias_maps = hash:/etc/aliases > >alias_database = hash:/etc/aliases > >myorigin = /etc/mailname > >mydestination = dps.zbm

Re: A question about myorigin, myhostname, etc.

2010-11-16 Thread Randy Ramsdell
(well, its IP) and rejects it with a 'relaying denied' message. The bottom of /etc/postfix/main.cf on dps.zbmc.eu is:- myhostname = dps.zbmc.eu alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = dps.zbmc.e

A question about myorigin, myhostname, etc.

2010-11-16 Thread Chris G
nd rejects it with a 'relaying denied' message. The bottom of /etc/postfix/main.cf on dps.zbmc.eu is:- myhostname = dps.zbmc.eu alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = dps.zbmc.eu, localhost.zbmc.eu, loc

Re: Auto appending @$myorigin causing some issues.

2010-05-21 Thread Victor Duchovni
h obviously doesn't exist. > > So my question is, is it possible to clean out the @$myorigin or > convince it not to append it so I can then just pass it through LMTP to > Zarafa? Your configuration is wrong. If Zarafa's LMTP server expects bare RCPT TO: comands, fix that soft

Auto appending @$myorigin causing some issues.

2010-05-21 Thread Mike A. Leonetti
.com so of course postfix recognizes it as a non-domain and appends @$myorigin. The system then recognizes it as a local user and uses mailbox_command = ... to deliver it. But, in the end I would really like to deliver it using lmtp (see the virtual_transport line) to Zarafa which is its destination,

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread Thomas
And NO, you do not need a myhostname entry!

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread mouss
MountainX a écrit : > Brian Evans - Postfix List wrote: >>[snip] >> In your case, you should have something like: >> mydomain = example.com >> myhostname = mail.example.com >> >> myhostname must be the fully qualified name. example.com is fully qualified. It is ok for him to use this as long as

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread Thomas
MountainX wrote: You need to set mydomain yourself! Othwise, mydomain defaults to the string "localdomain": postconf -d mydomain mydomain = localdomain Just set mydomain correctly and then use "myorigin = $mydomain": mydomain = my-own-domain.com myorigin = $mydomain Nothing more needed :)

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread MountainX
Brian Evans - Postfix List wrote: > > MountainX wrote: >> >> Brian Evans - Postfix List wrote: >> >>> MountainX wrote: >>> >>>> I was reading the SOHO doc and decied that setting "myorigin = >>>> $mydomain"

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread MountainX
Brian Evans - Postfix List wrote: > > MountainX wrote: >> >> Brian Evans - Postfix List wrote: >> >>> MountainX wrote: >>> >>>> I was reading the SOHO doc and decied that setting "myorigin = >>>> $mydomain"

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread Brian Evans - Postfix List
MountainX wrote: > > Brian Evans - Postfix List wrote: > >> MountainX wrote: >> >>> I was reading the SOHO doc and decied that setting "myorigin = $mydomain" >>> might address my needs. (I was just guessing, because it isn't clear to &g

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread MountainX
Brian Evans - Postfix List wrote: > > MountainX wrote: >> I was reading the SOHO doc and decied that setting "myorigin = $mydomain" >> might address my needs. (I was just guessing, because it isn't clear to >> me >> exactly what this setti

Re: myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread Brian Evans - Postfix List
MountainX wrote: > I was reading the SOHO doc and decied that setting "myorigin = $mydomain" > might address my needs. (I was just guessing, because it isn't clear to me > exactly what this setting does.) After making the change, I have the problem > where my postfix

myorigin = $mydomain, but where is mydomain defined?

2009-01-28 Thread MountainX
I was reading the SOHO doc and decied that setting "myorigin = $mydomain" might address my needs. (I was just guessing, because it isn't clear to me exactly what this setting does.) After making the change, I have the problem where my postfix logs show emails addressed like this