Sponsored Content
Operating Systems OS X (Apple) fetchmail and postfix mail setup on Snow Leopard - request for guidance Post 302582842 by butterbaerchen on Sunday 18th of December 2011 07:29:02 PM
Old 12-18-2011
Quote:
Originally Posted by dude2cool
So where is this "user@domain" ? is it a local user on your machine where you are running fetchmail?

Post output from postfix -n, lets see how your configuration looks like?
Hi dude2cool,
yep, local user and one pop3 account on my ISP. that is what all this fuss is about.
Code:
bash-4.1$ sudo postconf -n
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Mailbox
html_directory = /usr/share/doc/postfix/html
mail_owner = _postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10485760
mydomain_fallback = localhost
myhostname = domain (I entered the machines hostname here ....)
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases
notify_classes = bounce, delay, policy, protocol, resource, software
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost = [mailserver]:587
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_pass (I think this file should be removed once it runs - eg cleartext) 
smtp_sasl_security_options = 
smtp_tls_CAfile = /etc/postfix/ndn.ca.crt     (should I rename this file to .pem ? downloaded from ISP)
smtp_tls_loglevel = 1
smtp_tls_security_level = encrypt
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
bash-4.1$

... the message about your reply to this thread was the first one to land in my Mailbox file in my home directory...

Code:
From www-data@www.unix.com  Mon Dec 19 09:52:30 2011
Return-Path: <www-data@www.unix.com>
X-Original-To: roadie@localhost
Delivered-To: roadie@localhost.org
Received: from roadiemac.bigpond (localhost [127.0.0.1]) - "different from the machine hostname I put in main.cf ..."
	by 'my website domain' (Postfix) with ESMTP id A57AB216778
	for <roadie@localhost>; Mon, 19 Dec 2011 09:52:30 +1000 (EST)
X-Original-To: my email address
Delivered-To: x11122464@mailserver ISP (different from the 'relay host mail server'
Received: from 'relay host mail server' [IP Address numeric]
	by roadiemac.bigpond with POP3 (fetchmail-6.3.11)
	for <roadie@localhost> (by default); Mon, 19 Dec 2011 09:52:30 +1000 (EST)

Thank you for taking a look - I will try your procmail line in fetchmailrc.
Another thing - masking all my ISP info makes it harder to help? Should I just paste it all in cleartext (except for the password)? What is the standard procedure this day and age?

I want this just for receiving and sending mail on this one machine, for one local user (me) - I do have years of mailinglist emails and archives (mbox files) and I would like to use gnus to read that and throw regexpressions at it.

... added your line to .fetchmailrc
created .procmailrc by stealing one from the internet and changing it.

Code:
# .procmailrc
# routes incoming mail to appropriate mailboxes
PATH=/usr/bin:/usr/local/bin
DEFAULT=/Users/roadie/Mailbox
SHELL=/bin/sh

stopped the postfix mail system - ran fetchmail and it works Smilie fetched a testmail and procmail appended it to my Mailbox File.
... what about sending mails?

Last edited by butterbaerchen; 12-18-2011 at 08:59 PM.. Reason: add text
 

4 More Discussions You Might Find Interesting

1. OS X (Apple)

MacPorts on Snow Leopard

Hello everyone. I was previously using MacPorts 1.8 on Mac OS 10.5.8 without any problems and everything was working well. I recently upgraded to Xcode 3.2 and Mac OS 10.6, since then my MacPorts installation has not been working at all. I deleted it and then reinstalled the .dmg from the... (1 Reply)
Discussion started by: HoldenCaulfield
1 Replies

2. OS X (Apple)

Alpine 2 on Snow Leopard

I've just installed Alpine on Snow Leopard but can't seem to get a default spell checker configured for it. What happened to spell? I can't find it at all on 10.6, must have been some changes. Does anyone know about the default unix spell checker on SL? Thanks! (0 Replies)
Discussion started by: platz
0 Replies

3. OS X (Apple)

Installing Oracle 10g on Snow Leopard using this tutorial

This tutorial. Which is a lovely tutorial, really, and was working up until this instruction: Now download db.zip installation archive and place it somewhere and unzip it: mkdir Install cd Install # download db.zip to this directory unzip db.zip cd db/Disk1 I didn't know how to... (1 Reply)
Discussion started by: khayraB
1 Replies

4. OS X (Apple)

Problem with mail attachment in Snow Leopard

Hi, We have few scripts that are run through jobs . It sends us daily reports (using mailx). This was working fine in Leopard. But in Snow Leopard there is problem with the attachments.Neither the attachment name is being displayed correctly(all it displays is "Mail Attachment") nor the format... (1 Reply)
Discussion started by: adash
1 Replies
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy