| | | 
Progenic Family

Group: Forum Members Last Login: Today @ 10:19 AM Posts: 344, Visits: 2,230 |
| | To any postfix gurus, Im trying to set up postfix to send mail to any domain, but can find crap on how to do it. heres my main.cf file smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no# appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = server01.eau.wi.charter.com alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = 75-128-198-67.eau.wi.charter.com, server01.eau.wi.charter.com, localhost.eau.wi.charter.com, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all Any ideas? I been banging the keys over this for a few hours now and thought maybe someone here would have a clue, cuz i dont.
< ?
$a = 'RTFM';
$b = 'STFU';
echo $a.' & '.$b;
?> |
| | | | 
Progenic Family

Group: Old Skool Last Login: Friday, October 10, 2008 4:46 PM Posts: 346, Visits: 2,521 |
| | postfix should be able to send mail to any domain right out of the box with no additional config. The only time I had trouble before it took me ages to figure out the problem was that the ISP they used at that site blocked all traffic over port 25 that wasn't going though their mail server. It might be worth double checking that this isn't the case. |
| | | | 
Progenic Family

Group: Forum Members Last Login: Today @ 10:19 AM Posts: 344, Visits: 2,230 |
| Climbatize (5/31/2008) postfix should be able to send mail to any domain right out of the box with no additional config. The only time I had trouble before it took me ages to figure out the problem was that the ISP they used at that site blocked all traffic over port 25 that wasn't going though their mail server. It might be worth double checking that this isn't the case.
Thanx for the reply but when i do the rcpt to: command i get a relay access denied message well before i try to send the email. which tells me its a config issue. im running ubuntu 6.06 LAMP and apt-get postfix
< ?
$a = 'RTFM';
$b = 'STFU';
echo $a.' & '.$b;
?> |
| | | | 
Progenic Family

Group: Old Skool Last Login: Friday, October 10, 2008 4:46 PM Posts: 346, Visits: 2,521 |
| Ah, right.
Postfix should by default authorize relay access for all subnetworks that the postfix server is attached to.
However, your mynetworks configuration doesn't seem to include these networks so it seems to have been modified.
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
You will need to include the networks that you want to authorise to your mynetworks configuration to authorise them for relay access. |
| | | | 
Progenic Family

Group: Forum Members Last Login: Today @ 10:19 AM Posts: 344, Visits: 2,230 |
| Climbatize (6/1/2008)
Ah, right. Postfix should by default authorize relay access for all subnetworks that the postfix server is attached to. However, your mynetworks configuration doesn't seem to include these networks so it seems to have been modified. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 You will need to include the networks that you want to authorise to your mynetworks configuration to authorise them for relay access. yeah i was hoping to find a way around that, so i dont have to put millions of domains in the config file. *.* didnt work . . . .maybe *.*.*.* will???
< ?
$a = 'RTFM';
$b = 'STFU';
echo $a.' & '.$b;
?> |
| | | | 
Progenic Family

Group: Old Skool Last Login: Friday, October 10, 2008 4:46 PM Posts: 346, Visits: 2,521 |
| Read http://www.postfix.org/basic.html#mynetworks
Basically the way around it is to remove the mynetworks configuration completely and use
mynetworks_style = subnet
or alternatively use the class rule to specify which ip address class you want to allow. |
| | | | 
Progenic Family

Group: Forum Members Last Login: Today @ 10:19 AM Posts: 344, Visits: 2,230 |
|
ill give removing mynetworks from main.cf a go, tyvm
< ?
$a = 'RTFM';
$b = 'STFU';
echo $a.' & '.$b;
?> |
| |
|
|