LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-30-2009, 10:12 AM   #1
VeeDubbs
Member
 
Registered: Feb 2006
Location: Wisconsin
Distribution: SuSe 10. Ubuntu
Posts: 47

Rep: Reputation: 15
Postfix Help...


Hi All -

I'm working on setting up a server that is going to be used for mailing lists. I am using Mailman 2.1.12 and postfix 2.2.9. I originally had a thread for Mailman help, but I think I'm past that and now need help with postfix.

A little bit about our setup. We have recently moved to Google Apps for Education (GAE) for our e-mail and it is out in the cloud. I am setting up Mailman in house as a VM running SuSe 10 SP1. We still send e-mail to user@school.edu and I am setting up Mailman to use listname@lists.school.edu for the lists.

AFAIK, Mailman is up and running properly. I can successfully send messages to the premade account -- mailman@lists.school.edu -- and can read those messages in /var/spool/mail/root.

I can also send messages to listname@lists.school.edu, but I think this is where it gets stuck. When I look at the Postfix queue this is what I see:

Code:
mailman:/usr/local/mailman/mail # postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
1C03912C47     1234 Fri May  1 01:27:16  listname-bounces@lists.school.edu
            (connect to aspmx.l.google.com[209.85.221.67]: Connection refused)
                                         hotmailuser@hotmail.com

2978C12C4B     4404 Fri May  1 01:27:17  mailman-bounces@lists.school.edu
            (connect to aspmx.l.google.com[209.85.221.67]: Connection refused)
                                         user@school.edu

-- 6 Kbytes in 2 Requests.
So, is this a Postfix configuration error I'm stuck at?

Also, here is the results from postconf -n:

Code:
mailman:/usr/local/mailman/mail # postconf -n
alias_maps = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, lists.school.edu
mydomain = school.edu
myhostname = lists.school.edu
mynetworks_style = subnet
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relayhost = aspmx.l.google.com
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = no
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
Thanks for any help anyone can give me!!
 
Old 04-30-2009, 11:15 AM   #2
archangel_617b
Member
 
Registered: Sep 2003
Location: GMT -08:00
Distribution: Ubuntu, RHEL/CentOS, Fedora
Posts: 234

Rep: Reputation: 42
Quote:
Originally Posted by VeeDubbs View Post
Hi All -

I'm working on setting up a server that is going to be used for mailing lists. I am using Mailman 2.1.12 and postfix 2.2.9. I originally had a thread for Mailman help, but I think I'm past that and now need help with postfix.

A little bit about our setup. We have recently moved to Google Apps for Education (GAE) for our e-mail and it is out in the cloud. I am setting up Mailman in house as a VM running SuSe 10 SP1. We still send e-mail to user@school.edu and I am setting up Mailman to use listname@lists.school.edu for the lists.

AFAIK, Mailman is up and running properly. I can successfully send messages to the premade account -- mailman@lists.school.edu -- and can read those messages in /var/spool/mail/root.

I can also send messages to listname@lists.school.edu, but I think this is where it gets stuck. When I look at the Postfix queue this is what I see:

Code:
mailman:/usr/local/mailman/mail # postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
1C03912C47     1234 Fri May  1 01:27:16  listname-bounces@lists.school.edu
            (connect to aspmx.l.google.com[209.85.221.67]: Connection refused)
                                         hotmailuser@hotmail.com

2978C12C4B     4404 Fri May  1 01:27:17  mailman-bounces@lists.school.edu
            (connect to aspmx.l.google.com[209.85.221.67]: Connection refused)
                                         user@school.edu

-- 6 Kbytes in 2 Requests.
So, is this a Postfix configuration error I'm stuck at?

Also, here is the results from postconf -n:

Code:
mailman:/usr/local/mailman/mail # postconf -n
... snip ...
relayhost = aspmx.l.google.com
... snip ...
Thanks for any help anyone can give me!!
You are relaying through Google, but not authenticating. Try a guide like this one:

http://bookmarks.honewatson.com/2008...il-smtp-relay/

You basically just need to use authentication and I'm not sure where you got "aspmx.l.google.com" as the relay host, but unless the GAE has something specific for you to use, I imagine you should just be using [smtp.gmail.com].

- Arch
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 6 09-23-2019 10:09 PM
how to make postfix send email to another postfix in local network (LAN)? h4k33m Linux - Server 9 06-04-2015 04:33 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 Chiragrs Linux - Networking 7 05-16-2008 12:42 AM
Postfix Configuration Question: Postfix server as a catch-all on office LAN enso491 Linux - Server 5 04-14-2008 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration