Rupert Reid wrote:
Hello All,
I have two questions as follows:

1.    I have set up the postfix server as follows:
    postconf -n
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/libexec/postfix
    debug_peer_level = 2
    inet_interfaces = all
    mail_owner = postfix
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain, mail.isinglive.co.uk, localhost.isinglive, isinglive, www.isinglive, ftp.isinglive
    mydomain_fallback = localhost
    myhostname = mail.cantoenvivo.es
    mynetworks_style = host
    myorigin = $mydomain
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    unknown_local_recipient_reject_code = 550

No problem with incoming or outgoing email so far for cantoenvivo. However, I can send email from isinglive.co.uk but cannot receive incoming email.

mail.log shows:-
Aug 19 11:29:43 rosario postfix/qmgr[19865]: 0922425A665: from=<[EMAIL PROTECTED]>, size=588, nrcpt=1 (queue active) Aug 19 11:29:43 rosario postfix/smtp[20824]: 0922425A665: to=<[EMAIL PROTECTED]>, relay=none, delay=170615, status=deferred (connect to isinglive.co.uk[80.189.101.120]: Connection refused) Port 25 is open and is working for cantoenvivo.

Question 1?
Does mail.log mean that my isp is not allowing isinglive traffic through my static ip?

the log says your postfix cannot connect to 80.189.101.120 port 25. it doesn't say why. it may be your ISP. it may be a firewall. it may be a blacklisting, ... etc.

If so, where can I get a static ip independent of my isp?

what do you mean by "get"? you can "get" whatever IP you want among the 2^32 possible values. it just takes something like
# ifconfig ex0 192.0.2.3

Unfortunately, you can only use IPs that are routed back to you, and for that you (probably) need a network provider (or you can hijack an unused network, or you can attack routers, ...). so if your ISP blocks your traffic, you'll need to find another ISP or route your smtp traffic through a relay (that of your ISP or an external one).



Question 2?
I added some aliases to .../posttix/alias file for isinglive, some of which are the same for cantoenvivo e.g. "admin: cantoenvivo" and "admin: isinglive". When it acme to updating aliases.db with the post "aliases" command. I recieved the following error warning:

    postalias: warning: /etc/postfix/aliases.db: duplicate entry: "admin"

Can I not use the same alias mapped to different domains?

all domains in mydestination are equivalent. if you want different domains, then use virtual_alias_maps.

Is a valid alis for one domain also valid for the other(s)? How can i configure the same alias for separate domains.

Thank you in advance for your help  - I hope I have been clear.

Best regards
Rupert



Reply via email to