You appear to have accidentally posted twice. I trust this wasn't
intentional.
On 27 Oct 2008, at 00:04, Charles Darwin wrote:
On 26-Oct-08, at 12:11 AM, Stroller wrote:
#Yes indeed. Very nice.
$ postconf |grep bell
mydomain = dsl.bell.ca
myhostname = bas2-montreal45-1242554840.dsl.bell.ca
$ curl -s http://checkip.dyndns.org/ |sed 's/^.*ss:\ \(.*[0-9]\)
\<.*$/\1/'
74.15.225.216
Now question is who puts it into postconf's output. Does postfix
gets it from my network settings automatically?
I'm surprised to read you asking this. I meant "this is what your
mydomain would or should be". I'm afraid I'm too inexperienced to
answer that question - I have always configured them manually on my
Linux systems.
I am asking because if this is something that postfix inherits if
you will automatically then why bother defining it manually?
Pardon me. I meant "I'm surprised to read that these appear to be
appearing automatically". I don't know whether this is a Mac thing or
postfix main. One might well define stuff manually, however, to
override the settings that are detected automagically with better ones.
#Firing up postfix and sending a test message 'mail [EMAIL PROTECTED]
$ tail -f /var/log/mail.log
..
Oct 26 10:30:48 bas2-montreal45-1242554961 postfix/qmgr[385]:
93F9917FEFC: from=<[EMAIL PROTECTED]>, size=304, nrcpt=1 (queue
active)
Oct 26 10:30:48 bas2-montreal45-1242554961 postfix/qmgr[385]:
BAA7F17FE82: from=<>, size=2236, nrcpt=1 (queue active)
Oct 26 10:30:48 bas2-montreal45-1242554961 postfix/qmgr[385]:
B56C21F61F4: from=<[EMAIL PROTECTED]>, size=303, nrcpt=1 (queue
active)
Oct 26 10:30:48 bas2-montreal45-1242554961 postfix/qmgr[385]:
C4FE417FC0D: from=<[EMAIL PROTECTED]>, size=305, nrcpt=1 (queue
active)
Oct 26 10:30:54 bas2-montreal45-1242554961 postfix/smtp[394]:
connect to gmail-smtp-in.l.google.com[72.14.205.114]: Connection
refused (port 25)
Oct 26 10:31:18 bas2-montreal45-1242554961 postfix/smtp[388]:
connect to bas2-montreal45-1279781140.dsl.bell.ca[76.71.233.20]:
Operation timed out (port 25)
...
Oct 26 10:31:18 bas2-montreal45-1242554961 postfix/qmgr[385]:
B807617FE80: from=<>, status=expired, returned to sender
I think your script is setting an invalid "from: " address. Have the
output of the script set a valid one (even if it's your own).
Unix mailclients like pine, mutt & Thunderbird have an option to
read the mails directly from a store directory (i.e. home_mailbox),
and perhaps this is what you mean by your "pickup directory". If
Mail.app had this facility I think it must have been before I
started using it, 10.3
I guess it used to be around in older versions <http://www.macdevcenter.com/mac/2002/01/22/graphics/Part2Mail1.jpg
>
I wasn't doubting you. The theme of that window suggests that it was
certainly no later than 10.3.
A more elegant way to do things - since you ask about sending mail
"p2p" - is to run a POP server on your main machine (with .maildir
as the home_mailbox name, so that it's hidden in Finder, or just
using virtual mailboxes) and just tell Mail.app to connect to
localhost and get the mail through the POP protocol.
This is pretty much what I would like to do at university. I would
like to have my lab computers send p2p messages to each other
without burdening the server. I will post the results tomorrow when
I have access to machines.
...
Update: I have another question and that is about hosting a mail
server. Is it like hosting a web server? Like one does with apache?
would that be a solution to the p2p question?
Yes, essentially so. "p2p" is an unusual way to talk about sending
emails, but in hosting a POP3 or IMAP server you would be centralising
their repository.
Stroller.