1 |
I guess I'll dip my toes in here and admit that I can't figure this out. |
2 |
|
3 |
Synopsis: I've setup Postfix to be a mail out only smtp server. I just want |
4 |
it for our Joomla based web pages and our helpdesk to be able to mail to |
5 |
users from the local server. The problem is this: I can mail to any domain |
6 |
(gmail, hotmail, yahoo, etc) without problem, but I can't receive mail * |
7 |
directly* through our A-plus based mail (the worst!). What happens is that |
8 |
A-plus' server rejects the user as unkown even though I know it is correct. |
9 |
What really gets my goat is that after that message is returned to my server |
10 |
it is then delivered to the A-plus server and thusly shows up in my webmail |
11 |
and email client. Below are my configs. |
12 |
|
13 |
Postfix: |
14 |
|
15 |
#soft_bounce = no |
16 |
queue_directory = /var/spool/postfix |
17 |
command_directory = /usr/sbin |
18 |
daemon_directory = /usr/lib64/postfix |
19 |
mail_owner = postfix |
20 |
#default_privs = nobody |
21 |
myhostname = abulafia.ipr.edu |
22 |
#myhostname = virtual.domain.tld |
23 |
mydomain = ipr.edu |
24 |
myorigin = $myhostname |
25 |
#myorigin = $mydomain |
26 |
inet_interfaces = all |
27 |
#proxy_interfaces = |
28 |
#proxy_interfaces = 1.2.3.4 |
29 |
mydestination = $myhostname, localhost.$mydomain, localhost |
30 |
#local_recipient_maps = unix:passwd.byname $alias_maps |
31 |
#local_recipient_maps = proxy:unix:passwd.byname $alias_maps |
32 |
#local_recipient_maps = |
33 |
unknown_local_recipient_reject_code = 450 |
34 |
mynetworks_style = host |
35 |
mynetworks = 168.100.189.0/28, 127.0.0.0/8 |
36 |
#relay_domains = $mydestination |
37 |
#relayhost = mail.ipr.edu |
38 |
#relayhost = smtp.comcast.net |
39 |
#relay_recipient_maps = hash:/etc/postfix/relay_recipients |
40 |
#in_flow_delay = 1s |
41 |
#alias_maps = dbm:/etc/aliases |
42 |
#alias_maps = hash:/etc/aliases |
43 |
#alias_maps = hash:/etc/aliases, nis:mail.aliases |
44 |
#alias_maps = netinfo:/aliases |
45 |
#alias_database = dbm:/etc/aliases |
46 |
#alias_database = dbm:/etc/mail/aliases |
47 |
#alias_database = hash:/etc/aliases |
48 |
#alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases |
49 |
#home_mailbox = Mailbox |
50 |
#home_mailbox = Maildir/ |
51 |
#mail_spool_directory = /var/mail |
52 |
#mail_spool_directory = /var/spool/mail |
53 |
#mailbox_command = /some/where/procmail |
54 |
#mailbox_command = /some/where/procmail -a "$EXTENSION" |
55 |
#mailbox_transport = lmtp:unix:/file/name |
56 |
#mailbox_transport = cyrus |
57 |
#fallback_transport = lmtp:unix:/file/name |
58 |
#fallback_transport = cyrus |
59 |
#fallback_transport = |
60 |
#luser_relay = $user@×××××.host |
61 |
#luser_relay = $local@×××××.host |
62 |
#luser_relay = admin+$local |
63 |
#header_checks = regexp:/etc/postfix/header_checks |
64 |
#fast_flush_domains = $relay_domains |
65 |
#smtpd_banner = $myhostname ESMTP $mail_name |
66 |
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) |
67 |
#local_destination_concurrency_limit = 2 |
68 |
#default_destination_concurrency_limit = 20 |
69 |
debug_peer_level = 2 |
70 |
#debug_peer_list = 127.0.0.1 |
71 |
#debug_peer_list = some.domain |
72 |
debugger_command = |
73 |
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin |
74 |
xxgdb $daemon_directory/$process_name $process_id & sleep 5 |
75 |
|
76 |
sendmail_path = /usr/sbin/sendmail |
77 |
newaliases_path = /usr/bin/newaliases |
78 |
mailq_path = /usr/bin/mailq |
79 |
setgid_group = postdrop |
80 |
html_directory = /usr/share/doc/postfix-2.4.5/html |
81 |
manpage_directory = /usr/share/man |
82 |
sample_directory = /etc/postfix |
83 |
readme_directory = /usr/share/doc/postfix-2.4.5/readme |
84 |
home_mailbox = .maildir/ |