Re: postfix: can't configure $myhost, $mydomain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Anne

Thanks for the suggestion, but it doesn't appear to have any effect
after restarting postfix:

Jan  8 14:27:57 localhost postfix/smtp[303]: 034CCD3386:
to=<cb@xxxxxx>, relay=smtp.wanadoo.nl[193.252.22.234]:25, delay=1.5,
delays=0.57/0/0.78/0.15, dsn=4.0.0, status=SOFTBOUNCE (host
smtp.wanadoo.nl[193.252.22.234] said: 553
<colin@xxxxxxxxxxxxxxxxxxxxx>: Sender address rejected: Domain not
found (in reply to RCPT TO command))

@Michael

2 questions:

Are these questions for me? If so:

- How is the mail injected into the system? Via mail/sendmail (command
line) or directly via SMTP (good ol' 25/tcp)

Up until the switch, mail from Thunderbird/kmal was sent via local
postfix. Now I have tried sending mail directly to the ISP's SMTP
server or via postfix locally using the latter's "relayhost"
parameter. Both seem to work ok.

However, I also have a bunch of scripts that send system mail which
are now broken, and this is my main focus.

- What does postconf -n say?

$ postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = |ariel.lim.nl
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = lim.nl
myhostname = ariel.lim.nl
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relayhost = smtp.wanadoo.nl
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
soft_bounce = yes
unknown_local_recipient_reject_code = 550

What about the append_dot_mydomain / append_at_myorigin values?
(The latter are especially useful if you're
injecting "unqualified" usernames (ie "colin" or "root") in via CLI
mail/sendmail.

This sounds promising, but according to mail.cf.default, these are
both already set in postfix to "yes" by default. Adding them to
main.cf doesn't appear to have any effect.

--
 Colin Brace
 Amsterdam


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux