I attached fetchmail's log. Why receiver's address has been changed from ync@mydomain.com to right smtp server but with wrong name - root@ustar.mydomain.com? I supposed, destination address will not changed. On Thu, 03 Apr 2003 16:26:21 +0530 Vishal Khanna <vishal.khanna@aitpl.co.in> wrote:
Yes just ask fetchmail to relay it to another SMTP server..
Yuriy Chumak wrote:
Can I to forward(redirect) any incoming mail, that was received by fetchmail, into intranet mail server? I have the domain name and users can to receive mail as user@domain.com, but I have dial-up connection. What is destination server must be for the fetchmail - firewall-server for forwarding to intanet mail server or intranet mail server? ----
On Thu, 03 Apr 2003 15:35:38 +0300 "Yuriy Chumak" <ync@ua.fm> wrote:
I attached fetchmail's log. Why receiver's address has been changed from ync@mydomain.com to right smtp server but with wrong name - root@ustar.mydomain.com? I supposed, destination address will not changed.
ras:~ # fetchmail -v -v fetchmail: 5.9.0 querying ustar (protocol POP3) at Thu Apr 3 14:15:53 2003 fetchmail: POP3< +OK Lotus Notes POP3 server version X2.0 ready on ustar/tbank. fetchmail: POP3> USER ync fetchmail: POP3< +OK ync, your papers please. fetchmail: POP3> PASS * fetchmail: POP3< +OK ync has 1 message (901 octets). fetchmail: selecting or re-polling default folder fetchmail: POP3> STAT fetchmail: POP3< +OK 1 901 1 message for ync at ustar (901 octets). fetchmail: POP3> LIST fetchmail: POP3< +OK 1 message (901 octets). fetchmail: POP3< 1 901 fetchmail: POP3< . fetchmail: POP3> RETR 1 fetchmail: POP3< +OK 901 octets reading message 1 of 1 (901 octets) About to rewrite From: Yuriy Chumak <ync@ua.fm> Rewritten version is From: Yuriy Chumak <ync@ua.fm> About to rewrite To: ync@mydomain.com Rewritten version is To: ync@mydomain.com fetchmail: SMTP< 220 ustar.mydomain.com ESMTP Service (Lotus Domino Release 5.0.5) ready at Thu, 3 Apr 2003 15:16:00 +0300 fetchmail: SMTP> EHLO localhost fetchmail: SMTP< 250-ustar.mydomain.com Hello localhost ([192.168.1.5]), pleased to meet you fetchmail: SMTP< 250-HELP fetchmail: SMTP< 250-SIZE fetchmail: SMTP< 250 PIPELINING fetchmail: forwarding to ustar.mydomain.com fetchmail: SMTP> MAIL FROM:<ync@ua.fm> SIZE=901 fetchmail: SMTP< 250 ync@ua.fm... Sender OK fetchmail: SMTP> RCPT TO:<root@ustar.mydomain.com> fetchmail: SMTP< 250 root@ustar.mydomain.com... Recipient OK fetchmail: SMTP> DATA fetchmail: SMTP< 354 Enter message, end with "." on a line by itself #**fetchmail: SMTP>. (EOM) fetchmail: SMTP< 250 Message accepted for delivery not flushed fetchmail: POP3> QUIT fetchmail: POP3< +OK Lotus Notes POP3 server signing off. fetchmail: not swapping UID lists, no UIDs seen this query fetchmail: SMTP> QUIT fetchmail: SMTP< 221 ustar.mydomain.com SMTP Service closing transmission channel fetchmail: Writing fetchids file. fetchmail: normal termination, status 0 fetchmail: Writing fetchids file. ras:~ # postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = yes mail_name = Postfix on SuSE Linux 7.3 (i386) mail_owner = postfix mail_spool_directory = /var/mail masquerade_domains = masquerade_exceptions = root mydestination = $myhostname, localhost.$mydomain myhostname = ras.mydomain.com mynetworks = 192.168.1.0/24, 127.0.0.0/8 myorigin = $myhostname queue_directory = /var/spool/postfix relayhost = [ustar.mydomain.com] relocated_maps = hash:/etc/postfix/relocated smtpd_sender_restrictions = hash:/etc/postfix/access transport_maps = hash:/etc/postfix/transport virtual_maps = hash:/etc/postfix/virtual /etc/postfix/transport mydomain.com smtp:ustar.mydomain.com .mydomain.com smtp:ustar.mydomain.com ras:~ # cat .fetchmailrc ##set postmaster root ##set no bouncemail ## same server's name is just for testing inside intranet poll ustar protocol pop3 no dns user ync there with password rJyatnrf smtphost ustar.mydomain.com fetchall keep; ---- http://photo.alkar.net
participants (1)
-
Yuriy Chumak