|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I'm actually having a problem with postfix and mailman. When I'm sending mail over my server to an address, this works. But if I'm sending a mail to a mailing list configured with mailman, I get "Relay access denied" for the same target address. This is the error message: May 18 21:24:22 macmini postfix/smtpd[5187]: > xxx[a.b.c.d]: 554 <x...@y.z>: Relay access denied Here is my postfix configuration: alias_maps = hash:/etc/aliases , hash:/usr/local/mailman/data/aliases append_dot_mydomain = no biff = no command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix debug_peer_level = 20 debug_peer_list = all default_rbl_reply = $rbl_code RBLTRAP: You can't send us a E-mail today!!! disable_vrfy_command = yes html_directory = no inet_interfaces = all local_transport = local mail_owner = postfix mailbox_command = /usr/bin/procmail -a "$EXTENSION" mailbox_size_limit = 0 mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, macmini.local mydomain_fallback = localhost myhostname = example.tld mynetworks = 127.0.0.1 mynetworks_style = class myorigin = $myhostname newaliases_path = /usr/bin/newaliases owner_request_special = no queue_directory = /private/var/spool/postfix readme_directory = /usr/share/doc/postfix recipient_delimiter = + relayhost = sample_directory = /usr/share/doc/postfix/examples sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtpd_delay_reject = yes smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination smtpd_tls_key_file = unknown_local_recipient_reject_code = 550 Can anyone give me a clue what I'm doing wrong? If you need more information, please let me know. Thanks in advance, Thomas |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
samoht wrote:
> Hi, > I'm actually having a problem with postfix and mailman. > When I'm sending mail over my server to an address, this works. > But if I'm sending a mail to a mailing list configured with mailman, I > get "Relay access denied" for the same target address. > > This is the error message: > > May 18 21:24:22 macmini postfix/smtpd[5187]: > xxx[a.b.c.d]: 554 > <x...@y.z>: Relay access denied > > Here is my postfix configuration: > > alias_maps = hash:/etc/aliases , hash:/usr/local/mailman/data/aliases > append_dot_mydomain = no > biff = no > command_directory = /usr/sbin > config_directory = /etc/postfix > daemon_directory = /usr/libexec/postfix > debug_peer_level = 20 > debug_peer_list = all > default_rbl_reply = $rbl_code RBLTRAP: You can't send us a E-mail > today!!! > disable_vrfy_command = yes > html_directory = no > inet_interfaces = all > local_transport = local > mail_owner = postfix > mailbox_command = /usr/bin/procmail -a "$EXTENSION" > mailbox_size_limit = 0 > mailq_path = /usr/bin/mailq > manpage_directory = /usr/share/man > mydestination = $myhostname, localhost.$mydomain, localhost, > macmini.local > mydomain_fallback = localhost > myhostname = example.tld > mynetworks = 127.0.0.1 > mynetworks_style = class > myorigin = $myhostname > newaliases_path = /usr/bin/newaliases > owner_request_special = no > queue_directory = /private/var/spool/postfix > readme_directory = /usr/share/doc/postfix > recipient_delimiter = + > relayhost = > sample_directory = /usr/share/doc/postfix/examples > sendmail_path = /usr/sbin/sendmail > setgid_group = postdrop > smtpd_delay_reject = yes > smtpd_helo_required = yes > smtpd_recipient_restrictions = permit_mynetworks, > reject_unauth_destination > smtpd_tls_key_file = > unknown_local_recipient_reject_code = 550 > > Can anyone give me a clue what I'm doing wrong? > > If you need more information, please let me know. > > Thanks in advance, > Thomas Hello Thomas, Here's what I think is happening: When you originate email on your system, it goes out via /usr/sbin/sendmail, which is the local email interface into Postfix. Spam checking isn't performed like it is for inbound SMTP email. Your Mailman is probably configured to send outbound email via SMTP into Postfix. Spam checking is done on this email under SMTP; thus the relay block. Here's how I think it needs to be fixed: In /usr/lib/mailman/Mailman/Defaults.py, take a look at: DELIVERY_MODULE = (I think you want it set to 'Sendmail' and not 'SMTPDirect') MTA = 'Postfix' SENDMAIL_CMD = '/usr/sbin/sendmail' -- Greg |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> Here's how I think it needs to be fixed: > > In /usr/lib/mailman/Mailman/Defaults.py, take a look at: > > > DELIVERY_MODULE = (I think you want it set to 'Sendmail' and not > 'SMTPDirect') > MTA = 'Postfix' > SENDMAIL_CMD = '/usr/sbin/sendmail' > > -- > Greg P.S. If you choose to use the above /usr/sbin/sendmail rather than smtpd, you also need to comment out this line in Handlers/Sendmail.py: # assert 0, 'Use of the Sendmail.py delivery module is highly discouraged' -- Greg |
|
![]() |
| Outils de la discussion | |
|
|