LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix Help... (https://www.linuxquestions.org/questions/linux-server-73/postfix-help-722728/)

VeeDubbs 04-30-2009 10:12 AM

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!!

archangel_617b 04-30-2009 11:15 AM

Quote:

Originally Posted by VeeDubbs (Post 3525894)
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


All times are GMT -5. The time now is 03:42 PM.